diff --git a/bsp/beaglebone/applications/startup.c b/bsp/beaglebone/applications/startup.c index 33539aece1..a34e406a0a 100644 --- a/bsp/beaglebone/applications/startup.c +++ b/bsp/beaglebone/applications/startup.c @@ -40,6 +40,9 @@ void rtthread_startup(void) /* initialize scheduler system */ rt_system_scheduler_init(); + /* initialize timer */ + rt_system_timer_init(); + /* initialize soft timer thread */ rt_system_timer_thread_init(); diff --git a/bsp/lpc176x/applications/startup.c b/bsp/lpc176x/applications/startup.c index 2c8b7024c4..f332155b17 100644 --- a/bsp/lpc176x/applications/startup.c +++ b/bsp/lpc176x/applications/startup.c @@ -95,6 +95,9 @@ void rtthread_startup(void) /* initialize application */ rt_application_init(); + /* initialize timer */ + rt_system_timer_init(); + /* initialize timer thread */ rt_system_timer_thread_init(); diff --git a/bsp/lpc178x/applications/startup.c b/bsp/lpc178x/applications/startup.c index b933618a23..2aebdb5f0d 100644 --- a/bsp/lpc178x/applications/startup.c +++ b/bsp/lpc178x/applications/startup.c @@ -87,6 +87,9 @@ void rtthread_startup(void) finsh_set_device( FINSH_DEVICE_NAME ); #endif + /* initialize timer */ + rt_system_timer_init(); + /* initialize timer thread */ rt_system_timer_thread_init(); diff --git a/bsp/ls1bdev/applications/startup.c b/bsp/ls1bdev/applications/startup.c index 2fdfa700ba..e73900485d 100644 --- a/bsp/ls1bdev/applications/startup.c +++ b/bsp/ls1bdev/applications/startup.c @@ -72,6 +72,9 @@ void rtthread_startup(void) /* init application */ rt_application_init(); + /* initialize timer */ + rt_system_timer_init(); + /* initialize timer thread */ rt_system_timer_thread_init(); diff --git a/bsp/mb9bf506r/applications/startup.c b/bsp/mb9bf506r/applications/startup.c index df9a93afb2..ab838c4fe3 100644 --- a/bsp/mb9bf506r/applications/startup.c +++ b/bsp/mb9bf506r/applications/startup.c @@ -71,6 +71,9 @@ void rtthread_startup(void) /* initialize application */ rt_application_init(); + /* initialize timer */ + rt_system_timer_init(); + /* initialize timer thread */ rt_system_timer_thread_init(); diff --git a/bsp/stm32f10x/applications/startup.c b/bsp/stm32f10x/applications/startup.c index 25d947dae9..713d221396 100644 --- a/bsp/stm32f10x/applications/startup.c +++ b/bsp/stm32f10x/applications/startup.c @@ -80,6 +80,9 @@ void rtthread_startup(void) /* init scheduler system */ rt_system_scheduler_init(); + /* initialize timer */ + rt_system_timer_init(); + /* init timer thread */ rt_system_timer_thread_init(); diff --git a/bsp/xplorer4330/applications/startup.c b/bsp/xplorer4330/applications/startup.c index 236854ab9b..f4c2779078 100644 --- a/bsp/xplorer4330/applications/startup.c +++ b/bsp/xplorer4330/applications/startup.c @@ -64,6 +64,9 @@ void rtthread_startup(void) /* init application */ rt_application_init(); + /* initialize timer */ + rt_system_timer_init(); + /* init timer thread */ rt_system_timer_thread_init();