Load configuration from rtconfig.h. Args: config_file: Path to configuration file
(self, config_file: str = 'rtconfig.h')
| 99 | self.logger.debug(f"Prepared environment with RTT_ROOT={self.root_directory}") |
| 100 | |
| 101 | def load_configuration(self, config_file: str = 'rtconfig.h') -> None: |
| 102 | """ |
| 103 | Load configuration from rtconfig.h. |
| 104 | |
| 105 | Args: |
| 106 | config_file: Path to configuration file |
| 107 | """ |
| 108 | config_path = os.path.join(self.bsp_directory, config_file) |
| 109 | if os.path.exists(config_path): |
| 110 | self.config_manager.load_from_file(config_path) |
| 111 | self.build_options = self.config_manager.get_all_options() |
| 112 | self.logger.info(f"Loaded configuration from {config_file}") |
| 113 | else: |
| 114 | self.logger.warning(f"Configuration file {config_file} not found") |
| 115 | |
| 116 | def get_dependency(self, depend: Any) -> bool: |
| 117 | """ |
no test coverage detected