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


Issue with compiling after changing Cube Configuration

Hi
I want to ask one question, becouse I’ve got some problems with my stm workbench. I created new project in Cube MX, use nucleo F072RB Board, set default configuration and generate code.
Problem1
Then I imported this project into STM Workbench, wrote simple program to flash board led LD2 - everything goes ok.

Then I made litle changes in the Cube configuration, generated code, chose in STM Workbench:
Project: Clean
Project: C/C++ Index: Rebuild
Project: C/C++ Index: Freshen all files
After compilation everything goes ok.

Now problem starts.
I made more changes in Cube configuration - I added new UART and 6 GPIO pins. Then I generated code, goes to STM Workbench, tried to build it and I’ve got this:
Problem2
Every time I try tu build my project, output hex file has got 8 bytes and of course - it doesn’t work. I tried to change configuration, change building settings, but the result was stil the same.

I want to ask, if someone have got simmilar issue and know, how to fix it.

(Sorry, if my english knowledne isn’t good enough).

Hello friend, I am also having the same problem, I think it is something related to win 10 64bits, I could not find a solution so far, in ubuntu it works correctly


I found the problem, when we regenerate the code in cubeMX the linker goes blank, is to generate a new linker configuration and copy that recompile normally, the problem is in cubeMX


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs