aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt')
-rw-r--r--os/rt/ports/e200/chcore.h4
-rw-r--r--os/rt/ports/e200/compilers/GCC/mk/port_spc56elxx.mk3
2 files changed, 6 insertions, 1 deletions
diff --git a/os/rt/ports/e200/chcore.h b/os/rt/ports/e200/chcore.h
index 7901ed44d..f24a7111e 100644
--- a/os/rt/ports/e200/chcore.h
+++ b/os/rt/ports/e200/chcore.h
@@ -75,6 +75,7 @@
/* Inclusion of the PPC implementation specific parameters.*/
#include "ppcparams.h"
+#include "vectors.h"
/*===========================================================================*/
/* Module pre-compile time settings. */
@@ -408,6 +409,9 @@ static inline void port_init(void) {
"li %%r3, _IVOR10@l \t\n"
"mtIVOR10 %%r3" : : : "r3", "memory");
#endif
+
+ /* Interrupt controller initialization.*/
+ intc_init();
}
/**
diff --git a/os/rt/ports/e200/compilers/GCC/mk/port_spc56elxx.mk b/os/rt/ports/e200/compilers/GCC/mk/port_spc56elxx.mk
index 0133e16f3..1237ad3f4 100644
--- a/os/rt/ports/e200/compilers/GCC/mk/port_spc56elxx.mk
+++ b/os/rt/ports/e200/compilers/GCC/mk/port_spc56elxx.mk
@@ -6,7 +6,8 @@ PORTASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC56ELxx/boot.s \
$(CHIBIOS)/os/common/ports/e200/compilers/GCC/ivor.s \
$(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-PORTINC = ${CHIBIOS}/os/common/ports/e200/devices/SPC56ELxx \
+PORTINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
+ ${CHIBIOS}/os/common/ports/e200/devices/SPC56ELxx \
${CHIBIOS}/os/rt/ports/e200 \
${CHIBIOS}/os/rt/ports/e200/compilers/GCC