Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of OmniWheels by
tools::project Namespace Reference
Functions | |
def | setup_project |
def | export |
def | main |
Detailed Description
The CLI entry point for exporting projects from the mbed tools to any of the supported IDEs or project structures.
Function Documentation
def tools::project::export | ( | target, | |
ide, | |||
build = None , |
|||
src = None , |
|||
macros = None , |
|||
project_id = None , |
|||
zip_proj = False , |
|||
build_profile = None , |
|||
export_path = None , |
|||
silent = False , |
|||
app_config = None |
|||
) |
Do an export of a project. Positional arguments: target - MCU that the project will compile for ide - the IDE or project structure to export to Keyword arguments: build - to use the compiled mbed libraries or not src - directory or directories that contain the source to export macros - extra macros to add to the project project_id - the name of the project clean - start from a clean state before exporting zip_proj - create a zip file or not Returns an object of type Exporter (tools/exports/exporters.py)
Definition at line 73 of file project.py.
def tools::project::main | ( | void | ) |
Entry point
Definition at line 103 of file project.py.
def tools::project::setup_project | ( | ide, | |
target, | |||
program = None , |
|||
source_dir = None , |
|||
build = None , |
|||
export_path = None |
|||
) |
Generate a name, if not provided, and find dependencies Positional arguments: ide - IDE or project structure that will soon be exported to target - MCU that the project will build for Keyword arguments: program - the index of a test program source_dir - the directory, or directories that contain all of the sources build - a directory that will contain the result of the export
Definition at line 30 of file project.py.
Generated on Fri Jul 22 2022 04:54:18 by
