Skip to main content

Target Abstraction for Mbed OS

Project description

Mbed Targets

Package Documentation PyPI PyPI - Status PyPI - Python Version

License Compliance

Build Status Test Coverage Maintainability


This package provides an abstraction layer for boards and platforms supported by Mbed OS.

It is expected that this package will be used by developers of Mbed OS tooling rather than by users of Mbed OS. For a command line interface for Mbed OS please see the package mbed-tools.


For release notes and a history of changes of all production releases, please see the following:

For a the list of all available versions please, please see the:


The version scheme used follows PEP440 and Semantic Versioning. For production quality releases the version will look as follows:

  • <major>.<minor>.<patch>

Beta releases are used to give early access to new functionality, for testing and to get feedback on experimental features. As such these releases may not be stable and should not be used for production. Additionally any interfaces introduced in a beta release may be removed or changed without notice. For beta releases the version will look as follows:

  • <major>.<minor>.<patch>-beta.<pre-release-number>


It is recommended that a virtual environment such as Pipenv is used for all installations to avoid Python dependency conflicts.

To install the most recent production quality release use:

pip install mbed-targets

To install a specific release:

pip install mbed-targets==<version>


Interface definition and usage documentation (for developers of Mbed OS tooling) is available for the most recent production release here:

Project Structure

The follow described the major aspects of the project structure:

  • azure-pipelines/ - CI configuration files for Azure Pipelines.
  • ci_scripts/ - Scripts for project management automation and build.
  • docs/ - Interface definition and usage documentation.
  • examples/ - Usage examples.
  • mbed_targets/ - Python source files.
  • news/ - Collection of news files for unreleased changes.
  • tests/ - Unit and integration tests.

Getting Help

  • For interface definition and usage documentation, please see GitHub Pages.
  • For a list of known issues and possible work arounds, please see Known Issues.
  • To raise a defect or enhancement please use GitHub Issues.
  • To ask a question please use the Mbed Forum.


  • Mbed OS is an open source project and we are committed to fostering a welcoming community, please see our Code of Conduct for more information.
  • For ways to contribute to the project, please see the Contributions Guidelines
  • For a technical introduction into developing this package, please see the Development Guide

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mbed-targets-1.1.1.tar.gz (38.6 kB view hashes)

Uploaded source

Built Distribution

mbed_targets-1.1.1-py3-none-any.whl (36.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page