mbed-os/tools
Jimmy Brisson 80756e9d7a Add some type checking of configs
Before, the types were not checked and just expected. The old behavior
would cause lots of tracebacks, or, much worse, convert things like:
```
{
     "target_overrides": {
        "*": {
		"target.macros_add": "CONFIG_GPIO_AS_PINRESET"
        }
     }
}
```
into a definition of each of the letters as macros that expand to
nothing, causing massive compilation problems.

I resolved this by adding some type checking to the config data. Now
there is a type check for most of the fields within a library and
application configurations.
2017-04-07 14:00:50 +01:00
..
arm_pack_manager tools: fix usage of aliases.json 2017-03-24 20:40:53 +00:00
bootloaders Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +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 This change is for RZ_A1H and VK_RZ_A1H target. 2017-03-24 20:44:15 +00:00
git_hooks Use toolchain notify for printing when finding dupes 2016-09-30 15:14:22 -05:00
host_tests Squash weird import bug 2016-07-07 15:29:36 -05:00
misc Remove tag-adding code from script 2016-10-04 15:03:17 -05:00
profiles Build: Rework build profiles 2017-02-07 11:41:16 +00:00
test Add unit test for gcc path specifications 2017-03-24 20:39:50 +00:00
toolchains Use PATH env variable when gcc found in PATH 2017-03-24 20:39:37 +00: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
add_fib.py Configuration of user trim moved to targets.json 2016-11-08 17:29:32 +05:30
build.py Remove static analysis scan 2017-03-13 11:14:23 +00:00
build_api.py Fix toolchain path names in Mbed 2 builds 2017-03-13 11:14:54 +00:00
build_everything.py Move find_tests to where it's has arguments 2016-08-11 10:03:23 -05:00
build_release.py restructure - Updated tools to point to restructured modules 2016-09-30 19:18:09 -05:00
build_travis.py STORAGE: PR 3762 fix to remove FAT_FS, SD_FS, FS_LIBRARY from tools scripts. 2017-02-23 16:39:46 +00:00
check_release.json Add an ignore list so that sets of test, target can be excluded from the compilation set. 2017-03-24 20:46:22 +00:00
check_release.py Add an ignore list so that sets of test, target can be excluded from the compilation set. 2017-03-24 20:46:22 +00:00
colorize.py Format and document colorize 2016-08-16 11:48:45 -05:00
config.py Add some type checking of configs 2017-04-07 14:00:50 +01:00
default_settings.py Add environmental variables support for toolchain paths 2016-06-24 23:03:08 +01:00
detect_targets.py Revise arguments to detect targets 2016-12-14 11:50:18 -06:00
export_test.py Add platform in other python and json files 2016-12-08 15:57:05 +01:00
get_config.py Unify look of argument errors 2016-08-19 14:01:19 -05:00
hooks.py Format and document hooks.py 2016-08-16 13:29:31 -05:00
libraries.py STORAGE: PR 3762 fix to remove FAT_FS, SD_FS, FS_LIBRARY from tools/libraries.py and tools/tests.py 2017-02-23 16:39:44 +00:00
make.py Re-factor mbed2 lib builds to use prepare_toolchain 2017-03-13 11:14:20 +00:00
memap.py Merge pull request #3712 from JojoS62/enable-GCC_CR-in-memmap 2017-02-17 09:11:22 -06:00
options.py Build: Rework build profiles 2017-02-07 11:41:16 +00:00
patch.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
paths.py STORAGE: Pull request 3762 review feedback changes. 2017-02-23 16:39:42 +00:00
project.py Merge pull request #3534 from sarahmarshy/export-debug 2017-01-16 16:49:39 +00:00
project_api.py Don't set the build_dir to anything on export 2017-03-24 20:44:03 +00:00
settings.py Removing default toolchain paths 2016-12-20 11:14:24 -06:00
singletest.py Adding build profiles configuration to build_release.py and singletest.py 2016-09-30 16:54:34 -05:00
size.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
synch.py Updated to allow for new directory structure for mbed-dev source. 2017-02-03 16:50:45 +00:00
targets.py Inherit names from target parents 2017-01-12 15:34:29 -06:00
test.py Allowing mbed_app.json files to be discovered for tests. 2016-10-06 17:40:25 -05:00
test_api.py Update test_api call to prepare_toolchain 2017-03-13 11:14:27 +00:00
test_db.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
test_exporters.py Merge pull request #1873 from theotherjimmy/file-reporter 2016-07-06 16:45:43 -05:00
test_mysql.py Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
test_webapi.py Revert "Revert "Generalize flag handling"" 2016-07-07 15:29:36 -05:00
tests.py STORAGE: remove RTOS_9 test from tests.py. 2017-02-23 16:39:53 +00:00
upload_results.py Ported updates to targets, utils and settings scripts 2016-06-09 22:05:35 +01:00
utils.py Enable boot-loader builds 2017-02-22 18:20:26 -06:00