mlonmcu.platform.espidf package
Submodules
mlonmcu.platform.espidf.espidf module
ESP-IDF Platform
- class mlonmcu.platform.espidf.espidf.EspIdfPlatform(features=None, config=None)[source]
Bases:
CompilePlatform
,TargetPlatform
ESP-IDF Platform class.
- DEFAULTS = {'baud': 115200, 'build_dir': None, 'debug': False, 'flash_only': False, 'num_threads': 4, 'port': None, 'print_outputs': False, 'project_dir': None, 'project_template': None, 'use_idf_monitor': True, 'wait_for_user': True}
- FEATURES = {'benchmark', 'debug'}
- REQUIRED = {'espidf.install_dir', 'espidf.src_dir'}
- property baud
- property espidf_install_dir
- property espidf_src_dir
- property flash_only
- property idf_exe
- property port
- property project_template
- property use_idf_monitor
- property wait_for_user
mlonmcu.platform.espidf.espidf_target module
- class mlonmcu.platform.espidf.espidf_target.Esp32C3PerfCount(value)[source]
Bases:
Enum
An enumeration.
- BRANCH = 256
- BRANCH_TAKEN = 512
- CYCLE = 1
- IDLE = 16
- INST = 2
- INST_COMP = 1024
- JMP_HAZARD = 8
- JMP_UNCOND = 128
- LD_HAZARD = 4
- LOAD = 32
- STORE = 64
- class mlonmcu.platform.espidf.espidf_target.Esp32C3Target(name: str, features: List[Feature] | None = None, config: dict | None = None)[source]
Bases:
Target
- DEFAULTS = {'abi': None, 'arch': None, 'attr': '', 'count': Esp32C3PerfCount.CYCLE, 'extensions': ['i', 'm', 'c'], 'fpu': 'none', 'print_outputs': False, 'repeat': None, 'xlen': 32}
- property abi
- property arch
- property attr
- property count
- property extensions
- property fpu
- property has_fpu
- property xlen
Module contents
MLonMCU ESP-IDF platform
- class mlonmcu.platform.espidf.EspIdfPlatform(features=None, config=None)[source]
Bases:
CompilePlatform
,TargetPlatform
ESP-IDF Platform class.
- DEFAULTS = {'baud': 115200, 'build_dir': None, 'debug': False, 'flash_only': False, 'num_threads': 4, 'port': None, 'print_outputs': False, 'project_dir': None, 'project_template': None, 'use_idf_monitor': True, 'wait_for_user': True}
- FEATURES = {'benchmark', 'debug'}
- REQUIRED = {'espidf.install_dir', 'espidf.src_dir'}
- property baud
- property espidf_install_dir
- property espidf_src_dir
- property flash_only
- property idf_exe
- property port
- property project_template
- property use_idf_monitor
- property wait_for_user