MCPcopy Create free account
hub / github.com/apache/nuttx / main

Function main

tools/configure.c:1643–1674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1641 ****************************************************************************/
1642
1643int main(int argc, char **argv, char **envp)
1644{
1645 debug("main: Checking arguments\n");
1646 parse_args(argc, argv);
1647
1648 debug("main: Checking NuttX Directories\n");
1649 find_topdir();
1650 check_configdir();
1651 check_configured();
1652
1653 debug("main: Reading the configuration/version files\n");
1654 read_configfile();
1655 read_versionfile();
1656 get_verstring();
1657
1658 debug("main: Checking Configuration Directory\n");
1659 check_configuration();
1660
1661 debug("main: Checking Application Directories\n");
1662 check_appdir();
1663 debug("main: Using apppath=%s\n", g_apppath ? g_apppath : "<null>");
1664
1665 debug("main: Configuring\n");
1666 configure();
1667
1668 debug("main: Refresh configuration\n");
1669 refresh();
1670
1671 debug("main: Save original configuration\n");
1672 save_original_config();
1673 return EXIT_SUCCESS;
1674}

Callers

nothing calls this directly

Calls 13

find_topdirFunction · 0.85
check_configdirFunction · 0.85
check_configuredFunction · 0.85
read_configfileFunction · 0.85
read_versionfileFunction · 0.85
get_verstringFunction · 0.85
check_configurationFunction · 0.85
check_appdirFunction · 0.85
refreshFunction · 0.85
save_original_configFunction · 0.85
debugFunction · 0.70
parse_argsFunction · 0.70

Tested by

no test coverage detected