mbed-os/tools
Martin Kojtal c489c213a7 build api: fix release version
This is non trivial fix as the function is being used outside of this repository.
Tools rely on it to return list of targets for 2 or 5. As we removed release_version from many targets,
this broke the logic. To keep the logic as it was, without updating all tools out there now,
lets just return full set of targets - all are supported.

In case for Mbed 2, returning all targets does not make sense, but rather raise an exception here. Not supported. This avoids suprised. If you look at build api functions there are many checks for 2 or 5 so more
clean up needed to actually get release_version out of the tools.
2020-05-18 08:57:06 +01:00
..
arm_pack_manager STM32L0 code cleaning 2020-05-14 13:55:32 +02:00
bootloaders/MTS_DRAGONFLY_F411RE
config
debug_tools/crash_log_parser
export Merge pull request #12961 from MarceloSalazar/remove_nrf51 2020-05-15 08:08:26 +02:00
flash_algo Updates to `/tools` for Python 3 compatibility 2019-11-21 15:02:37 +00:00
host_tests
importer tools: update importer sha 2020-05-12 12:11:24 +01:00
notifier
profiles Turn on ARM linker --inline 2020-04-17 13:28:22 +03:00
psa musca_a1: Add TF-M compatibility 2020-04-30 11:35:05 +01:00
resources
targets Remove nRF51 targets 2020-05-13 10:36:50 +01:00
test Merge pull request #12961 from MarceloSalazar/remove_nrf51 2020-05-15 08:08:26 +02:00
test_configs Remove target dep. on S2LP driver 2020-05-14 17:17:27 +01:00
toolchains
.mbedignore
README.md
__init__.py
build.py
build_api.py build api: fix release version 2020-05-18 08:57:06 +01:00
build_release.py
default_settings.py
detect_targets.py
device_management.py
get_config.py
libraries.py
make.py
memap.py
memap_flamegraph.html
options.py
paths.py
project.py
regions.py
run_icetea.py
settings.py
singletest.py Remove nRF51 targets 2020-05-13 10:36:50 +01:00
test.py
test_api.py
test_exporters.py
tests.py Remove nRF51 targets 2020-05-13 10:36:50 +01:00
utils.py

README.md

Mbed OS Build Tools

This directory contains the python tools used for building Mbed OS and Mbed 2.

Quick navigation:

file/directory Purpose/function
build.py implementation of mbed compile --library
build_api.py full-project build operations
build_release.py CLI for making an mbed 2 release
config implementation of Config System
debug_tools Crash log parsing
default_settings.py Default version of project local settings.py
detect_targets.py implementation of mbed detect
device_management.py implementation of mbed device-management
export Export plugins and API for woking with them
flash_algo CMSIS flash algorithm parser
get_config.py implementation of mbed compile --config
host_tests location of pre-htrun host tests
importer code importer for use with CMSIS, TFM/PSA etc.
libraries.py constants for building mbed 2 libraries
make.py implementation of mbed compile
memap.py map file parser and sumary generator
notifier API for seting compile status to a frontend
options.py Default option parser and option utilities
paths.py constants for many paths used
profiles location of the default build profiles
project.py implementation of mbed export
psa PSA
regions.py merging from managed bootloader mode
resources scans directories for files used in a project
run_icetea.py implementation of mbed test --icetea
settings.py project specific settings from env vars
singletest.py location of pre-greentea greentea
targets target description reader and post-build steps
test unit tests for tools
test_api.py part of pre-greentea greentea
test_configs configuration files used by mbed test
test_exporters.py part of pre-greentea greentea
tests.py implementation of mbed test --greentea
toolchains API for calling the selected compiler
utils.py General purpose utilities like file moving