Commit Graph

23 Commits (6ebc5be0f06e66ea9ec0f566af6e63c3f8ca3a9f)

Author SHA1 Message Date
Jimmy Brisson b2395a7786 Simplify get_config toolchain handling 2018-07-16 14:11:09 -05:00
Jimmy Brisson 361fc65f08 Allow missing toolchain parameter to get_config 2018-07-16 14:11:08 -05:00
Jimmy Brisson 0f7e900417 Pass app config to get config
This corrects a bug which would manifest as --app-config not having
much of an affect on test builds (not the first libary bulid)
2018-05-02 09:38:44 -05:00
Jimmy Brisson e80d9947e2 Shorten lines in get config 2018-04-09 09:29:43 -05:00
Jimmy Brisson c3b9cbe3fd Heed filters in macro printing 2018-04-09 09:27:09 -05:00
Jimmy Brisson b384834db5 Print macros in a readable way 2018-04-09 09:26:11 -05:00
Jimmy Brisson aac1099858 Simplify config param printing logic 2018-04-09 09:25:38 -05:00
Jimmy Brisson cdb4e98df3 Remove needless _exit call 2018-04-09 09:25:18 -05:00
Jimmy Brisson 498afc97fa Cleanup get_config imports 2018-04-09 09:23:15 -05:00
Jimmy Brisson a27dd66f92 Correct get_config imports 2018-03-21 10:50:56 -05:00
Anna Bridge 8224dab741 Merge pull request #4547 from bridadan/sort_config_data
Sort the config parameters before printing them
2017-07-07 12:44:18 +01:00
Jimmy Brisson 2c4475cacc Find extra targets in all source folders 2017-06-21 22:17:57 +10:00
Brian Daniels 1db46c1df7 Sort the config parameters before printing them 2017-06-13 16:36:21 -05:00
Jimmy Brisson a0c8a09c89 Unify look of argument errors 2016-08-19 14:01:19 -05:00
Jimmy Brisson 6d0716c69b Ignore extra MCUs and toolchains in get_config.py 2016-07-07 15:29:36 -05:00
Jimmy Brisson 7a4bee8c0e nargs="*" -> action="append" 2016-07-07 15:29:36 -05:00
Jimmy Brisson 0ec8199c55 Revert "Revert "Generalize flag handling""
This reverts commit 33cec194c6.
2016-07-07 15:29:36 -05:00
Sam Grove 33cec194c6 Revert "Generalize flag handling" 2016-06-24 16:39:01 -05:00
Jimmy Brisson 7e5deaa7d0 standardize on nargs="*" 2016-06-24 14:23:19 -05:00
Jimmy Brisson b98c8c1c33 Generalize all appropriate arguments and check for file existance 2016-06-24 14:22:47 -05:00
Jimmy Brisson 43e036d6e1 Move to argparse from optparse 2016-06-24 14:22:47 -05:00
Bogdan Marinescu ab0a5a53c2 Configuration in header files - step 1
The current implementation of the configuration system "compiles" the
configuration parameters to macros defined on the command line. This
works, but has a few limitations:

- it can bring back the maximum command line length issues in Windows.
- depending on the type of the configuration parameter, it might require
  special quoting of its value in the command line.
- various 3rd party IDE/tools seem to have some limitations regarding
  the total length of the macros that can be defined.

This commit is the first step in replacing the current mechanism with
one that generates configuration in header files that will be
automatically included, instead of command line macro definitions. The
commit only adds the method for generating the header file, it doesn't
actually change the way config is used yet (that will happen in step 2),
thus it is backwards compatible. The logic of the configuration system
itself is unchanged (in fact, the whole change (not only this commit) is
supposed to be completely transparent for the users of the configuration
system).

The commit also fixes an issue in tools/get_config.py that appeared as a
result of a recent PR: the signature of "get_config" in
tools/build_api.py changed, but tools/get_config.py was not updated.
2016-06-16 00:23:04 +03:00
Mihail Stoyanov 9f62d70fbf Update project generator script to allow working with any source
Update test exporters script
Update travis build script
Added config system CLI script
Fixed building of legacy libraries and layouts
2016-06-10 02:24:27 +01:00