mbed-os/tools
Bogdan Marinescu 85eca37d29 Added toolchain support for configuration in prefix headers
This commit uses the previously introduced feature of generating
configuration data as a C header file rather than as command line macro
definitions. Each toolchain was modified to use prefix headers if
requested, and build_api.py was modified to set up the toolchain's
prefix header content using the data generated by the config system.

Tested by compiling blinky for GCC and ARMCC. I'm having a few issues
with my IAR license currently, but both ARMCC and IAR use the same
`--preinclude` option for prefix headers, so this shouldn't be an issue.

Note that at the moment all exporters still use the previous
configuration data mechanism (individual macro definitions as opposed to
a prefix header). Exporters will be updated in one or more PRs that will
follow.
2016-06-16 16:13:50 +03:00
..
bootloaders Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
buildbot Move private_settings.py to root mbed_settings.py. Various updates to reflect the path changes 2016-06-09 22:24:05 +01:00
ci_templates Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
compliance Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
data Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
dev Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
export Revert "Fix iar exporter - flags duplication and consolidations" 2016-06-14 23:31:57 +01:00
host_tests Add a serial transmission complete test 2016-06-14 12:03:22 +02:00
test/config_test Configuration in header files - step 1 2016-06-16 00:23:04 +03:00
toolchains Added toolchain support for configuration in prefix headers 2016-06-16 16:13:50 +03:00
.mbedignore Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
__init__.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
build.py Aligned make.py and build.py options 2016-06-12 01:06:15 +01:00
build_api.py Added toolchain support for configuration in prefix headers 2016-06-16 16:13:50 +03:00
build_everything.py Add tests to the config system. Add GCC flags to support uVisor 2016-06-12 19:04:41 +01:00
build_release.py Merge pull request #1752 from svastm/add_nucleo_l011k4 2016-06-14 22:00:28 +02:00
build_travis.py [NUCLEO_L011K4] Add to the build and export scripts 2016-06-13 10:24:19 +02:00
config.py Simplified string formatting expressions in get_config_data_header 2016-06-16 11:41:22 +03:00
default_settings.py Added script for detecting connected mbed targets/boards 2016-06-12 10:59:51 +01:00
detect_targets.py Added script for detecting connected mbed targets/boards 2016-06-12 10:59:51 +01:00
export_test.py Merge pull request #1752 from svastm/add_nucleo_l011k4 2016-06-14 22:00:28 +02:00
get_config.py Configuration in header files - step 1 2016-06-16 00:23:04 +03:00
hooks.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
libraries.py Update project generator script to allow working with any source 2016-06-10 02:24:27 +01:00
make.py Aligned make.py and build.py options 2016-06-12 01:06:15 +01:00
memap.py Forward ported changes to tools 2016-06-10 15:19:02 +01:00
options.py Ported updates to targets, utils and settings scripts 2016-06-09 22:05:35 +01:00
patch.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
paths.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
project.py Tools/project - project dir should be the list 2016-06-13 16:51:40 +01:00
remove-device-h.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
settings.py Move private_settings.py to root mbed_settings.py. Various updates to reflect the path changes 2016-06-09 22:24:05 +01:00
singletest.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
size.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
synch.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
targets.py Ported updates to targets, utils and settings scripts 2016-06-09 22:05:35 +01:00
test.py Lower case test names, blob matching test names, and sort test names for prints 2016-06-14 02:14:45 +01:00
test_api.py Lower case test names, blob matching test names, and sort test names for prints 2016-06-14 02:14:45 +01:00
test_db.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
test_exporters.py Handling exceptions throughout test flow 2016-06-14 02:14:44 +01:00
test_mysql.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
test_webapi.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
tests.py Add a serial transmission complete test 2016-06-14 12:03:22 +02:00
upload_results.py Ported updates to targets, utils and settings scripts 2016-06-09 22:05:35 +01:00
utils.py Fixes the python traceback when the user does ctrl+c during compilation 2016-06-15 01:08:35 +01:00