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


AC6 SW4 STM32 MCU Built-in Compiler Settings

Hello,

I use stm32f407 and stm32f405 for current development. I have some troubles with FP.
I colleague of mine found out, that in the AC6 SW4 STM32 MCU Built-in Compiler Settings entry (Properties -> C/C++ General -> Preprocessor Include Paths, Macros etc.) there might be wrong constants defined.
In particular for my cpu, there is:

  • __ARM_ARCH=4
  • __ARM_ARCH_4T=1

which I guess is wrong for stm32f4 cores. Should be ARMv7E-M according to ((https://en.wikipedia.org/wiki/ARM_architecture|WIKI)).
Following

  • __SOFT_FP_=1
  • __VFP_FP_=1

are both defined. I think there should be just one of these definitions according to “Floating point hardware used” selection in “MCU Settings”.

Please let me know if I’m right or wrong in my thoughts.
Regards,
Jan