aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/PPC/SPC563Mxx
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC/PPC/SPC563Mxx')
-rw-r--r--os/ports/GCC/PPC/SPC563Mxx/ivor.s8
-rw-r--r--os/ports/GCC/PPC/SPC563Mxx/vectors.s7
2 files changed, 12 insertions, 3 deletions
diff --git a/os/ports/GCC/PPC/SPC563Mxx/ivor.s b/os/ports/GCC/PPC/SPC563Mxx/ivor.s
index 34cfae43d..de937ef17 100644
--- a/os/ports/GCC/PPC/SPC563Mxx/ivor.s
+++ b/os/ports/GCC/PPC/SPC563Mxx/ivor.s
@@ -26,10 +26,12 @@
* @{
*/
+/*
+ * Imports the PPC configuration headers.
+ */
+#define _FROM_ASM_
#include "chconf.h"
-
-#define FALSE 0
-#define TRUE 1
+#include "chcore.h"
#if !defined(__DOXYGEN__)
/*
diff --git a/os/ports/GCC/PPC/SPC563Mxx/vectors.s b/os/ports/GCC/PPC/SPC563Mxx/vectors.s
index 32cf37942..c823244c8 100644
--- a/os/ports/GCC/PPC/SPC563Mxx/vectors.s
+++ b/os/ports/GCC/PPC/SPC563Mxx/vectors.s
@@ -26,6 +26,13 @@
* @{
*/
+/*
+ * Imports the PPC configuration headers.
+ */
+#define _FROM_ASM_
+#include "chconf.h"
+#include "chcore.h"
+
#if !defined(__DOXYGEN__)
/* BAM info, SWT off, WTE off, VLE from settings.*/