[SOLVED] _exit again - Nucleo401 + example IHM01A1
Hi everybody,
I have board - NucleoF401RE, and expansion board IHM01A1 (motor controller)
I tried load and debug some example program from ST.COM. But when try compile it, I receive error:
‘Building target: STM32F401RE-Nucleo.elf’
‘Invoking: MCU GCC Linker’
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wl,-Map=output.map -Wl,--gc-sections -lm -o “STM32F401RE-Nucleo.elf” @”objects.list”
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/lib/armv7e-m/fpu\libc.a(lib_a-exit.o): In function `exit’:
exit.c:(.text.exit+0x16): undefined reference to `_exit’
collect2.exe: error: ld returned 1 exit status
make: *** STM32F401RE-Nucleo.elf Error 1
Google and other friends find some suggestion but without effect.
Any idea?
Thanks...