3.1.8.2.19. waf_tools.bms_config_generate.set_rtos
- waf_tools.bms_config_generate.set_rtos(bld: BuildContext, system: System) list[dict]
Configure RTOS defines and environment variables.
Sets
FOXBMS_RTOS_<NAME>and processesRTOSaddons (e.g.freertos-plus-tcp). When TCP support is enabled, emitsFOXBMS_TCP_SUPPORTand conditionallyipconfigHAS_DEBUG_PRINTFif UART is also active.When TCP is not used, phantom interrupt defines are emitted for the EMAC InterruptServiceRoutines.
- Parameters:
bld – The active waf build context.
system – The validated system configuration.
- Returns:
A list of define dictionaries for header generation.