diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/ports/GCC/ARMCMx/crt0.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/os/ports/GCC/ARMCMx/crt0.c b/os/ports/GCC/ARMCMx/crt0.c index c1d32ba84..2d6c016bd 100644 --- a/os/ports/GCC/ARMCMx/crt0.c +++ b/os/ports/GCC/ARMCMx/crt0.c @@ -26,7 +26,15 @@ * @{
*/
-#include "ch.h"
+#include <stdint.h>
+
+#if !defined(FALSE)
+#define FALSE 0
+#endif
+
+#if !defined(TRUE)
+#define TRUE (!FALSE)
+#endif
typedef void (*funcp_t)(void);
typedef funcp_t * funcpp_t;
|