3.1.8.2.14. waf_tools.bms_config_generate.set_debug
- waf_tools.bms_config_generate.set_debug(bld: BuildContext, system: System) list[dict]
Configure debug interface defines and environment variables.
Iterates over the configured debug interfaces and emits the corresponding support defines. Sets
bld.env.FOXBMS_UART_SUPPORTto1if UART is enabled.- Parameters:
bld – The active waf build context.
system – The validated system configuration.
- Returns:
A list of define dictionaries for header generation.