MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / main

Function main

bsp/efm32/startup.c:146–158  ·  view source on GitHub ↗

/ * @brief * Program entry point * * @details * * @note * ******************************************************************************/

Source from the content-addressed store, hash-verified

144 *
145 ******************************************************************************/
146int main(void)
147{
148 /* disable interrupt first */
149 rt_hw_interrupt_disable();
150
151 /* init system setting */
152 SystemInit();
153
154 /* startup RT-Thread RTOS */
155 rtthread_startup();
156
157 return 0;
158}
159
160/***************************************************************************//**
161 * @}

Callers

nothing calls this directly

Calls 3

rtthread_startupFunction · 0.70
rt_hw_interrupt_disableFunction · 0.50
SystemInitFunction · 0.50

Tested by

no test coverage detected