From b37698a06485f92e7200a8c0d613cb1f05f3562f Mon Sep 17 00:00:00 2001 From: Ian Martin Date: Mon, 3 Nov 2014 14:15:52 -0500 Subject: [PATCH] cpu/cc2538: Enable the CC2538's more compact alternate interrupt mapping. --- cpu/cc2538/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpu/cc2538/cpu.c b/cpu/cc2538/cpu.c index 87092a1df1..5e22d8af05 100644 --- a/cpu/cc2538/cpu.c +++ b/cpu/cc2538/cpu.c @@ -42,6 +42,9 @@ void cpu_init(void) /* configure the vector table location to internal flash */ SCB->VTOR = FLASH_BASE; + /* Enable the CC2538's more compact alternate interrupt mapping */ + SYS_CTRL->I_MAP = 1; + /* initialize the clock system */ cpu_clock_init();