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


tutorial on setting and compiling in Linux?

Hi,
I have all the tools installed, I generate the code with the STM32CubeMX, import in eclipse, but failed to compile .....
error: core_cmFunc.h: No such file or directory ;

There is an good (complete) tutorial for linux?

Hi nicola,
I am not aware of a tutorial specific to Linux. I think the tools are meant to be used the same for any host OS.

The Linux version is less mature and I have found some difficulties which I have been able to overcome. One of these is the need to provide complete include paths in order that include headers be found. After that, there is the backslash for the linker file. With those resolved I have been able to build projects imported from MX.

I have not worked as much with projects created directly by Workbench so I am not able to comment on that other than to say I have gotten projects to build using that also.


Hi Nicola,

As HankB said, there is some difficulties in using STM32 tools under linux. Actually, I’m able to generate code from STM32CubeMX, import them in SW4STM32 IDE, compile after few tricks and finally flash the target and use debug tools ! Here is how I’m used to proceed :
1. Generate code from STM32CubeMX following the advices from here : http://www.openstm32.org/Importing+a+STCubeMX+generated+project?structure=DocumentationQuestion
I stop the tuto at section 4 (included), as I’m not obliged to rename the project configuration....
2. Modify include paths as follows :
Project->Properties->C/C++ builds->Settings->MCU GCC compiler->Include.
Edit each include paths string by adding “../../../” at the beginning.
3. Modify paths for linker file as follow:
Project->Properties->C/C++ builds->Settings->MCU GCC linker->General.
Replace “" by “/” in the string path.

Compilation should now be OK.

Hope this helps.

BaDuf



 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  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. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs