VS Arduino
Visual Micro >> Other Hardware >> Pololu A-Star 32U4 Micro
https://www.visualmicro.com/forums/YaBB.pl?num=1430593355

Message started by Esteve on May 2nd, 2015 at 7:02pm

Title: Pololu A-Star 32U4 Micro
Post by Esteve on May 2nd, 2015 at 7:02pm
Hi
I've been using the Pololu A-Star 32U4 micro using Arduino Version 1.0.6 ant it works fine with the Arduino IDE and also with Visual Micro, then I changed to Arduini Version 1.6.3 and it also works using the Arduino IDE, but don't work using Visual Studio and VisualMicro, it does not compile.
You can find information of Pololu micro at
https://www.pololu.com/product/3101/resources
Esteve

Title: Re: Pololu A-Star 32U4 Micro
Post by Visual Micro on May 2nd, 2015 at 7:23pm
Hi,

Thanks for the report.

Please confirm the version of visual micro you are using from "tools>options>visual micro>version>version"?

Post the compiler output so i can see the error.


Title: Re: Pololu A-Star 32U4 Micro
Post by Esteve on May 3rd, 2015 at 4:51pm
Hello
The version is 1.1505.01
In my scketch uses Servo library and also EEPROM and Wire

The compiler error is
Compiling 'Test' for 'Pololu A-Star 32U4'
Servo.h:67:2: error: #error "This library only supports boards with an AVR or SAM processor."
Test.ino:7:20: fatal error: EEPROM.h: No such file or directory
Error compiling

It seems that dos not find the include files in the right location

Regards
Esteve

Title: Re: Pololu A-Star 32U4 Micro
Post by Visual Micro on May 3rd, 2015 at 5:06pm
Okay thanks I will look into it. The new arduino library system has a filter based on architecture. It think the pololu is not an avr board. The architecture is supposed to be established from the name of the folder that contains the definition so somethings gone wrong resolving 1.6.3 with 3rd party hardware.

Title: Re: Pololu A-Star 32U4 Micro
Post by Visual Micro on May 3rd, 2015 at 9:48pm
Please try 1505.03 Sp1 which is available from the downloads page

Thanks

Title: Re: Pololu A-Star 32U4 Micro
Post by Esteve on May 4th, 2015 at 8:00am
Now the error is

Test.cpp.o:In function `setup'
Test.ino:attach(int)'
Test.cpp.o:In function `loop'
Test.ino:write(int)'
Test.cpp.o:In function `__static_initialization_and_destruction_0'
Test.ino:Servo()'
collect2.exe*:error: ld returned 1 exit status
Error creating .elf

Thanks

Title: Re: Pololu A-Star 32U4 Micro
Post by Visual Micro on May 4th, 2015 at 8:08am
Please give screen shot of your ide with sketch open.

maybe my Pololu toolchain is older than yours I will see if I am only the latest, there have been some big changes with the arduino structure. It compiles fine for me.

Also say where you installed the pololu core? ide/hardware or sketchbook/hardware

Thanks

Title: Re: Pololu A-Star 32U4 Micro
Post by Esteve on May 5th, 2015 at 7:56am
The pololu core is installed in ide/hardware
This is the screen capture
C:\Users\esteve\Pictures\Screenshots\captured.png

Title: Re: Pololu A-Star 32U4 Micro
Post by Visual Micro on May 5th, 2015 at 11:42am
Ok I'll try with ide/hardware

seems to work fine in sketchbook/hardware?

Title: Re: Pololu A-Star 32U4 Micro
Post by Esteve on May 6th, 2015 at 10:20am
Problem solved
Updating everything to last version
Thanks

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.