idf_build_apps.manifest package
- class idf_build_apps.manifest.if_parser.BoolAnd(t: ParseResults)
Bases:
BoolExpr
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.if_parser.BoolOr(t: ParseResults)
Bases:
BoolExpr
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.if_parser.BoolStmt(t: ParseResults)
Bases:
Stmt
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.if_parser.ChipAttr(t: ParseResults)
Bases:
Stmt
Attributes defined in SOC Header Files and other keywords as followed:
IDF_TARGET: target
INCLUDE_DEFAULT: take the default build targets into account or not
IDF_VERSION_MAJOR: major version of ESP-IDF
IDF_VERSION_MINOR: minor version of ESP-IDF
IDF_VERSION_PATCH: patch version of ESP-IDF
CONFIG_NAME: config name defined in the config rules
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.if_parser.Integer(t: ParseResults)
Bases:
Stmt
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.if_parser.List_(t: ParseResults)
Bases:
Stmt
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.if_parser.Stmt
Bases:
object
Statement
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.if_parser.String(t: ParseResults)
Bases:
Stmt
- get_value(target: str, config_name: str) Any
Lazy calculated. All subclasses of Stmt should implement this function.
- Parameters:
target (str) – ESP-IDF target
config_name – config name
- Returns:
the value of the statement
- class idf_build_apps.manifest.manifest.DefaultRule(folder: str)
Bases:
FolderRule
- class idf_build_apps.manifest.manifest.FolderRule(folder: str, enable: Optional[List[Dict[str, Any]]] = None, disable: Optional[List[Dict[str, Any]]] = None, disable_test: Optional[List[Dict[str, Any]]] = None, depends_components: Optional[List[Union[str, Dict[str, Any]]]] = None, depends_filepatterns: Optional[List[Union[str, Dict[str, Any]]]] = None)
Bases:
object
- DEFAULT_BUILD_TARGETS = []
- enable_build_targets(default_sdkconfig_target: Optional[str] = None, config_name: Optional[str] = None) List[str]
- enable_test_targets(default_sdkconfig_target: Optional[str] = None, config_name: Optional[str] = None) List[str]
- class idf_build_apps.manifest.manifest.IfClause(stmt: str, temporary: bool = False, reason: Optional[str] = None)
Bases:
object
- get_value(target: str, config_name: str) Any
- class idf_build_apps.manifest.manifest.Manifest(rules: Iterable[FolderRule])
Bases:
object
- CHECK_MANIFEST_RULES = False
- ROOTPATH = '.'
- depends_components(folder: str, default_sdkconfig_target: Optional[str] = None, config_name: Optional[str] = None) List[str]
- depends_filepatterns(folder: str, default_sdkconfig_target: Optional[str] = None, config_name: Optional[str] = None) List[str]
- enable_build_targets(folder: str, default_sdkconfig_target: Optional[str] = None, config_name: Optional[str] = None) List[str]
- enable_test_targets(folder: str, default_sdkconfig_target: Optional[str] = None, config_name: Optional[str] = None) List[str]
- class idf_build_apps.manifest.manifest.SwitchClause(if_clauses: List[IfClause], contents: List[List[str]], default_clause: List[str])
Bases:
object
- get_value(target: str, config_name: str) Any
- class idf_build_apps.manifest.soc_header.SocHeader(target: str)
Bases:
dict
- CAPS_HEADER_FILEPATTERN = '*_caps.h'
- idf_build_apps.manifest.soc_header.get_defines(header_path: str) List[str]
- idf_build_apps.manifest.soc_header.parse_define(define_line: str) ParseResults
Manifest file