3.1.8.2.17. waf_tools.bms_config_generate.set_mcu

waf_tools.bms_config_generate.set_mcu(bld: BuildContext, system: System) → list[dict]

Configure MCU defines and environment variables.

Sets FOXBMS_MCU_USE_CACHE to (true) or (false) depending on whether the cache is enabled in the configuration.

Parameters:
  • bld – The active waf build context.

  • system – The validated system configuration.

Returns:

A list of preprocessor defines for the MCU configuration.