Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


sprinf conversion of float is not working for STM32F7

Tunisia

Kevin is right :
“-u _printf_float” should be after “-specs=nano.specs”

Notes :
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs -Xlinker -u _sprintf_float -Xlinker -u _printf_float -T”../STM32F103CBTx_FLASH.ld” ....

  1. There is no “_sprintf_float”
  2. You do not need Xlinker options
  3. You should have only one -u _printf_float
  4. In (project properties > C/C++ Build > Setings > Tool Settings (TAB) > MCU GCC Linker > Miscellaneous > Linker flags),you should have ” -specs=nosys.specs -specs=nano.specs -u _printf_float”

Many thanks tarek,

My problem issue was that was adding the “-u_printf_float” option using the “ADD ICON” which put the required string into the TEXT BOX below ? ..
This was working ok on previous versions of Sytem32 Workbench ...but ... The Latest version doesn’t work like that anymore ... so what I did was to edit/replace the main string at the top ( -specs=nosys.specs -specs=nano.specs ) to what you have shown above .(-specs=nosys.specs -specs=nano.specs -u _printf_float). this worked OK ..
Thanks again for your help.biggrin