mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/cc2538: Enable the CC2538's more compact alternate interrupt mapping.
This commit is contained in:
parent
77964e8afd
commit
b37698a064
@ -42,6 +42,9 @@ void cpu_init(void)
|
|||||||
/* configure the vector table location to internal flash */
|
/* configure the vector table location to internal flash */
|
||||||
SCB->VTOR = FLASH_BASE;
|
SCB->VTOR = FLASH_BASE;
|
||||||
|
|
||||||
|
/* Enable the CC2538's more compact alternate interrupt mapping */
|
||||||
|
SYS_CTRL->I_MAP = 1;
|
||||||
|
|
||||||
/* initialize the clock system */
|
/* initialize the clock system */
|
||||||
cpu_clock_init();
|
cpu_clock_init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user