-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Here's the error message:
arm-none-eabi-ld -o buck50.elf -static -M --print-memory-usage \
buck50.o usb_dev.o usb_dev_cdc_acm.o buck50_asm.o stm32f103_flash_init.o \
-T src/low_stack_flash.ld \
> buck50.elf.map
arm-none-eabi-ld: stm32f103_flash_init.o: in function `init':
/home/dima/repos/buck50/build/init/stm32f103_flash_init.c:55: undefined reference to `memcpy'
arm-none-eabi-ld: /home/dima/repos/buck50/build/init/stm32f103_flash_init.c:61: undefined reference to `memset'
arm-none-eabi-ld: buck50.o: in function `live()':
/home/dima/repos/buck50/build/src/buck50.cxx:3216: undefined reference to `memset'
arm-none-eabi-ld: /home/dima/repos/buck50/build/src/buck50.cxx:3203: undefined reference to `memset'
arm-none-eabi-ld: /home/dima/repos/buck50/build/src/buck50.cxx:3190: undefined reference to `memset'
make: *** [Makefile:49: buck50.elf] Error 1
When I added "-fno-builtin" to CC_ARM_FLAGS it worked fine.
Metadata
Metadata
Assignees
Labels
No labels