diff options
Diffstat (limited to 'os/hal/platforms/SPC563Mxx/hal_lld.c')
-rw-r--r-- | os/hal/platforms/SPC563Mxx/hal_lld.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/platforms/SPC563Mxx/hal_lld.c b/os/hal/platforms/SPC563Mxx/hal_lld.c index 22979e61b..5eb36bdd4 100644 --- a/os/hal/platforms/SPC563Mxx/hal_lld.c +++ b/os/hal/platforms/SPC563Mxx/hal_lld.c @@ -95,6 +95,9 @@ void hal_lld_init(void) { INTC.CPR.R = 0;
INTC.IACKR.R = (uint32_t)_vectors;
+ /* eMIOS initialization.*/
+ EMIOS.MCR.R = (1U << 26) | SPC5_EMIOS_GPRE; /* GPREN and GPRE. */
+
/* EDMA initialization.*/
edmaInit();
}
|