4DIAC Forte Build with FreeRtos [message #1847886] |
Thu, 11 November 2021 05:39  |
Eclipse User |
|
|
|
We are building 4DIAC Forte as a static lib for FreeRtos, and plan to run it in STM32
However, when we modify FreeRtos makefile to load libforte-static.a, many errors come out, please look at attached picture makefileError.PNG
Also Attached lib file libforte-static.a, this is making according to your web course "4diac FORTE for freeRTOS + LwIP"
Can you please check why those errors comes out and how to fix.
Besides, We alse facing an error when we build libforte-static.a, attached makeErrorAboutLib.PNG, we are not sure if those error will affect it, after all, those errors appear after libforte-static.a build.
Attachment: PlsHelp.rar
(Size: 568.32KB, Downloaded 89 times)
|
|
|
|
Re: 4DIAC Forte Build with FreeRtos [message #1847902 is a reply to message #1847888] |
Thu, 11 November 2021 22:03   |
Eclipse User |
|
|
|
Thanks Jose
So it is different at CFLAG in Makefile right? I build STM32 project in CubeMx and its makefile attached, it shows -mfloat-abi=hard, -mcpu=cortex-m4.
I also try STM32 Makefile -mfloat-abi=soft, and new error ouccurs below,
C:\Users\C00477~1\AppData\Local\Temp\ccNsx1rs.s:531: Error: selected FPU does not support instruction -- `vstmdbeq r0!,{s16-s31}'
C:\Users\C00477~1\AppData\Local\Temp\ccNsx1rs.s:553: Error: selected FPU does not support instruction -- `vldmiaeq r0!,{s16-s31}'
I think I should modify 4DIAC Forte CFLAG option(mfloat-abi) to matching STM32 Makefile.
But where and how to modify CFLAG option for 4DIAC forte, I only find some keyword in CMakeError.log but it obviously not where I should modify.
Plz help, Thanks
[Updated on: Fri, 12 November 2021 03:27] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.85052 seconds