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


Custom Library Compilation Error

Hi

You can not use a variable of whatever type in a .c file if it’s not known there.
Tell CubeMX to generate separate pairs of .c .h files for every peripheral.

Then the the variable is declared extern in the .h file and defined and used within the .c file.
Thereafter you can access the variable whereever the .h file is included.

Or use main.h.

Dieter