Load configuration from rtconfig.h. Args: config_file: Configuration file name Returns: Dictionary of build options
(config_file: str = 'rtconfig.h')
| 57 | |
| 58 | |
| 59 | def 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 | |
| 75 | def DefineGroup(name: str, src: List[str], depend: Any = None, **kwargs) -> List: |
no test coverage detected