diff options
Diffstat (limited to 'demos/ARMCM3-STM32F103-GCC/board.c')
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/board.c b/demos/ARMCM3-STM32F103-GCC/board.c index 283341c4f..38a8e177c 100644 --- a/demos/ARMCM3-STM32F103-GCC/board.c +++ b/demos/ARMCM3-STM32F103-GCC/board.c @@ -21,6 +21,7 @@ #include <nvic.h>
#include "board.h"
+#include "stm32_serial.h"
/*
* Hardware initialization goes here.
@@ -88,4 +89,9 @@ void hwinit(void) { ST_RVR = SYSCLK / (8000000 / CH_FREQUENCY) - 1;
ST_CVR = 0;
ST_CSR = ENABLE_ON_BITS | TICKINT_ENABLED_BITS | CLKSOURCE_EXT_BITS;
+
+ /*
+ * Other subsystems initialization.
+ */
+ InitSerial(0xA0, 0xA0, 0xA0);
}
|