the system main thread */
| 241 | |
| 242 | /* the system main thread */ |
| 243 | void main_thread_entry(void *parameter) |
| 244 | { |
| 245 | extern int main(void); |
| 246 | |
| 247 | #ifdef RT_USING_COMPONENTS_INIT |
| 248 | /* RT-Thread components initialization */ |
| 249 | rt_components_init(); |
| 250 | #endif |
| 251 | |
| 252 | #ifdef RT_USING_SMP |
| 253 | rt_hw_secondary_cpu_up(); |
| 254 | #endif |
| 255 | |
| 256 | /* invoke system main function */ |
| 257 | main(); |
| 258 | } |
| 259 | |
| 260 | void rt_application_init(void) |
| 261 | { |
nothing calls this directly
no test coverage detected