Skip to content

Commit

Permalink
[hal/stm32h7rs] update startup
Browse files Browse the repository at this point in the history
  • Loading branch information
versaloon committed Oct 18, 2024
1 parent a3d062e commit 4589f45
Showing 1 changed file with 172 additions and 0 deletions.
172 changes: 172 additions & 0 deletions source/hal/driver/ST/STM32H7RSXX/common/startup_STM32H7RS.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
// for VSF_MFOREACH
#include "utilities/vsf_utilities.h"

#define __imp_blocked_weak_handler(__name) \
VSF_CAL_WEAK(__name) \
void __name(void){while(1);}

/*----------------------------------------------------------------------------
Exception / Interrupt Handler Function Prototype
*----------------------------------------------------------------------------*/
Expand All @@ -52,6 +56,174 @@ void __NO_RETURN Reset_Handler (void);
Exception / Interrupt Handler
*----------------------------------------------------------------------------*/

VSF_MFOREACH(__imp_blocked_weak_handler,
NMI_Handler,
HardFault_Handler,
MemManage_Handler,
BusFault_Handler,
UsageFault_Handler,
SVC_Handler,
DebugMon_Handler,
PendSV_Handler,
SysTick_Handler,
PVD_PVM_IRQHandler,
SWI0_IRQHandler,
DTS_IRQHandler,
IWDG_IRQHandler,
WWDG_IRQHandler,
RCC_IRQHandler,
LOOKUP_IRQHandler,
CACHE_ECC_IRQHandler,
FLASH_IRQHandler,
RAMECC_IRQHandler,
FPU_IRQHandler,
SWI1_IRQHandler,
SWI2_IRQHandler,
TAMP_IRQHandler,
SWI3_IRQHandler,
SWI4_IRQHandler,
EXTI0_IRQHandler,
EXTI1_IRQHandler,
EXTI2_IRQHandler,
EXTI3_IRQHandler,
EXTI4_IRQHandler,
EXTI5_IRQHandler,
EXTI6_IRQHandler,
EXTI7_IRQHandler,
EXTI8_IRQHandler,
EXTI9_IRQHandler,
EXTI10_IRQHandler,
EXTI11_IRQHandler,
EXTI12_IRQHandler,
EXTI13_IRQHandler,
EXTI14_IRQHandler,
EXTI15_IRQHandler,
RTC_IRQHandler,
SAES_IRQHandler,
CRYP_IRQHandler,
PKA_IRQHandler,
HASH_IRQHandler,
RNG_IRQHandler,
ADC1_2_IRQHandler,
GPDMA1_Channel0_IRQHandler,
GPDMA1_Channel1_IRQHandler,
GPDMA1_Channel2_IRQHandler,
GPDMA1_Channel3_IRQHandler,
GPDMA1_Channel4_IRQHandler,
GPDMA1_Channel5_IRQHandler,
GPDMA1_Channel6_IRQHandler,
GPDMA1_Channel7_IRQHandler,
TIM1_BRK_IRQHandler,
TIM1_UP_IRQHandler,
TIM1_TRG_COM_IRQHandler,
TIM1_CC_IRQHandler,
TIM2_IRQHandler,
TIM3_IRQHandler,
TIM4_IRQHandler,
TIM5_IRQHandler,
TIM6_IRQHandler,
TIM7_IRQHandler,
TIM9_IRQHandler,
SPI1_IRQHandler,
SPI2_IRQHandler,
SPI3_IRQHandler,
SPI4_IRQHandler,
SPI5_IRQHandler,
SPI6_IRQHandler,
HPDMA1_Channel0_IRQHandler,
HPDMA1_Channel1_IRQHandler,
HPDMA1_Channel2_IRQHandler,
HPDMA1_Channel3_IRQHandler,
HPDMA1_Channel4_IRQHandler,
HPDMA1_Channel5_IRQHandler,
HPDMA1_Channel6_IRQHandler,
HPDMA1_Channel7_IRQHandler,
SAI1_A_IRQHandler,
SAI1_B_IRQHandler,
SAI2_A_IRQHandler,
SAI2_B_IRQHandler,
I2C1_EV_IRQHandler,
I2C1_ER_IRQHandler,
I2C2_EV_IRQHandler,
I2C2_ER_IRQHandler,
I2C3_EV_IRQHandler,
I2C3_ER_IRQHandler,
USART1_IRQHandler,
USART2_IRQHandler,
USART3_IRQHandler,
UART4_IRQHandler,
UART5_IRQHandler,
UART7_IRQHandler,
UART8_IRQHandler,
I3C1_EV_IRQHandler,
I3C1_ER_IRQHandler,
OTG_HS_IRQHandler,
ETH_IRQHandler,
CORDIC_IRQHandler,
GFXTIM_IRQHandler,
DCMIPP_IRQHandler,
LTDC_IRQHandler,
LTDC_ER_IRQHandler,
DMA2D_IRQHandler,
JPEG_IRQHandler,
GFXMMU_IRQHandler,
I3C1_WKUP_IRQHandler,
MCE1_IRQHandler,
MCE2_IRQHandler,
MCE3_IRQHandler,
XSPI1_IRQHandler,
XSPI2_IRQHandler,
FMC_IRQHandler,
SDMMC1_IRQHandler,
SDMMC2_IRQHandler,
SWI5_IRQHandler,
SWI6_IRQHandler,
OTG_FS_IRQHandler,
TIM12_IRQHandler,
TIM13_IRQHandler,
TIM14_IRQHandler,
TIM15_IRQHandler,
TIM16_IRQHandler,
TIM17_IRQHandler,
LPTIM1_IRQHandler,
LPTIM2_IRQHandler,
LPTIM3_IRQHandler,
LPTIM4_IRQHandler,
LPTIM5_IRQHandler,
SPDIF_RX_IRQHandler,
MDIOS_IRQHandler,
ADF1_FLT0_IRQHandler,
CRS_IRQHandler,
UCPD1_IRQHandler,
CEC_IRQHandler,
PSSI_IRQHandler,
LPUART1_IRQHandler,
WAKEUP_PIN_IRQHandler,
GPDMA1_Channel8_IRQHandler,
GPDMA1_Channel9_IRQHandler,
GPDMA1_Channel10_IRQHandler,
GPDMA1_Channel11_IRQHandler,
GPDMA1_Channel12_IRQHandler,
GPDMA1_Channel13_IRQHandler,
GPDMA1_Channel14_IRQHandler,
GPDMA1_Channel15_IRQHandler,
HPDMA1_Channel8_IRQHandler,
HPDMA1_Channel9_IRQHandler,
HPDMA1_Channel10_IRQHandler,
HPDMA1_Channel11_IRQHandler,
HPDMA1_Channel12_IRQHandler,
HPDMA1_Channel13_IRQHandler,
HPDMA1_Channel14_IRQHandler,
HPDMA1_Channel15_IRQHandler,
GPU2D_IRQHandler,
GPU2D_ER_IRQHandler,
ICACHE_IRQHandler,
FDCAN1_IT0_IRQHandler,
FDCAN1_IT1_IRQHandler,
FDCAN2_IT0_IRQHandler,
FDCAN2_IT1_IRQHandler
)

/*----------------------------------------------------------------------------
Exception / Interrupt Vector table
*----------------------------------------------------------------------------*/
Expand Down

0 comments on commit 4589f45

Please sign in to comment.