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


You are viewing a reply to How do I compile a .h file?  

How do I compile a .h file?

you could always try adding it to your compiler preprocessor defines?
eg: on gcc that would look like -DENABLE_MEMS

so right click on your project, go to “C/C++ Build”. “Settings”, “MCU GCC Compiler”, “Preprocessor”

that’s a pretty blunt instrument but at least you’ll be able to start doing something