summaryrefslogtreecommitdiff
path: root/bsp/taihu/applications/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/taihu/applications/startup.c')
-rw-r--r--bsp/taihu/applications/startup.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/bsp/taihu/applications/startup.c b/bsp/taihu/applications/startup.c
index 897947dae8..95b5c59cb7 100644
--- a/bsp/taihu/applications/startup.c
+++ b/bsp/taihu/applications/startup.c
@@ -29,45 +29,45 @@ extern int __heap_end;
*/
void rtthread_startup(void)
{
- /* init hardware interrupt */
- rt_hw_interrupt_init();
+ /* init hardware interrupt */
+ rt_hw_interrupt_init();
- /* init board */
- rt_hw_board_init();
- rt_show_version();
+ /* init board */
+ rt_hw_board_init();
+ rt_show_version();
- /* init tick */
- rt_system_tick_init();
+ /* init tick */
+ rt_system_tick_init();
- /* init timer system */
- rt_system_timer_init();
+ /* init timer system */
+ rt_system_timer_init();
- /* init memory system */
+ /* init memory system */
#ifdef RT_USING_HEAP
- rt_system_heap_init((void*)&__heap_start, (void*)&__heap_end);
+ rt_system_heap_init((void*)&__heap_start, (void*)&__heap_end);
#endif
- /* init scheduler system */
- rt_system_scheduler_init();
+ /* init scheduler system */
+ rt_system_scheduler_init();
- /* init application */
- rt_application_init();
+ /* init application */
+ rt_application_init();
#ifdef RT_USING_FINSH
- /* init finsh */
- finsh_system_init();
- finsh_set_device("uart1");
+ /* init finsh */
+ finsh_system_init();
+ finsh_set_device("uart1");
#endif
- /* init soft timer thread */
- rt_system_timer_thread_init();
+ /* init soft timer thread */
+ rt_system_timer_thread_init();
- /* init idle thread */
- rt_thread_idle_init();
+ /* init idle thread */
+ rt_thread_idle_init();
- /* start scheduler */
- rt_system_scheduler_start();
+ /* start scheduler */
+ rt_system_scheduler_start();
- /* never reach here */
- return ;
+ /* never reach here */
+ return ;
}