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


New install on Win7 is broken

Installed install_sw4stm32_win_64bits-latest on Win7 machine, using default locations/options. I then created a test ‘C’ project using default options. The Console view appears to show the build running successfully, but the Problems view shows two errors:
Program “arm-none-eabi-g++” not found in PATH
Program “arm-none-eabi-gcc” not found in PATH
If I then open the file “src/system_stm32f4xx.c” the Problems list grows with dozens of errors such as:
Symbol ‘uint32_t’ could not be resolved
Type ‘FLASH_ACR_DCEN’ could not be resolved

This is a default installation that is installed as the developers intended and it is fundamentally broken right out of the box. Is it to much to expect the tool to actually work?

Alex

France

>Hi Alex,
These are known bugs we are working on; currently the workarounds are quite simple:

  1. For the “arm-none-eabi-g++” not found errors, these only appear while creating the project; if you just delete them from the Problems view.
  2. For the “could not be resolved” errors, this is due to the indexing not done correctly (often due to th eprevious error); you just have to right click on the project, then Index >> Rebuild and it should be OK then.

Hope this works for you,
Bernard


Thank-you. I have now resolved the errors.

I was expecting that any know problems would be noted in release notes attached to the install package. When I install a new toolchain, I use “create and build default project” as a test that the toolchain is installed and working correctly. With no notes to the contrary, I was expecting the tool could do this cleanly without manual intervention from the user.

Alex



 

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