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


Cube over aggressively removing user files not generated by cube

I added my own source files (app.c, PWM_manager.c) to a project generated by cube

When I regenerate using cube, I want it to delete files Cube has generated in the past but for which I am no longer using a peripheral.

e.g. I have a project that used 4 timer, I now only use three

Cube, however, in its wisdom deletes files it has never generated.

Also under AC6
Where do I put my .h files?

Every .c file has a correspondig .h file so I can easily import functionality

a) The project browser hides ALL .h files (as if no-one uses them any more)
b) It does not give me a folder to put them in
c) if I create an inc folder in my app, wher the .c file is the editor is happy, but it won’t compile!

Cant we simply ahave src/ and inc/ folders as has been common practice since the time of Kernighan and Ritchie?

I think you need to make sure you are using the version 4.14.0 of Cube.

The problems you are describing were present in the older versions.

Also, this forum is for ac6, not Cube. For Cube use the ST forums.

-Matt


Thanks for the info Matt,

I will look at the versions and for the forum @st


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs