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


CubeMX removes HAL drivers when USB middleware enabled

I am using version 4.24.0 of the CubeMX plug-in for TrueSTUDIO (version 9.0.0) to create a project for a NUCLEO-F429ZI dev board. Things seem to work fine until I try to enable the USB middleware component. Then, for some reason, Cube MX removes the HAL driver from the project, causing all sorts of compile errors due to undefined references. Any ideas what might be going wrong?

Note: I also tried using the standalone version of CubeMX, but got the same result.

BTW, I tried to manually work around this issue by opening the project in TrueSTUDIO and dragging/dropping the HAL driver folder from Windows Explorer into the Drivers folder in the project. But I get an error saying “The resource ‘STM32F4_HAL_Driver does not exist on the file system”, even though I can see it in Explorer and open the source files.

In case you are interested, I logged a tech support request regarding this issue with STmicro. They have confirmed that there is a problem, and hope to have it fixed in the next release of CubeMX.

 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 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