Hi, ich hab dieses Projekt gestartet, ArduinoCore compiliert problemlos: https://github.com/ricovangenugten/Arduino-Blink-Eclipse-Project Aber wenn ich Blink compilieren will, funktioniert das nicht:
1 | Building target: Blink.elf |
2 | Invoking: AVR C++ Linker |
3 | 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 |
4 | 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:
1 | 00:59:40 **** Incremental Build of configuration Release for project Blink **** |
2 | make all |
3 | Building file: ../main.cpp |
4 | Invoking: AVR C++ Compiler |
5 | 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" |
6 | Finished building: ../main.cpp |
7 | |
8 | Building target: Blink.elf |
9 | Invoking: AVR C++ Linker |
10 | 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 |
11 | make: *** [Blink.elf] Error 1 |
12 | |
13 | 00:59:47 Build Finished (took 7s.266ms) |