diff --git a/hw/mcu/nxp/lpc55xx/src/hal_system.c b/hw/mcu/nxp/lpc55xx/src/hal_system.c index 3a96c28ea2..59c311dd9d 100644 --- a/hw/mcu/nxp/lpc55xx/src/hal_system.c +++ b/hw/mcu/nxp/lpc55xx/src/hal_system.c @@ -43,7 +43,6 @@ void hal_system_reset(void) void SystemInitHook(void) { - NVIC_Relocate(); if (MYNEWT_VAL_CHOICE(LPC55XX_BOOT_CLOCK, FRO12M)) { BOARD_BootClockFRO12M(); } else if (MYNEWT_VAL_CHOICE(LPC55XX_BOOT_CLOCK, FROHF96M)) { diff --git a/hw/mcu/nxp/lpc55xx/src/hal_system_init.c b/hw/mcu/nxp/lpc55xx/src/hal_system_init.c index 4d7622d74f..64bd9e9223 100644 --- a/hw/mcu/nxp/lpc55xx/src/hal_system_init.c +++ b/hw/mcu/nxp/lpc55xx/src/hal_system_init.c @@ -20,6 +20,7 @@ #include "os/mynewt.h" #include #include +#include static int mpu_add_region(uint32_t rnr, uint32_t start, size_t size, uint8_t attr_ix, uint8_t ro, uint8_t xn)