* This function will initial win32 */
| 92 | * This function will initial win32 |
| 93 | */ |
| 94 | int rt_hw_board_init(void) |
| 95 | { |
| 96 | /* init system memory */ |
| 97 | rt_hw_sram_init(); |
| 98 | |
| 99 | uart_console_init(); |
| 100 | |
| 101 | #ifdef _WIN32 |
| 102 | rt_thread_idle_sethook(rt_hw_win32_low_cpu); |
| 103 | #endif |
| 104 | |
| 105 | #if defined(RT_USING_CONSOLE) && defined(RT_USING_DEVICE) |
| 106 | rt_console_set_device(RT_CONSOLE_DEVICE_NAME); |
| 107 | #endif |
| 108 | /* init board */ |
| 109 | #ifdef RT_USING_COMPONENTS_INIT |
| 110 | rt_components_board_init(); |
| 111 | #endif |
| 112 | return 0; |
| 113 | } |
| 114 | |
| 115 | /*@}*/ |
nothing calls this directly
no test coverage detected