diff options
| author | hathach <[email protected]> | 2025-10-14 19:41:04 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-14 19:41:04 +0700 |
| commit | 4bdd08ed2dacaf22ce2a442f8e13c97b03dfc2cb (patch) | |
| tree | f7aa42c913d2c165c2529151c099798812c36145 /hw/bsp/at32f413 | |
| parent | c48bbfab5e9ae9a417e30b0f9c0280d6f662b01c (diff) | |
fix missing prototypes
Diffstat (limited to 'hw/bsp/at32f413')
| -rw-r--r-- | hw/bsp/at32f413/at32f413_int.h | 6 | ||||
| -rw-r--r-- | hw/bsp/at32f413/family.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/hw/bsp/at32f413/at32f413_int.h b/hw/bsp/at32f413/at32f413_int.h index fbbf30dbc..46ce271e5 100644 --- a/hw/bsp/at32f413/at32f413_int.h +++ b/hw/bsp/at32f413/at32f413_int.h @@ -48,6 +48,12 @@ void DebugMon_Handler(void); void PendSV_Handler(void); void SysTick_Handler(void); +void USBFS_H_CAN1_TX_IRQHandler(void); +void USBFS_L_CAN1_RX0_IRQHandler(void); +void USBFS_MAPH_IRQHandler(void); +void USBFS_MAPL_IRQHandler(void); +void USBFSWakeUp_IRQHandler(void); + #ifdef __cplusplus } #endif diff --git a/hw/bsp/at32f413/family.c b/hw/bsp/at32f413/family.c index bb16d4d5b..bdaed523c 100644 --- a/hw/bsp/at32f413/family.c +++ b/hw/bsp/at32f413/family.c @@ -29,6 +29,7 @@ */ #include "at32f413_clock.h" +#include "at32f413_int.h" #include "board.h" #include "bsp/board_api.h" @@ -266,6 +267,7 @@ void HardFault_Handler(void) { // Required by __libc_init_array in startup code if we are compiling using // -nostdlib/-nostartfiles. +void _init(void); void _init(void) { } |
