|
@@ -93,17 +93,11 @@ void rt_hw_board_init()
|
|
|
/* Configure the SysTick */
|
|
|
SysTick_Configuration();
|
|
|
|
|
|
- stm32_hw_usart_init();
|
|
|
- stm32_hw_pin_init();
|
|
|
-
|
|
|
+ rt_components_board_init();
|
|
|
+
|
|
|
#ifdef RT_USING_CONSOLE
|
|
|
rt_console_set_device(CONSOLE_DEVICE);
|
|
|
-#endif
|
|
|
-
|
|
|
-#ifdef RT_USING_COMPONENTS_INIT
|
|
|
- rt_components_board_init();
|
|
|
-#endif
|
|
|
-
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
/*@}*/
|