Merge pull request #313 from Mike-Mao/newpoll

[BSP]BM9BF618S:fix timer initialization issue.
This commit is contained in:
Bernard Xiong 2014-08-19 10:48:43 +08:00
commit ee824bddfd
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ void rtthread_startup(void)
/* show version */ /* show version */
rt_show_version(); rt_show_version();
/* init timer system */
rt_system_timer_init();
#ifdef RT_USING_HEAP #ifdef RT_USING_HEAP
#ifdef __CC_ARM #ifdef __CC_ARM
rt_system_heap_init((void*)&Image$$RW_IRAM1$$ZI$$Limit, (void*)FM3_SRAM_END); rt_system_heap_init((void*)&Image$$RW_IRAM1$$ZI$$Limit, (void*)FM3_SRAM_END);