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


Missing stdio.h?

I’m using system workbench for the first time.
I just installed system workbench for STM32, using Latest Windows 7 64 bit installer Version v2.3, updated on Wednesday, October 25, 2017 at 14:14:50 CEST).
I’m now trying to compile a project. The main.cpp file includes files such as stdio.h, stdlib.h etc, but the project cannot find them.
The target chip is STM32F4/STM32F411xE.
Am I missing something in my installation?
Thank you

Hi, sorry for coming in “late”.

I think you are trying to compile with the wrong “perspective” or something.

.cpp and stdio.h etc are C++ files.

Make sure that the code generated and the project you are trying to compile starts with:

  1. include “main.h”
  2. include “stm32f1xx_hal.h”
  3. include “cmsis_os.h”


or similar.

Also, check in STM32CubeMX that the “Toolchain/IDE” selected is “SW4STM32”.

Once the code is generated, the CubeMX tool will prompt you if it ca nopen eclipse and your project.

Then take it from there.


 

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