CC2538: Enable Cortex-M mtarch implementation
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
This commit is contained in:
parent
3f676a5a16
commit
9c47f874c4
3 changed files with 6 additions and 52 deletions
|
@ -52,6 +52,8 @@ void nmi_handler(void);
|
|||
void default_handler(void);
|
||||
|
||||
/* System Handler and ISR prototypes implemented elsewhere */
|
||||
void svcall_handler(void); /* See mtarch.c */
|
||||
void pendsv_handler(void); /* See mtarch.c */
|
||||
void clock_isr(void); /* SysTick Handler */
|
||||
void gpio_port_a_isr(void);
|
||||
void gpio_port_b_isr(void);
|
||||
|
@ -119,10 +121,10 @@ void(*const vectors[])(void) =
|
|||
0, /* 8 Reserved */
|
||||
0, /* 9 Reserved */
|
||||
0, /* 10 Reserved */
|
||||
default_handler, /* 11 SVCall handler */
|
||||
svcall_handler, /* 11 SVCall handler */
|
||||
default_handler, /* 12 Debug monitor handler */
|
||||
0, /* 13 Reserved */
|
||||
default_handler, /* 14 The PendSV handler */
|
||||
pendsv_handler, /* 14 The PendSV handler */
|
||||
clock_isr, /* 15 The SysTick handler */
|
||||
gpio_port_a_isr, /* 16 GPIO Port A */
|
||||
gpio_port_b_isr, /* 17 GPIO Port B */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue