Migration of code : libc problem.
I found this bug...
It seems the flag fpv4-sp-d16 was defined... and must not be defined in my project.
I am now on a new problem...
the generated file : “objects.list” contains some absolute path (windows form... M:/.........)
the compilation seems to be ok, but the code fall into WWDOG IRQ (without any reason)... some functions appears to be missed?
Manually : (in CMD.exe)
This works :
arm-none-eabi-gcc -T”“../QS/stm32f4xx_flash.ld”” -nostartfiles -L”../stm32f4xx” -Wl,-Map,Strategie.map -mcpu=cortex-m4 -mthumb -g3 -gdwarf-2 -o “my.elf” ./my_object1.o ./my_object2.o and all the objects ...
This does not work :
arm-none-eabi-gcc -g3 -gdwarf-2 -mcpu=cortex-m4 -mthumb -nostartfiles -L”../stm32f4xx” -T”../QS/stm32f4xx_flash.ld” -Wl,-Map=output.map -lm -o “my.elf” @”objects.list” -lstm32f4xx
objects.list contain the same list, but some objects are in this format :
“M:/R.../Debug/queue.o”
“M:/R.../Debug/state_machine_helper.o”
“M:/R.../Debug/zone_mutex.o”
My previous version of eclipse do not use this objects.list to build this linker command...