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 BSP_TS_Init and StemWin ..  

BSP_TS_Init and StemWin ..

France

Hi Hjalmar,

Part of the problem with include files is that CubeMX generated the project using relative path names for the include directories; this is thus only working from Eclipse itself, but not when passed to the compiler as they are then relative to the directory in which the file is compiled (Debug/Applications/Xxxx for example) and this change from file to file so relative path names are really unusable.

To solve correctly this problem, you should (for all include directories in “Project” >> Properties >> C/C++ General >> Paths and Symbols) replace the first ‘..’ by ’${ProjDirPath}’; then all include directives will be absolute and no more relative, thus will work for all source files...

To simplify, you could do this by a global substitute in the .cproject file, but you should first close the project and then reopen it afterwards (by precaution, keep a copy of the original file).

Sorry for the inconvenience,

Bernard