提交 8fd800fe 编写于 作者: lymzzyh's avatar lymzzyh

[bsp][stm32] fix mdk simulator

上级 c574c49b
......@@ -125,8 +125,13 @@ RT_WEAK void rt_hw_board_init()
/* HAL_Init() function is called at the beginning of the program */
HAL_Init();
/* enable interrupt */
__set_PRIMASK(0);
/* System clock initialization */
SystemClock_Config();
/* disbale interrupt */
__set_PRIMASK(1);
rt_hw_systick_init();
/* Heap initialization */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册