recipe for target failed

12 views
Skip to first unread message

ulao

unread,
Jun 5, 2024, 6:56:45 PMJun 5
to LUFA Library Support List
I move to atmel 7 and I get this error. 

S:\blissbox\SOURCE_FILES\bridge\bridge\shared\LUFA\Build\lufa_build.mk(281,1): error: recipe for target 'GPA.eep' failed

it points here

%.eep: %.elf
@echo $(MSG_OBJCPY_CMD) Extracting EEP file data from \"%.eep: %.elf
@echo $(MSG_OBJCPY_CMD) Extracting EEP file data from \"$<\"
$(CROSS)-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex $< $@ || exit 0
lt;\"
$(CROSS)-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex %.eep: %.elf
@echo $(MSG_OBJCPY_CMD) Extracting EEP file data from \"$<\"
$(CROSS)-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex $< $@ || exit 0
lt; $@ || exit 0

anyone have a clue, I'm stumpted. 

ulao

unread,
Jun 7, 2024, 2:17:13 PMJun 7
to LUFA Library Support List
if I use the latest LUFA I do not get tis but instead get 

error writing to -: Invalid argument main S:\blissbox\SOURCE_FILES\bridge\bridge\lufa_exmaple_Joystick\main\main\main.c 191

ulao

unread,
Jun 7, 2024, 2:59:45 PMJun 7
to LUFA Library Support List
Solution was to use  msys2

https://www.msys2.org

I used the msys2/usr/bin folder for my path.

Reply all
Reply to author
Forward
0 new messages