7 years, 2 months ago.

blinky to EmBits for DISC1, multiple definitions of wait

I have exported DISCO-F429ZI_LCD_demo. Linker fails:

Linking executable: .\build\DISCO-F429ZI_LCD_demo.elf mbed\TARGET_DISCO_F429ZI\TOOLCHAIN_GCC_ARM\libmbed.a(mbed_wait_api_no_rtos.o): In function `wait': mbed_wait_api_no_rtos.c:(.text.wait+0x0): multiple definition of `wait' d:/program files/embitz_1_11/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7e-m/softfp\libc.a(lib_a-syswait.o):syswait.c:(.text.wait+0x0): first defined here

How to resolve this?

Be the first to answer this question.