Brian Daniels
b94c4189b7
Updating supported toolchain printing with new options
2019-03-23 18:24:58 -05:00
Brian Daniels
1c31d365c2
Add ARMC5 as an option for the -t argument
2019-03-23 18:24:58 -05:00
Brian Daniels
a8032db48a
Whitespace clean up
2019-03-23 18:24:57 -05:00
Garrett
00a5fac0be
Add --custom-target argument to get_default_options_parser
2019-01-17 13:16:09 -05:00
Garrett
31615eb542
If custom_targets_directory exists use it over source_dir
2019-01-17 13:16:09 -05:00
Jimmy Brisson
c93a2bfa4c
Python2+3: Use absolute import where possible
2018-02-05 11:07:37 -06:00
TomoYamanaka
8f42cf7ef5
Revert "Remove Cortex-A mbed OS 5 support"
...
I changed the python and json files to re-registering GR-PEACH to Mbed OS 5.
2017-12-21 14:09:24 +09:00
Jimmy Brisson
e0ba3e857c
Update Cortex-A build errors
2017-12-07 14:43:40 -06:00
Andrew Leech
2540f01d26
Handle situation when options.source_dir is None
2017-06-21 22:17:57 +10:00
Andrew Leech
bf08b108aa
Add custom_targets.json file contents to targets
...
Avoid duplication of update_target_data() code
Keep "custom_targets.json" filename definition in Targets()
2017-06-21 22:17:57 +10:00
Jimmy Brisson
2c4475cacc
Find extra targets in all source folders
2017-06-21 22:17:57 +10:00
Jimmy Brisson
9277c6e564
Move profile processing into build_api
2017-06-02 12:05:01 +01:00
Jimmy Brisson
07a6c07408
Revert "Disable Cortex-A in tooling to provide better error messages"
...
This reverts commit f5859b308b
.
2017-05-31 13:06:30 -05:00
Jimmy Brisson
f5859b308b
Disable Cortex-A in tooling to provide better error messages
...
Disable Cortex-A in compile supported matrix
Disable Cortex-A in export supported matrix
2017-05-30 14:32:06 -05:00
Bartek Szatkowski
40d3b22785
Build: Rework build profiles
...
Rename small.json to release.json, default.json to develop.json and make
it the default profile.
2017-02-07 11:41:16 +00:00
Jimmy Brisson
2bf1f6bd04
Make the debug profile the default used for exporting
2017-01-10 15:33:33 -06:00
Jimmy Brisson
d9c8d1cdb8
Remove deprecated flags args
...
The tools will no longer accept `--cflags`, `--cppflags`, or
`--ldflags`. Instead, the ability to modify these flags is
provided by the `--profile` argument. Documentation for the
`--profile` argument may be found in
docs/Toolchain_Profiles.md
2016-12-09 12:08:52 -06:00
Bartek Szatkowski
3af2c5ae14
Accept profile name as well as file path for tools/make.py --profile
...
--profile can be used with just a profile name eg. default, debug as
long as <name>.json file is in default profile directory.
2016-10-11 13:33:37 -05:00
Jimmy Brisson
73e811a9a0
Fix style of implementation of toolchain profiles
2016-09-29 10:20:05 -05:00
Jimmy Brisson
d88852d150
Replace -o with profiles
2016-09-29 10:20:05 -05:00
Conor Keegan
aafcf55407
Add app config switch to options.py and make.py
2016-09-10 15:29:19 +01:00
Vincent Coubard
fe322adc9c
Make selection of c library used consistent.
...
* rename "default_build" property into "default_lib"
* rename "standard" value for "default_build" into "std".
2016-08-23 16:04:56 +01:00
Vincent Coubard
73a925810c
Improve naming of the command line option which select the c library to use.
...
* rename 'small-build' into 'small-lib'
* rename 'standard-build' into 'std-lib'
2016-08-23 15:42:08 +01:00
Vincent Coubard
afde624a26
Rename big-build option into standard-build.
...
With this change, the name is more descriptive and aligned with the targets
definitions in hal/targets.json.
2016-08-23 15:38:44 +01:00
Vincent Coubard
cce10e2c0d
Allow 'small-build' and 'big-build' to be used as options.
...
These two flags are already tested in tools/toolchains/gcc.py but can't
be used at the moment because they are not part of the argument list of
the option parameter.
2016-08-23 15:37:56 +01:00
Jimmy Brisson
33786130ae
Format and document options.py
2016-08-16 13:29:43 -05:00
Jimmy Brisson
f4254c4fee
Add colorization option to default options parser
...
should be picked up by most cli's
2016-07-11 09:41:14 -05:00
Jimmy Brisson
7a4bee8c0e
nargs="*" -> action="append"
2016-07-07 15:29:36 -05:00
Jimmy Brisson
5052e97b17
Force conversion of all -i, -m, -t to the correct case
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
7b3ef2179f
Make mcu and tool arguments many and update all consumers of them
2016-06-24 14:23:19 -05:00
Jimmy Brisson
7e5deaa7d0
standardize on nargs="*"
2016-06-24 14:23:19 -05:00
Jimmy Brisson
43e036d6e1
Move to argparse from optparse
2016-06-24 14:22:47 -05:00
Mihail Stoyanov
5e6722dbab
Ported updates to targets, utils and settings scripts
2016-06-09 22:05:35 +01:00
Mihail Stoyanov
3d45b2cdbb
Renamed workspace_tools folder to tools
2016-06-09 21:34:53 +01:00