diff options
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c index 9a5a75f1cd..ec4bc2b48c 100644 --- a/common/main.c +++ b/common/main.c @@ -17,6 +17,9 @@ #include "hooks.h" #include "jtag.h" #include "keyboard_scan.h" +#ifdef CONFIG_MPU +#include "mpu.h" +#endif #include "system.h" #include "task.h" #include "timer.h" @@ -40,6 +43,10 @@ test_mockable int main(void) board_config_pre_init(); #endif +#ifdef CONFIG_MPU + mpu_pre_init(); +#endif + /* Configure the pin multiplexers and GPIOs */ jtag_pre_init(); gpio_pre_init(); |