initialize timer in bsp
With new timer algorithm, timer should be initialized during startup. So add them to the bsps. Use these commands to get which bsp is missing calling the function: % git grep rt_system_timer_init bsp|sed -n 's|bsp/\([^/]*\).*|\1|p' | sort | uniq > have_tm_init % ls -1 bsp |sed -n 's|\([^/]*\).*|\1|p' | sort > all_bsp % comm -3 all_bsp have_tm_init beaglebone lpc176x lpc178x ls1bdev mb9bf506r stm32f10x xplorer4330
This commit is contained in:
parent
23e68a8bcc
commit
2a9e893c79
|
@ -40,6 +40,9 @@ void rtthread_startup(void)
|
||||||
/* initialize scheduler system */
|
/* initialize scheduler system */
|
||||||
rt_system_scheduler_init();
|
rt_system_scheduler_init();
|
||||||
|
|
||||||
|
/* initialize timer */
|
||||||
|
rt_system_timer_init();
|
||||||
|
|
||||||
/* initialize soft timer thread */
|
/* initialize soft timer thread */
|
||||||
rt_system_timer_thread_init();
|
rt_system_timer_thread_init();
|
||||||
|
|
||||||
|
|
|
@ -95,6 +95,9 @@ void rtthread_startup(void)
|
||||||
/* initialize application */
|
/* initialize application */
|
||||||
rt_application_init();
|
rt_application_init();
|
||||||
|
|
||||||
|
/* initialize timer */
|
||||||
|
rt_system_timer_init();
|
||||||
|
|
||||||
/* initialize timer thread */
|
/* initialize timer thread */
|
||||||
rt_system_timer_thread_init();
|
rt_system_timer_thread_init();
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,9 @@ void rtthread_startup(void)
|
||||||
finsh_set_device( FINSH_DEVICE_NAME );
|
finsh_set_device( FINSH_DEVICE_NAME );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* initialize timer */
|
||||||
|
rt_system_timer_init();
|
||||||
|
|
||||||
/* initialize timer thread */
|
/* initialize timer thread */
|
||||||
rt_system_timer_thread_init();
|
rt_system_timer_thread_init();
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,9 @@ void rtthread_startup(void)
|
||||||
/* init application */
|
/* init application */
|
||||||
rt_application_init();
|
rt_application_init();
|
||||||
|
|
||||||
|
/* initialize timer */
|
||||||
|
rt_system_timer_init();
|
||||||
|
|
||||||
/* initialize timer thread */
|
/* initialize timer thread */
|
||||||
rt_system_timer_thread_init();
|
rt_system_timer_thread_init();
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,9 @@ void rtthread_startup(void)
|
||||||
/* initialize application */
|
/* initialize application */
|
||||||
rt_application_init();
|
rt_application_init();
|
||||||
|
|
||||||
|
/* initialize timer */
|
||||||
|
rt_system_timer_init();
|
||||||
|
|
||||||
/* initialize timer thread */
|
/* initialize timer thread */
|
||||||
rt_system_timer_thread_init();
|
rt_system_timer_thread_init();
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,9 @@ void rtthread_startup(void)
|
||||||
/* init scheduler system */
|
/* init scheduler system */
|
||||||
rt_system_scheduler_init();
|
rt_system_scheduler_init();
|
||||||
|
|
||||||
|
/* initialize timer */
|
||||||
|
rt_system_timer_init();
|
||||||
|
|
||||||
/* init timer thread */
|
/* init timer thread */
|
||||||
rt_system_timer_thread_init();
|
rt_system_timer_thread_init();
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,9 @@ void rtthread_startup(void)
|
||||||
/* init application */
|
/* init application */
|
||||||
rt_application_init();
|
rt_application_init();
|
||||||
|
|
||||||
|
/* initialize timer */
|
||||||
|
rt_system_timer_init();
|
||||||
|
|
||||||
/* init timer thread */
|
/* init timer thread */
|
||||||
rt_system_timer_thread_init();
|
rt_system_timer_thread_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue