Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Startup code and Interrupt handlers.

Hi everyone,

I’m having a problem creating a basic project for an STM32F103VC using Wizard.

I’ve defined my own board which uses an F1 High Density microcontroller. After, I spawn a new project with Standard pheriperal drivers using defined board.
The problem comes when I want to use interrupts as the startup code (startup_stm32.s) does not define any symbols at the interrupt vector table besides these:

.word _estack
.word Reset_Handler
.word NMI_Handler
.word HardFault_Handler
.word MemManage_Handler
.word BusFault_Handler
.word UsageFault_Handler
.word 0
.word 0
.word 0
.word 0
.word SVC_Handler
.word DebugMon_Handler
.word 0
.word PendSV_Handler
.word SysTick_Handler

Any other interrupts symbols, such as USARTs Timers etc, are missing.

If I create a project using, for example a STM32F072B-DISCO board, the startup code (startup_stm32f072.s) the interrupts symbols are included. Ex:


.word WWDG_IRQHandler
.word PVD_VDDIO2_IRQHandler
.word RTC_IRQHandler
.word FLASH_IRQHandler
.word RCC_CRS_IRQHandler
.word EXTI0_1_IRQHandler

It looks like is using a generic startup code for the stm32 microcontrollers.


My question:

Is there any way to configure startup code and Linker script for a custom board?
Can I make my own template when defining a board?

Thanks in advance

Alfredo Castro

France

Hi Alfredo,

Yes, when you create a custom board, we use a generic interrupt vector table so, for now, you have to create it, either manually or by looking in a similar evaluation board and copying the startup.s file.

Best regards,

Bernard


Hi Bernard,

What about make my own templates, Is it possible to define a template for a custom board?.


Thx in advance

Alfredo