Compile with CMSIS
Hi,
I am trying to use CMSIS.
I have included the libary.
But I get the following error:
‘Invoking: MCU GCC Linker’
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L”C:\Users\marku\Documents\Develop\stm32f3-sw\CMSIS-SP-00300-r4p5-00rel0\CMSIS\Lib\GCC” -specs=nosys.specs -specs=nano.specs -T”../STM32F302RBTx_FLASH.ld” -Wl,-Map=output.map -Wl,--gc-sections -lm -o “test.elf” @”objects.list” -larm_cortexM4lf_math
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\libm.a(lib_a-wf_sqrt.o): In function `sqrtf’:
wf_sqrt.c:(.text.sqrtf+0x96): undefined reference to `__errno’
wf_sqrt.c:(.text.sqrtf+0xa0): undefined reference to `__errno’
collect2.exe: error: ld returned 1 exit status
make: *** test.elf Error 1
can somebody give me a hint how to hande this?
GCC-Linker: -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L”C:\Users\marku\Documents\Develop\stm32f3-sw\CMSIS-SP-00300-r4p5-00rel0\CMSIS\Lib\GCC” -specs=nosys.specs -specs=nano.specs -T”../STM32F302RBTx_FLASH.ld” -Wl,-Map=output.map -Wl,--gc-sections -lm