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


Cannot Build Project from Exported STM32CubeMX - RESOLVED

I’m trying to get started with a new SW4STM32 and STM32CubeMX install, trying to run the “blink” example from ST’s STM32CubeMX User Manual (UM 1718). Everything goes exactly as documented until I try to build, which fails with 500+ errors similar to the following:

make: *** Drivers/CMSIS/DSP_Lib/Source/TransformFunctions/arm_bitreversal.o Error 1 Blink1 C/C++Problem
unknown type name ‘__INLINE’ arm_math.h /Blink1/Drivers/CMSIS/Include line 484 C/C++ Problem
unknown type name ‘uint8_t’ arm_math.h /Blink1/Drivers/CMSIS/Include line 2004 C/C++ Problem
MBITREVINDEXTABLE__16_TABLE_LENGTH’ arm_common_tables.h /Blink1/Drivers/CMSIS/Include line 100 C/C++ Problem

Some compiler parameter seems to be significantly off, but I don’t really know where to start on resolving this. The symptoms seem similar to another forum post, but none of the details in the fix seem to apply.

Does anyone have any insight?
Thanks.

Eclipse 4.6.3
STMCubeMX 4.23.0
ARM Compiler 1.15.0

Rebuilding the index in Eclipse did not resolve the errors. However, a re-export from CubeMX and reimport into an Eclipse workspace with no spaces in the path did seems to do the trick.

 

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