3.1.41.2.16. waf_tools.vscode.get_dynamic_include_paths

waf_tools.vscode.get_dynamic_include_paths(bld: BuildContext, tg: task_gen) → list[str]

Assemble dynamic include paths based on the project configuration.

Constructs include paths for configurable subsystems (SOC/SOE/SOF/SOH estimators, IMD driver, RTOS variant, balancing strategy, temperature sensor, UART/TCP support) by reading the corresponding environment variables from the task generator’s env.

Additionally appends include paths resolved from use dependencies via get_use_includes().

Parameters:
  • bld – The active build context.

  • tg – The task generator whose env provides the configuration variables (e.g. FOXBMS_RTOS_NAME, FOXBMS_IMD_MANUFACTURER).

Returns:

A list of absolute include path strings derived from the current project configuration.