Arduino: AVR-Eclipse

Hoeze

Lieutenant
Registriert
Juni 2010
Beiträge
696
Hi,
ich hab dieses Projekt hier gestartet, ArduinoCore compiliert problemlos.
Aber wenn ich Blink compilieren will, funktioniert das nicht:
Building target: Blink.elf
Invoking: AVR C++ Linker
avr-g++ -s -Os -Wl,--gc-sections -o"Blink.elf" ./main.o -lArduinoCore -lm -Wl,-Map,Blink.map,--cref -mrelax -Wl,--gc-sections -L../../ArduinoCore/Release/ -mmcu=atmega328p
make: *** [Blink.elf] Error 1
Vor dem make bleibt er stehen und ich bekomme die Meldung "ld.exe funktioniert nicht mehr".
Das lässt sich jedes Mal reproduzieren, wenn ich den Ordner "Release" lösche...





Gesamte Ausgabe:
00:59:40 **** Incremental Build of configuration Release for project Blink ****
make all
Building file: ../main.cpp
Invoking: AVR C++ Compiler
avr-g++ -I"D:\Dokumente\Cloud\Projekte\Arduino\workspace\Arduino-Blink-Eclipse-Project\ArduinoCore" -w -Os -ffunction-sections -fdata-sections -ffunction-sections -fdata-sections -fno-exceptions -DARDUINO=22 -g -mmcu=atmega328p -DF_CPU=16000000UL -MMD -MP -MF"main.d" -MT"main.d" -c -o "main.o" "../main.cpp"
Finished building: ../main.cpp

Building target: Blink.elf
Invoking: AVR C++ Linker
avr-g++ -s -Os -Wl,--gc-sections -o"Blink.elf" ./main.o -lArduinoCore -lm -Wl,-Map,Blink.map,--cref -mrelax -Wl,--gc-sections -L../../ArduinoCore/Release/ -mmcu=atmega328p
make: *** [Blink.elf] Error 1

00:59:47 Build Finished (took 7s.266ms)
 
Zurück
Oben