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_stm32.s is missing all interrupt definitions when selecting Standard_Peripheral_Libraries at project setup

Hello,

I am using an STM32F407 MCU (STM32F4 Discovery bord) and I found an issue with the project manager setup.

When I create a C project and I decide to use the Standard_Peripheral_Libraries, the openstm32 setup generates (or includes) to my sources a wrong or incomplete startup_stm32.s file which misses a lot of interrupt definitions in the g_pfnVectors. Basically it seems it’s missing ALL the external interrupts.
I attach this file as startup_stm32_INCOMPLETE.s

You can see an example of correct startup file is the one located (from Standard_Peripheral_Libraries source code) at:

STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/SW4STM32/startup_stm32f40xx.s

which has all the interrupts definitions.

How to solve this problem without having to copy the correct file every time ? Is this a standard feature of openstm32 ?
Is it possible to solve it from configuration files ?

Thank you in advance.
Regards,
Simon

PS: another similar question was opened two years ago by another user: http://www.openstm32.org/forumthread266Question
PS2: I accidentally attached the file twice and I cannot remove one.

 

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