[BSP]BM9BF618S:fix timer initialization issue.
This commit is contained in:
parent
04a7c95037
commit
915f1adc93
@ -44,6 +44,9 @@ void rtthread_startup(void)
|
||||
/* show version */
|
||||
rt_show_version();
|
||||
|
||||
/* init timer system */
|
||||
rt_system_timer_init();
|
||||
|
||||
#ifdef RT_USING_HEAP
|
||||
#ifdef __CC_ARM
|
||||
rt_system_heap_init((void*)&Image$$RW_IRAM1$$ZI$$Limit, (void*)FM3_SRAM_END);
|
||||
@ -59,7 +62,6 @@ void rtthread_startup(void)
|
||||
rt_system_scheduler_init();
|
||||
|
||||
/* init timer thread */
|
||||
rt_system_timer_init();
|
||||
rt_system_timer_thread_init();
|
||||
|
||||
/* init application */
|
||||
|
Loading…
x
Reference in New Issue
Block a user