Christopher Haster
5a4c5df4dc
[tools] Reordered option handling in toolchains
...
Options were parsed and logged before per-toolchain
logging was setup.
Fixes #1990
2016-06-22 09:23:33 -05:00
Mihail Stoyanov
541c478dbf
Remove tracking of existing mbed_config.h in the source tree
2016-06-21 23:43:09 +01:00
Mihail Stoyanov
4d68152ef1
Rename mbed_conf.h to mbed_config.h
...
Following the pattern device_has to DEVICE_, features to FEATURE_,
the mbed config system should map to mbed_config.h
2016-06-21 23:41:04 +01:00
Mihail Stoyanov
e835c48cc8
Rename ignore_ptrs to ignore_patterns
...
Add comments to code
2016-06-17 23:27:50 +01:00
Mihail Stoyanov
fb5c4a6381
Fixed double-ignored files that cause python exception
...
Also simplify build scanning logic and add comments
2016-06-17 00:46:14 +01:00
Martin Kojtal
1e18ea230a
Merge pull request #1957 from mbedmicro/config_headers
...
Configuration in header files - step 1
2016-06-16 18:47:15 +02:00
Bogdan Marinescu
a164224acf
Changed prefix file name to mbed_conf.h
...
Also changed some function names to make it clear that the prefix
headers feature is only used for config.
2016-06-16 17:01:41 +03:00
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
Mihail Stoyanov
e44566b319
Fix libraries being built with features support
2016-06-16 00:31:25 +01:00
Mihail Stoyanov
a81746c8f6
Fix for features not being included
...
Also improve compile speed by not re-scanning the source locations
2016-06-15 22:21:31 +01:00
Christopher Haster
ce0606a756
[build tools] Added better support for features and recursive configs
...
per @screamerbg
2016-06-15 08:38:20 -05:00
Mihail Stoyanov
edc1fa1865
Fixes the python traceback when the user does ctrl+c during compilation
2016-06-15 01:08:35 +01:00
Christopher Haster
54118c09a6
Removed duplicate feature declarations
2016-06-13 23:23:03 -05:00
Mihail Stoyanov
dcff9b15e7
Minor update to tools - logging of tests and output
2016-06-14 01:57:01 +01:00
Jimmy Brisson
e3b9def8cf
Refactors all toolchains to have flags api
2016-06-13 15:58:23 +01:00
Mihail Stoyanov
f6acb1ffb4
Forward ported changes to tools
2016-06-10 15:19:02 +01:00
Mihail Stoyanov
c2e3001739
Add config system, memap, updates to build_api and toolchains
2016-06-09 23:50:03 +01:00
Mihail Stoyanov
3d45b2cdbb
Renamed workspace_tools folder to tools
2016-06-09 21:34:53 +01:00