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


make missing external header dependencies

I’m using a STM32F4Dicovery project generated from CudeMX
in that project i added my own header files into the the generated “../inc” folder
linked Source file in the project (../src)do incude and depend on this headers
modifying one header (even in eclispe) is not trigering a new build it say.

make: Nothing to be done for `all’.
It’s the same with Gnu C make builder or CDT internal builder

Clearily dependencies are not well managed or at least not as i woudl like .
it is an isue of ac6 builder cubmex broken .crpoject  ?

When I open the extar header from the include (project explorer or outline ) the opened file editor window as the “folder” icon on so it is seen as an “external file”. ?

For project usign cross gcc i tend to add all the external header diretcory as linked folder in some virtual project foldr (ie ext_inc) and add then to the include search path as “worspace folder”. The final absolute path is resolved by CDT and it also help the indexer and i never miss dependencies.

see snpashot as an exemple http://s16.postimg.org/twdblzmw5/cdt_include_as_linked_folder.pngQuestion

That may be a betrer to structure the project ?