Update vector table
This commit is contained in:
parent
17ebf685b0
commit
ffc90cba2c
|
@ -33,7 +33,8 @@ void ResetISR(void);
|
|||
static void NmiSR(void);
|
||||
static void FaultISR(void);
|
||||
static void IntDefaultHandler(void);
|
||||
|
||||
void SystickHandler(void);
|
||||
void GPIOF_interruptHandler(void);
|
||||
//*****************************************************************************
|
||||
//
|
||||
// External declaration for the reset handler that is to be called when the
|
||||
|
@ -55,7 +56,8 @@ extern uint32_t __STACK_TOP;
|
|||
//
|
||||
//*****************************************************************************
|
||||
// To be added by user
|
||||
|
||||
extern void SystickHandler(void);
|
||||
extern void GPIOF_interruptHandler(void);
|
||||
//*****************************************************************************
|
||||
//
|
||||
// The vector table. Note that the proper constructs must be placed on this to
|
||||
|
@ -82,7 +84,7 @@ void (* const g_pfnVectors[])(void) =
|
|||
IntDefaultHandler, // Debug monitor handler
|
||||
0, // Reserved
|
||||
IntDefaultHandler, // The PendSV handler
|
||||
IntDefaultHandler, // The SysTick handler
|
||||
SystickHandler, // The SysTick handler
|
||||
IntDefaultHandler, // GPIO Port A
|
||||
IntDefaultHandler, // GPIO Port B
|
||||
IntDefaultHandler, // GPIO Port C
|
||||
|
@ -113,7 +115,7 @@ void (* const g_pfnVectors[])(void) =
|
|||
IntDefaultHandler, // Analog Comparator 2
|
||||
IntDefaultHandler, // System Control (PLL, OSC, BO)
|
||||
IntDefaultHandler, // FLASH Control
|
||||
IntDefaultHandler, // GPIO Port F
|
||||
GPIOF_interruptHandler, // GPIO Port F
|
||||
IntDefaultHandler, // GPIO Port G
|
||||
IntDefaultHandler, // GPIO Port H
|
||||
IntDefaultHandler, // UART2 Rx and Tx
|
||||
|
|
Loading…
Reference in New Issue