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


STM32MXCube - PendSV_Handler,SVC_Hander Multiple definition FREE RTOS

Hello,

I have the goal of using STM32MX cube out of the box to generate working project and importing them int System Workbench. I have had to make a couple of tweaks to get the project to build straight from code generation from Cube...

Modification#1
I’m using FreeRTOS and I’ve had to
stm32f4xx_it.c
__weak void SVC_Handler(void) //conflicts with FreeRTOS port.c definition
__weak void PendSV_Handler(void) //conflicts with FreeRTOS port.c definition

Modification#2
After import
Project->properties->C/C++ General/Paths and Symbols->Add
LWIP_TIMEVAL_PRIVATE 0

Cube Question:
Is there a way to get cube to not generate those handlers?
Is there a way get cube to generate them withe the __weak directive?

Thanks,

Brian