mlonmcu.platform package
Subpackages
- mlonmcu.platform.espidf package
- Submodules
- mlonmcu.platform.espidf.espidf module
EspIdfPlatform
EspIdfPlatform.DEFAULTS
EspIdfPlatform.FEATURES
EspIdfPlatform.REQUIRED
EspIdfPlatform.baud
EspIdfPlatform.check()
EspIdfPlatform.close()
EspIdfPlatform.compile()
EspIdfPlatform.create_target()
EspIdfPlatform.espidf_install_dir
EspIdfPlatform.espidf_src_dir
EspIdfPlatform.flash()
EspIdfPlatform.flash_only
EspIdfPlatform.generate()
EspIdfPlatform.get_idf_cmake_args()
EspIdfPlatform.get_idf_serial_args()
EspIdfPlatform.get_supported_targets()
EspIdfPlatform.idf_exe
EspIdfPlatform.init_directory()
EspIdfPlatform.invoke_idf_exe()
EspIdfPlatform.monitor()
EspIdfPlatform.port
EspIdfPlatform.prepare()
EspIdfPlatform.project_template
EspIdfPlatform.use_idf_monitor
EspIdfPlatform.wait_for_user
get_project_template()
- mlonmcu.platform.espidf.espidf_target module
Esp32C3PerfCount
Esp32C3Target
Esp32C3Target.DEFAULTS
Esp32C3Target.abi
Esp32C3Target.add_backend_config()
Esp32C3Target.arch
Esp32C3Target.attr
Esp32C3Target.count
Esp32C3Target.extensions
Esp32C3Target.fpu
Esp32C3Target.get_arch()
Esp32C3Target.get_backend_config()
Esp32C3Target.get_platform_defs()
Esp32C3Target.get_target_system()
Esp32C3Target.has_fpu
Esp32C3Target.xlen
create_espidf_platform_target()
get_espidf_platform_targets()
register_espidf_platform_target()
- Module contents
EspIdfPlatform
EspIdfPlatform.DEFAULTS
EspIdfPlatform.FEATURES
EspIdfPlatform.REQUIRED
EspIdfPlatform.baud
EspIdfPlatform.check()
EspIdfPlatform.close()
EspIdfPlatform.compile()
EspIdfPlatform.create_target()
EspIdfPlatform.espidf_install_dir
EspIdfPlatform.espidf_src_dir
EspIdfPlatform.flash()
EspIdfPlatform.flash_only
EspIdfPlatform.generate()
EspIdfPlatform.get_idf_cmake_args()
EspIdfPlatform.get_idf_serial_args()
EspIdfPlatform.get_supported_targets()
EspIdfPlatform.idf_exe
EspIdfPlatform.init_directory()
EspIdfPlatform.invoke_idf_exe()
EspIdfPlatform.monitor()
EspIdfPlatform.port
EspIdfPlatform.prepare()
EspIdfPlatform.project_template
EspIdfPlatform.use_idf_monitor
EspIdfPlatform.wait_for_user
- mlonmcu.platform.microtvm package
- Submodules
- mlonmcu.platform.microtvm.microtvm module
- mlonmcu.platform.microtvm.microtvm_arduino_target module
- mlonmcu.platform.microtvm.microtvm_backend module
- mlonmcu.platform.microtvm.microtvm_base_platform module
MicroTvmBasePlatform
MicroTvmBasePlatform.DEFAULTS
MicroTvmBasePlatform.REQUIRED
MicroTvmBasePlatform.close()
MicroTvmBasePlatform.collect_available_project_options()
MicroTvmBasePlatform.get_template_args()
MicroTvmBasePlatform.init_directory()
MicroTvmBasePlatform.invoke_tvmc()
MicroTvmBasePlatform.invoke_tvmc_micro()
MicroTvmBasePlatform.project_options
MicroTvmBasePlatform.project_template
MicroTvmBasePlatform.tvm_build_dir
MicroTvmBasePlatform.tvm_configs_dir
MicroTvmBasePlatform.tvm_pythonpath
MicroTvmBasePlatform.tvmc_custom_script
filter_project_options()
get_project_option_args()
parse_project_options_from_stdout()
- mlonmcu.platform.microtvm.microtvm_build_platform module
- mlonmcu.platform.microtvm.microtvm_compile_platform module
- mlonmcu.platform.microtvm.microtvm_corev_ovpsim_target module
CoreVOVPSimMicroTvmPlatformTarget
CoreVOVPSimMicroTvmPlatformTarget.DEFAULTS
CoreVOVPSimMicroTvmPlatformTarget.FEATURES
CoreVOVPSimMicroTvmPlatformTarget.REQUIRED
CoreVOVPSimMicroTvmPlatformTarget.abi
CoreVOVPSimMicroTvmPlatformTarget.add_backend_config()
CoreVOVPSimMicroTvmPlatformTarget.attr
CoreVOVPSimMicroTvmPlatformTarget.enable_xcorevalu
CoreVOVPSimMicroTvmPlatformTarget.enable_xcorevbi
CoreVOVPSimMicroTvmPlatformTarget.enable_xcorevbitmanip
CoreVOVPSimMicroTvmPlatformTarget.enable_xcorevhwlp
CoreVOVPSimMicroTvmPlatformTarget.enable_xcorevmac
CoreVOVPSimMicroTvmPlatformTarget.enable_xcorevmem
CoreVOVPSimMicroTvmPlatformTarget.enable_xcorevsimd
CoreVOVPSimMicroTvmPlatformTarget.etiss_extra_args
CoreVOVPSimMicroTvmPlatformTarget.etiss_script
CoreVOVPSimMicroTvmPlatformTarget.extensions
CoreVOVPSimMicroTvmPlatformTarget.fpu
CoreVOVPSimMicroTvmPlatformTarget.gcc_arch
CoreVOVPSimMicroTvmPlatformTarget.get_backend_config()
CoreVOVPSimMicroTvmPlatformTarget.get_project_options()
CoreVOVPSimMicroTvmPlatformTarget.llvm_arch
CoreVOVPSimMicroTvmPlatformTarget.llvm_prefix
CoreVOVPSimMicroTvmPlatformTarget.microtvm_ovpsim_src_dir
CoreVOVPSimMicroTvmPlatformTarget.riscv_gcc_install_dir
CoreVOVPSimMicroTvmPlatformTarget.riscv_gcc_name
CoreVOVPSimMicroTvmPlatformTarget.toolchain
CoreVOVPSimMicroTvmPlatformTarget.xlen
- mlonmcu.platform.microtvm.microtvm_espidf_target module
EspidfMicroTvmPlatformTarget
EspidfMicroTvmPlatformTarget.DEFAULTS
EspidfMicroTvmPlatformTarget.REQUIRED
EspidfMicroTvmPlatformTarget.baud
EspidfMicroTvmPlatformTarget.board
EspidfMicroTvmPlatformTarget.esp_idf_install_dir
EspidfMicroTvmPlatformTarget.esp_idf_src_dir
EspidfMicroTvmPlatformTarget.get_project_options()
EspidfMicroTvmPlatformTarget.microtvm_espidf_template
EspidfMicroTvmPlatformTarget.port
- mlonmcu.platform.microtvm.microtvm_etiss_target module
EtissMicroTvmPlatformTarget
EtissMicroTvmPlatformTarget.DEFAULTS
EtissMicroTvmPlatformTarget.FEATURES
EtissMicroTvmPlatformTarget.REQUIRED
EtissMicroTvmPlatformTarget.abi
EtissMicroTvmPlatformTarget.add_backend_config()
EtissMicroTvmPlatformTarget.attr
EtissMicroTvmPlatformTarget.cpu_arch
EtissMicroTvmPlatformTarget.enable_xcorevalu
EtissMicroTvmPlatformTarget.enable_xcorevbi
EtissMicroTvmPlatformTarget.enable_xcorevbitmanip
EtissMicroTvmPlatformTarget.enable_xcorevhwlp
EtissMicroTvmPlatformTarget.enable_xcorevmac
EtissMicroTvmPlatformTarget.enable_xcorevmem
EtissMicroTvmPlatformTarget.enable_xcorevsimd
EtissMicroTvmPlatformTarget.etiss_extra_args
EtissMicroTvmPlatformTarget.etiss_script
EtissMicroTvmPlatformTarget.extensions
EtissMicroTvmPlatformTarget.fpu
EtissMicroTvmPlatformTarget.gcc_arch
EtissMicroTvmPlatformTarget.get_backend_config()
EtissMicroTvmPlatformTarget.get_project_options()
EtissMicroTvmPlatformTarget.llvm_arch
EtissMicroTvmPlatformTarget.llvm_prefix
EtissMicroTvmPlatformTarget.microtvm_etiss_src_dir
EtissMicroTvmPlatformTarget.riscv_gcc_install_dir
EtissMicroTvmPlatformTarget.riscv_gcc_name
EtissMicroTvmPlatformTarget.toolchain
EtissMicroTvmPlatformTarget.xlen
- mlonmcu.platform.microtvm.microtvm_host_target module
- mlonmcu.platform.microtvm.microtvm_mlonmcu_target module
MlonmcuMicroTvmPlatformTarget
MlonmcuMicroTvmPlatformTarget.DEFAULTS
MlonmcuMicroTvmPlatformTarget.FEATURES
MlonmcuMicroTvmPlatformTarget.REQUIRED
MlonmcuMicroTvmPlatformTarget.abi
MlonmcuMicroTvmPlatformTarget.add_backend_config()
MlonmcuMicroTvmPlatformTarget.attr
MlonmcuMicroTvmPlatformTarget.cpu_arch
MlonmcuMicroTvmPlatformTarget.enable_xcorevalu
MlonmcuMicroTvmPlatformTarget.enable_xcorevbi
MlonmcuMicroTvmPlatformTarget.enable_xcorevbitmanip
MlonmcuMicroTvmPlatformTarget.enable_xcorevhwlp
MlonmcuMicroTvmPlatformTarget.enable_xcorevmac
MlonmcuMicroTvmPlatformTarget.enable_xcorevmem
MlonmcuMicroTvmPlatformTarget.enable_xcorevsimd
MlonmcuMicroTvmPlatformTarget.etiss_extra_args
MlonmcuMicroTvmPlatformTarget.etiss_script
MlonmcuMicroTvmPlatformTarget.extensions
MlonmcuMicroTvmPlatformTarget.fpu
MlonmcuMicroTvmPlatformTarget.gcc_arch
MlonmcuMicroTvmPlatformTarget.get_backend_config()
MlonmcuMicroTvmPlatformTarget.get_project_options()
MlonmcuMicroTvmPlatformTarget.llvm_arch
MlonmcuMicroTvmPlatformTarget.llvm_prefix
MlonmcuMicroTvmPlatformTarget.microtvm_etiss_src_dir
MlonmcuMicroTvmPlatformTarget.riscv_gcc_install_dir
MlonmcuMicroTvmPlatformTarget.riscv_gcc_name
MlonmcuMicroTvmPlatformTarget.toolchain
MlonmcuMicroTvmPlatformTarget.xlen
- mlonmcu.platform.microtvm.microtvm_spike_target module
SpikeMicroTvmPlatformTarget
SpikeMicroTvmPlatformTarget.DEFAULTS
SpikeMicroTvmPlatformTarget.FEATURES
SpikeMicroTvmPlatformTarget.REQUIRED
SpikeMicroTvmPlatformTarget.extensions
SpikeMicroTvmPlatformTarget.get_backend_config()
SpikeMicroTvmPlatformTarget.get_project_options()
SpikeMicroTvmPlatformTarget.llvm_prefix
SpikeMicroTvmPlatformTarget.microtvm_spike_src_dir
SpikeMicroTvmPlatformTarget.spike_exe
SpikeMicroTvmPlatformTarget.spike_pk
SpikeMicroTvmPlatformTarget.toolchain
- mlonmcu.platform.microtvm.microtvm_target module
- mlonmcu.platform.microtvm.microtvm_target_platform module
MicroTvmTargetPlatform
MicroTvmTargetPlatform.DEFAULTS
MicroTvmTargetPlatform.FEATURES
MicroTvmTargetPlatform.experimental_tvmc_print_time
MicroTvmTargetPlatform.flash()
MicroTvmTargetPlatform.get_tvmc_run_args()
MicroTvmTargetPlatform.invoke_tvmc_micro_flash()
MicroTvmTargetPlatform.invoke_tvmc_micro_run()
MicroTvmTargetPlatform.invoke_tvmc_run()
MicroTvmTargetPlatform.monitor()
MicroTvmTargetPlatform.run()
MicroTvmTargetPlatform.skip_flash
- mlonmcu.platform.microtvm.microtvm_template_target module
- mlonmcu.platform.microtvm.microtvm_tune_platform module
- mlonmcu.platform.microtvm.microtvm_zephyr_target module
ZephyrMicroTvmPlatformTarget
ZephyrMicroTvmPlatformTarget.DEFAULTS
ZephyrMicroTvmPlatformTarget.REQUIRED
ZephyrMicroTvmPlatformTarget.get_project_options()
ZephyrMicroTvmPlatformTarget.port
ZephyrMicroTvmPlatformTarget.update_environment()
ZephyrMicroTvmPlatformTarget.zephyr_install_dir
ZephyrMicroTvmPlatformTarget.zephyr_sdk_dir
- Module contents
- mlonmcu.platform.mlif package
- Submodules
- mlonmcu.platform.mlif.mlif module
MlifPlatform
MlifPlatform.DEFAULTS
MlifPlatform.FEATURES
MlifPlatform.OPTIONAL
MlifPlatform.REQUIRED
MlifPlatform.close()
MlifPlatform.compile()
MlifPlatform.configure()
MlifPlatform.create_target()
MlifPlatform.debug_symbols
MlifPlatform.fail_on_error
MlifPlatform.fuse_ld
MlifPlatform.garbage_collect
MlifPlatform.gen_data_artifact()
MlifPlatform.generate()
MlifPlatform.get_cmake_args()
MlifPlatform.get_definitions()
MlifPlatform.get_supported_targets()
MlifPlatform.goal
MlifPlatform.ignore_data
MlifPlatform.init_directory()
MlifPlatform.input_data_path
MlifPlatform.llvm_dir
MlifPlatform.lto
MlifPlatform.mem_only
MlifPlatform.mlif_dir
MlifPlatform.model_support_dir
MlifPlatform.optimize
MlifPlatform.output_data_path
MlifPlatform.prebuild_lib_dir
MlifPlatform.prepare()
MlifPlatform.prepare_environment()
MlifPlatform.skip_check
MlifPlatform.slim_cpp
MlifPlatform.srecord_dir
MlifPlatform.strip_strings
MlifPlatform.template
MlifPlatform.toolchain
MlifPlatform.validate_outputs
MlifPlatform.verbose_makefile
- mlonmcu.platform.mlif.mlif_target module
- Module contents
MlifPlatform
MlifPlatform.DEFAULTS
MlifPlatform.FEATURES
MlifPlatform.OPTIONAL
MlifPlatform.REQUIRED
MlifPlatform.close()
MlifPlatform.compile()
MlifPlatform.configure()
MlifPlatform.create_target()
MlifPlatform.debug_symbols
MlifPlatform.fail_on_error
MlifPlatform.fuse_ld
MlifPlatform.garbage_collect
MlifPlatform.gen_data_artifact()
MlifPlatform.generate()
MlifPlatform.get_cmake_args()
MlifPlatform.get_definitions()
MlifPlatform.get_supported_targets()
MlifPlatform.goal
MlifPlatform.ignore_data
MlifPlatform.init_directory()
MlifPlatform.input_data_path
MlifPlatform.llvm_dir
MlifPlatform.lto
MlifPlatform.mem_only
MlifPlatform.mlif_dir
MlifPlatform.model_support_dir
MlifPlatform.optimize
MlifPlatform.output_data_path
MlifPlatform.prebuild_lib_dir
MlifPlatform.prepare()
MlifPlatform.prepare_environment()
MlifPlatform.skip_check
MlifPlatform.slim_cpp
MlifPlatform.srecord_dir
MlifPlatform.strip_strings
MlifPlatform.template
MlifPlatform.toolchain
MlifPlatform.validate_outputs
MlifPlatform.verbose_makefile
- mlonmcu.platform.tvm package
- Submodules
- mlonmcu.platform.tvm.tvm module
- mlonmcu.platform.tvm.tvm_backend module
- mlonmcu.platform.tvm.tvm_base_platform module
- mlonmcu.platform.tvm.tvm_build_platform module
- mlonmcu.platform.tvm.tvm_rpc_platform module
- mlonmcu.platform.tvm.tvm_target module
- mlonmcu.platform.tvm.tvm_target_platform module
TvmTargetPlatform
TvmTargetPlatform.DEFAULTS
TvmTargetPlatform.FEATURES
TvmTargetPlatform.REQUIRED
TvmTargetPlatform.aggregate
TvmTargetPlatform.create_target()
TvmTargetPlatform.fill_mode
TvmTargetPlatform.flash()
TvmTargetPlatform.get_supported_targets()
TvmTargetPlatform.get_tvmc_run_args()
TvmTargetPlatform.ins_file
TvmTargetPlatform.invoke_tvmc_run()
TvmTargetPlatform.monitor()
TvmTargetPlatform.number
TvmTargetPlatform.outs_file
TvmTargetPlatform.print_top
TvmTargetPlatform.profile
TvmTargetPlatform.repeat
TvmTargetPlatform.run()
TvmTargetPlatform.total_time
- mlonmcu.platform.tvm.tvm_tune_platform module
TvmTunePlatform
TvmTunePlatform.DEFAULTS
TvmTunePlatform.FEATURES
TvmTunePlatform.REQUIRED
TvmTunePlatform.enable_wandb
TvmTunePlatform.experimental_tvmc_tune_tasks
TvmTunePlatform.experimental_tvmc_tune_visualize
TvmTunePlatform.get_autoscheduler_tune_args()
TvmTunePlatform.get_autotvm_tune_args()
TvmTunePlatform.get_metascheduler_tune_args()
TvmTunePlatform.get_tune_args()
TvmTunePlatform.invoke_tvmc_tune()
TvmTunePlatform.min_repeat_ms
TvmTunePlatform.tune_tasks
- Module contents
- mlonmcu.platform.zephyr package
- Submodules
- mlonmcu.platform.zephyr.zephyr module
ZephyrPlatform
ZephyrPlatform.DEFAULTS
ZephyrPlatform.FEATURES
ZephyrPlatform.REQUIRED
ZephyrPlatform.baud
ZephyrPlatform.build_dir
ZephyrPlatform.close()
ZephyrPlatform.compile()
ZephyrPlatform.create_target()
ZephyrPlatform.flash()
ZephyrPlatform.flash_only
ZephyrPlatform.generate()
ZephyrPlatform.get_serial()
ZephyrPlatform.get_supported_targets()
ZephyrPlatform.get_west_cmake_args()
ZephyrPlatform.init_directory()
ZephyrPlatform.invoke_west()
ZephyrPlatform.monitor()
ZephyrPlatform.optimize
ZephyrPlatform.port
ZephyrPlatform.prepare()
ZephyrPlatform.project_template
ZephyrPlatform.wait_for_user
ZephyrPlatform.zephyr_install_dir
ZephyrPlatform.zephyr_sdk_dir
ZephyrPlatform.zephyr_venv_dir
get_project_template()
- mlonmcu.platform.zephyr.zephyr_target module
- Module contents
ZephyrPlatform
ZephyrPlatform.DEFAULTS
ZephyrPlatform.FEATURES
ZephyrPlatform.REQUIRED
ZephyrPlatform.baud
ZephyrPlatform.build_dir
ZephyrPlatform.close()
ZephyrPlatform.compile()
ZephyrPlatform.create_target()
ZephyrPlatform.flash()
ZephyrPlatform.flash_only
ZephyrPlatform.generate()
ZephyrPlatform.get_serial()
ZephyrPlatform.get_supported_targets()
ZephyrPlatform.get_west_cmake_args()
ZephyrPlatform.init_directory()
ZephyrPlatform.invoke_west()
ZephyrPlatform.monitor()
ZephyrPlatform.optimize
ZephyrPlatform.port
ZephyrPlatform.prepare()
ZephyrPlatform.project_template
ZephyrPlatform.wait_for_user
ZephyrPlatform.zephyr_install_dir
ZephyrPlatform.zephyr_sdk_dir
ZephyrPlatform.zephyr_venv_dir
Submodules
mlonmcu.platform.lookup module
mlonmcu.platform.platform module
- class mlonmcu.platform.platform.BuildPlatform(name, features=None, config=None)[source]
Bases:
Platform
Abstract build platform class.
- property supports_build
- class mlonmcu.platform.platform.CompilePlatform(name, features=None, config=None)[source]
Bases:
Platform
Abstract compile platform class.
- DEFAULTS = {'build_dir': None, 'debug': False, 'num_threads': 4, 'print_outputs': False}
- FEATURES = {'debug'}
- property debug
- property num_threads
- property supports_compile
- class mlonmcu.platform.platform.Platform(name, features=None, config=None)[source]
Bases:
object
Abstract platform class.
- DEFAULTS = {'print_outputs': False}
- FEATURES = {}
- OPTIONAL = {}
- REQUIRED = {}
- property print_outputs
- property supports_build
- property supports_compile
- property supports_flash
- property supports_monitor
- property supports_tune
Module contents
MLonMCU platform submodule
- class mlonmcu.platform.Platform(name, features=None, config=None)[source]
Bases:
object
Abstract platform class.
- DEFAULTS = {'print_outputs': False}
- FEATURES = {}
- OPTIONAL = {}
- REQUIRED = {}
- property print_outputs
- property supports_build
- property supports_compile
- property supports_flash
- property supports_monitor
- property supports_tune