diff options
Diffstat (limited to 'demos/STM32/RT-STM32F103-MAPLEMINI')
-rw-r--r-- | demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h | 2 | ||||
-rw-r--r-- | demos/STM32/RT-STM32F103-MAPLEMINI/main.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h index 32cc09664..1e7423018 100644 --- a/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h +++ b/demos/STM32/RT-STM32F103-MAPLEMINI/chconf.h @@ -516,6 +516,8 @@ /* Port-specific settings (override port settings defaulted in chcore.h). */
/*===========================================================================*/
+#define CORTEX_VTOR_INIT 0x5000
+
#endif /* CHCONF_H */
/** @} */
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/main.c b/demos/STM32/RT-STM32F103-MAPLEMINI/main.c index 6ebb52d3a..df5564d48 100644 --- a/demos/STM32/RT-STM32F103-MAPLEMINI/main.c +++ b/demos/STM32/RT-STM32F103-MAPLEMINI/main.c @@ -19,7 +19,7 @@ #include "ch.h"
#include "hal.h"
-#include "test.h"
+#include "ch_test.h"
#include "shell.h"
#include "chprintf.h"
|