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


New created .h files cannot be found

Hi,

1- I have imported a CubMx project and it works fine.
2- Now I created a folder called “Inc” and I have created a file under it called “myh.h”
3- In the main.c I added -> #include “myh.h”

Now I keep getting error “No such directory of file myh.h” !
it seems like the AC6 does not see the newly created files!

Any help?

Add all your directories with *.h files to Settings -> C/C++ Build -> Tool Settings -> MCU GCC Compiler -> Includes -> Include paths