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


Symbol 'SysTick_IRQn' could not be resolved

Hi

One can check Project -> Properties -> (Tree) C/C++ Bulid -> Settings -> (Tab) Target if the right MCU is configured. (stm32f103cb for me)
One can view the includes with the include browser:
Open Window -> Show View -> Include Browser then drag and drop main.c into the window.

For me the hira is:

main.c -> stm32f1xx_hal.h -> stm32f1xx_hal_config.h -> stm32f1xx_hal_rcc.h -> stm32f1xx_hal_def.h -> stm32f1xx.h -> stm32f103xb.h

There the typedef is found.

When I export from CubeMX as SW4STM32 project with “Generate under root” checked, then the Systick_IRQn def is missing.
So I stay with the “classic” way of export/import.

Dieter