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


Linux, MX and include paths

Hi folks,
I’m going through the procedure of generating and importing a project generated by MX (STM32CubeMX) and after impoort into eclipse, I went into Settings -> Tool Settings -> Includes and find:
------
....../../../../STM32Cube/Repository/STM32Cube_FW_F4_V1.5.0/Drivers/CMSIS/Device/ST/STM32F4xx/Include
------
for several include paths. This cannot work on Linux. I’m wondering if this is something that MX produced or is it related to the OpenSTM32 plugin?

Incidentally... Windows is mostly happy with forward slashes for file separators at the API level. Some programs (e.g File Explorer) may not like that, but the underlying libraries will work. Linux, unfortunately, already uses the backslash in strings to excape the following character so it cannot be made to use backslash as path seperator.

Thanks!

Edit: Settings -> Tool Settings -> MCU GCC Linker -> General had ‘..\STM32F429ZITx_FLASH.ld’ for linker script. Once changed to a forward slash the project built.

WRT the include paths, I wound up changing them to absolute paths. I could not figure out where the relative paths were relative from. I also had to add a {project}/Inc include path and IIRC I copied syscalls.c from another project. The cal to MSP_FMC_Init() wwas unresolved and I commented that out because I am not using it (SDRAM on the STM32F429I-DISCO)

 

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