- Added app and lib JSON schema definition files which specify the valid
keys and values that can be used in mbed library and application
configuration files. The primary different between the app and lib
schema is that the lib config requires a name key.
- Modified the expected error code in some of the test cases. The error
message is now issued by the JSON validator.
- Added some validation code to the config script which checks the
validity of the mbed_app.json file when it is initially loaded.
- Added some validation code to config script which checks each of the
mbed_lib.json scripts when they are loaded.
- Removed manual checks for allowable config keys from within the mbed_app
and mbed_lib json files.
- Removed the check_dict_types() function which was no longer being
called.
I also broke the config header template into it's own file. Further, I
fixed a bug in the config header generation where if no macros, builds
would crash.