cancel
Showing results for 
Search instead for 
Did you mean: 

__weak functions in stm32XXxx_it.c

ONaor
Associate

Is it possible to fix the CubeMX so that when it generates the code for STM32 chips it will add __weak declration to the following functions:

SysTick_Handler

PendSV_Handler

inside stm32XXxx_it.c

While intergrating to embOS, the OS api overrides these function and each time I make an adjustments to the cube it will delete the __weak decleration since there is /* USER CODE BEGIN */ in the prototypes

0 REPLIES 0