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


MCU Setting not inherited by subfolder

Thank you, this was also a problem for me. I haven an STM32F746G-Discovery board
I got the error message in System Workbench STM32

arm-none-eabi-gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together

and your solution works fine.

I edited this file:

...\SystemWorkbench\plugins\fr.ac6.mcu.ide_1.11.0.201610101240\plugin.xml

I hope, when the bug is fixed, the setting will be inherited from root project settings!

Edit:
Now I have new problem. The compiler no has an error:

sorry, unimplemented: Thumb-1 hard-float VFP ABI

I think this may be related to the default setting for ” -mcpu=cortex-m7 “, but I can’t find it in any .xml file as default. Does anybody know where it is?

Edit 2:

I don’t know the root-cause, but here is my work-around:

Open the .cproject in your project and for each folder there will be some configuration. Look for the part for the sub-folder and change it to match your root project folder. For me this looks like this(X,Y,Z,W are just n
umbers):

option id=”fr.ac6.managedbuild.option.gnu.cross.mcu.XXXXXXX.YYYYYYYY” name=”Mcu” superClass=”fr.ac6.managedbuild.option.gnu.cross.mcu” value=”STM32F746NGHx” valueType=”string”/>
option id=”fr.ac6.managedbuild.option.gnu.cross.board.ZZZZZ.WWWWWWWW name=”Board” superClass=”fr.ac6.managedbuild.option.gnu.cross.board” value=”STM32F746G-DISCO” valueType=”string”/>