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

Function load_rtconfig

tools/ng/adapter.py:59–72  ·  view source on GitHub ↗

Load configuration from rtconfig.h. Args: config_file: Configuration file name Returns: Dictionary of build options

(config_file: str = 'rtconfig.h')

Source from the content-addressed store, hash-verified

57
58
59def load_rtconfig(config_file: str = 'rtconfig.h') -> Dict[str, Any]:
60 """
61 Load configuration from rtconfig.h.
62
63 Args:
64 config_file: Configuration file name
65
66 Returns:
67 Dictionary of build options
68 """
69 if _context:
70 _context.load_configuration(config_file)
71 return _context.build_options
72 return {}
73
74
75def DefineGroup(name: str, src: List[str], depend: Any = None, **kwargs) -> List:

Callers 1

PrepareModuleBuildingFunction · 0.85

Calls 1

load_configurationMethod · 0.80

Tested by

no test coverage detected