Commit Graph

1272 Commits (d79014f35a19a7edbd849b5945cd37dc97ce12f1)

Author SHA1 Message Date
Jimmy Brisson c511e96e01 Add missing collect_include passing 2017-08-02 09:45:21 +01:00
Jimmy Brisson abe3553f9c Correct supported check in exporter tests 2017-08-02 09:45:21 +01:00
Jimmy Brisson 1792f02dcf Collect ignores from scan resources and use in exporetrs 2017-08-02 09:45:21 +01:00
Johan Stokking 035ed58be4 Use immutable tuple instead of mutable list
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-28 14:46:27 +01:00
Johan Stokking 4e5a68ef2a ZIP export static files
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-28 14:46:27 +01:00
Johan Stokking f16c4d06d7 Copy static files also when zipping 2017-07-28 14:46:26 +01:00
Johan Stokking f0b350632e Copy static files only
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-28 14:46:26 +01:00
Jimmy Brisson 1f58726f4a Deprecate Simplicity Version 3 2017-07-28 14:46:23 +01:00
Jimmy Brisson f6710236ef Deprecate LPCXpresso 2017-07-28 14:46:23 +01:00
Jimmy Brisson 423959d4ca Deprecate KDS 2017-07-28 14:46:23 +01:00
Jimmy Brisson cc53dd75a3 Deprecate e2studio 2017-07-28 14:46:23 +01:00
Jimmy Brisson 4407b001b7 Deprecate Coide 2017-07-28 14:46:22 +01:00
Jimmy Brisson 66fa34c0b6 Deprecate Atmel Studio 2017-07-28 14:46:22 +01:00
Jimmy Brisson ccc2105cd1 Create deprecated exporter class decorator 2017-07-28 14:46:22 +01:00
Jimmy Brisson 7af22d0499 Remove unusable exporters 2017-07-28 14:46:22 +01:00
Jimmy Brisson 294beb181e Prevent double define in very old builds
Partially reverts 2ddf4b33cb
2017-07-28 14:46:15 +01:00
Jimmy Brisson 38e258c641 Allow custom_targets.json exporting 2017-07-14 15:13:32 +01:00
Jimmy Brisson fde073c3dc Generate exporter suppored lists when needed 2017-07-14 15:13:32 +01:00
Martin Kojtal e97380913c tools: fix toolchain extend inc paths
inc paths might be a list or might not be (just single string). If they don't, we are ending up with non valid include paths (one letter include paths).
This as result would not compile.
2017-07-14 15:13:31 +01:00
Brian Daniels f1b45989db Sort the config parameters before printing them 2017-07-14 15:13:30 +01:00
Jimmy Brisson b963697ac4 Double escape defines
Fixes a bug where quoting gets stripped by the shell used in the makefile
and another bug where the lack of escaping would cause parser errors in
eclipse.
2017-07-14 15:13:30 +01:00
lordguilly 4759d7652c added the missing verbose=verbose to printout the command line correctly 2017-07-14 15:13:30 +01:00
Jimmy Brisson 1a2e93ab17 Reduce device has whitelist 2017-07-14 15:13:30 +01:00
Jimmy Brisson a2bbefeb3d Add line between local and module imports 2017-07-14 15:13:30 +01:00
Jimmy Brisson c85f4362bd Add license header 2017-07-14 15:13:30 +01:00
Jimmy Brisson 009019e38c Restrict device_has 2017-07-14 15:13:30 +01:00
Jimmy Brisson 7973551b73 Revamp option parsing and add more checks 2017-07-14 15:13:30 +01:00
Jimmy Brisson 05b9b8ae57 Stylize and add function docs 2017-07-14 15:13:30 +01:00
Jimmy Brisson 31cb52dc88 Added simple linter for targets.json 2017-07-14 15:13:30 +01:00
Mo Chen 24e6a780d3 Put quotes around include files
This fixes a problem when the path to include files have spaces.
See https://github.com/ARMmbed/mbed-os-example-uvisor/issues/31 for an
example of this problem.

Signed-off-by: Mo Chen <mo.chen@arm.com>
2017-07-14 15:13:29 +01:00
adbridge c2b2044480 Added template file for PR commit message plus minor review changes 2017-07-14 15:13:29 +01:00
adbridge a472cba08f Remove remaining use of args.tag and replace with tag obtained from config file 2017-07-14 15:13:29 +01:00
adbridge 268990bb1e Update branching option to branch from another branch.
Previously if updating a branch in the ARMmbed version of an example
repo, the branch would be created initially from master. This update
allows the new branch to be created by any pre-existing branch.
This update also moves the branch / fork / tag configuration data to the
json config file. It thus simplifies the command line.
-b on its own now indicates use the branch information in the config
-f on its own now indicates use the fork information in the config
2017-07-14 15:13:29 +01:00
Martin Kojtal 597a4a9ced IAR: remove stm32f413 from definitions
This definition requires IAR 7.80.2 and higher.
It will be readded once we all update to the latest IAR 7.80 patch release. For
future, please any new target should state what are the requirements on tools to
avoid this suprises.
2017-07-04 12:19:04 +01:00
Jimmy Brisson 16be3ff167 Fix style issues in IAR exporter 2017-07-03 11:46:59 +01:00
bcostm 2327be65a2 DISCO_L072CZ_LRWAN1: Add usb in build_travis.py 2017-07-03 11:46:51 +01:00
bcostm a7c23f12b7 NUCLEO_F767ZI: Add missing IAR definitions 2017-07-03 11:46:49 +01:00
Jimmy Brisson 59839e03c7 Fill out remainder of LazyDict dict compatibility 2017-07-03 11:46:48 +01:00
Jimmy Brisson 11d0cd0e7a Correct len and iter operators for LazyDict 2017-07-03 11:46:48 +01:00
Jimmy Brisson abbf61adb7 Delay relative_to and win_to_unix operations over features 2017-07-03 11:46:48 +01:00
Jimmy Brisson 62d6d95e0f Delay feature scan until it's rquired 2017-07-03 11:46:48 +01:00
Jimmy Brisson 8d78e7150e Improve speed of .mbedignore processing 2017-07-03 11:46:47 +01:00
Andrew Leech 49f46086f8 Prevent modifying existing targets.
A warning will be printed if it is attempted.
2017-07-03 11:46:46 +01:00
Andrew Leech 5f529a6df7 Add basic unit tests for custom_targets.json handling 2017-07-03 11:46:46 +01:00
Jimmy Brisson 1e2b7bef45 Clear custom-targets uppon setting new taregts.json location 2017-07-03 11:46:46 +01:00
Andrew Leech e940d204d7 Handle situation when options.source_dir is None 2017-07-03 11:46:45 +01:00
Andrew Leech 4606027784 Add custom_targets.json file contents to targets
Avoid duplication of update_target_data() code
Keep "custom_targets.json" filename definition in Targets()
2017-07-03 11:46:45 +01:00
Jimmy Brisson f22dd38ad5 Find extra targets in all source folders 2017-07-03 11:46:45 +01:00
Andrew Leech 9c575cdd1f Recursively merge extra_targets into targets
Recursively merge any target configs in extra_targets.json rather than completely replacing keys at the top level
2017-07-03 11:46:44 +01:00
Andrew Leech 95c681c951 Add extra_targets.json support to build tools
If the file extra_targets.json exists in the working directory load it over the top of the built in targets.json for defining new and overriding built in mbed target definitions.
2017-07-03 11:46:44 +01:00