Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Re: Assembler FPU statements not recognized

France

The right correction should be to edit the project properties and select the FPU and FPU-ABI:

project >> Properties >> C/C++ Build >> Settings >> MCU Settings
2015 03 30 134900

select FPU = fpv3_fp16
and fpu-abi = hard

Do this on both the main project and the static library project, then clean both projects (you can just delete their Debug folders) and rebuild. It should then work without any problem.

This is in fact due to a small glitch in the current System Workbench version: for STM32F4 we note they have an FPU, but nevertheless keep generating code without using the FPU... This will be corrected in the next update.

Correcting by changing the source code, like you do, will thus no more be needed, and all your code (C and ASM) will be able to use the FPU.

Bernard