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


Exporting from Mbed

I have a large Nucleo F103RB project I need to export but since I am new to this IDE I would try a basic example. MY initial build cannot find bits/os_defines.h: So I added the path to my properties

Paths and Symbols:
”${ProjDirPath}/inc”
“C:\EclipseC_C++\WorkSpace\blink\src\Nucleo_printf”
“C:\EclipseC_C++\WorkSpace\blink\src\Nucleo_printf\mbed”
“C:\EclipseC_C++\WorkSpace\blink\src\Nucleo_printf\mbed\TARGET_NUCLEO_F103RB”
“C:\EclipseC_C++\eclipse\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.11.0.201610101338\tools\gcc-arm-none-eabi-5_4-2016q2-20160622-win32\arm-none-eabi\include\c++\5.4.1\arm-none-eabi\armv7-m”

Error:
c:\eclipsec_c++\eclipse\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.11.0.201610101338\tools\gcc-arm-none-eabi-5_4-2016q2-20160622-win32\arm-none-eabi\include\c++\5.4.1\arm-none-eabi\armv7-m\bits\c++config.h:482:29: fatal error: bits/os_defines.h: No such file or directory

Hi, Warning, the mbed exporter is facing issues and the exported projects are not plug-and-play.
I faced the same error : it is a bug in GCC 5.4.1.
- Download and uncompress the 5_4_2016q3 compiler version from :
https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-updateQuestion
- Right-click on your project >> Properties >> C/C++ Build >> Settings >> MCU Settings then replace ${openstm32_compiler_path} with the path to the bin folder of the uncompressed 5_4_2016q3 compiler version;




 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs