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


Startup file selection: from ST or AC6?

Hi,

I tried the STM32CubeMX to generating the code and importing it in AC6 SWorkbench IDE. The API works, and I am using all the startup files from ST.

Now to use a framework I wrote, I do not need the automatic code generation, as the basics will be taken care of by the framework.
So I generated the project from AC6 and selecting my MCU (STM32F103C8T6), but the startup file generated is fairly different from the one used by STM.
I see different entries in the IVT, I do not see the boot RAM entry and the rest of the code is different. I am not expecting to see differences in the IVT, but the one in AC6 actually comprehends also entries of the higher range devices of the same family. This to me sounds like a red flag for nasty bugs.
So far I would continue by using instead the template from ST startup_stm32f103xb.s and trash the one generated by AC6, called startup_stm32.s

You can reproduce this by making a project from STM32CubeMX and comparing the startup by making the project fully inside EWB.

Do you know why I see this difference?

Thanks,

 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 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