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

Function $Sub$$main

src/components.c:143–147  ·  view source on GitHub ↗

re-define main function */

Source from the content-addressed store, hash-verified

141extern int $Super$$main(void);
142/* re-define main function */
143int $Sub$$main(void)
144{
145 rtthread_startup();
146 return 0;
147}
148#elif defined(__ICCARM__)
149/* __low_level_init will auto called by IAR cstartup */
150extern void __iar_data_init3(void);

Callers

nothing calls this directly

Calls 1

rtthread_startupFunction · 0.70

Tested by

no test coverage detected