diff options
Diffstat (limited to 'boards/ST_STM3210C_EVAL/board.c')
-rw-r--r-- | boards/ST_STM3210C_EVAL/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/boards/ST_STM3210C_EVAL/board.c b/boards/ST_STM3210C_EVAL/board.c index 77f958101..e9179f9e9 100644 --- a/boards/ST_STM3210C_EVAL/board.c +++ b/boards/ST_STM3210C_EVAL/board.c @@ -43,6 +43,12 @@ void hwinit1(void) { halInit();
/*
+ * Remap USART2 to the PD5/PD6 pins, done after halInit since HAL resets
+ * these.
+ */
+ AFIO->MAPR |= AFIO_MAPR_USART2_REMAP;
+
+ /*
* ChibiOS/RT initialization.
*/
chSysInit();
|