Commit Graph

46 Commits (5bb3ede8904d2488c60b1d7539dff2edcce87062)

Author SHA1 Message Date
Jimmy Brisson b60729d147 Move filter dot into exporter base class 2018-03-27 14:30:36 -05:00
Jimmy Brisson 14255ca113 Correct syntax for mbed export in Py3 2018-03-16 13:08:20 -05:00
Jimmy Brisson bd5b34f59c Correct exporter clean behavior 2018-02-21 09:28:24 -06:00
Cruz Monrreal 863b40d19c
Merge pull request #6121 from theotherjimmy/mbedignore-append
Avoid blowing away .mbedignore files in exporters
2018-02-20 10:48:21 -06:00
Jimmy Brisson 8d7311d38d Avoid blowing away .mbedignore files in exporters 2018-02-16 14:45:55 -06:00
Jan Jongboom ecc07c3217
gnuarmeclipse exporter uses mBed instead of proper casing 2018-02-15 12:24:01 +08:00
Jimmy Brisson cca4425af6 Python2+3: iteritems -> items 2018-02-05 11:04:36 -06:00
Jimmy Brisson 6eebc71d99 Force config resolution in gnuarmeclipse exporter 2018-01-31 10:04:34 -06:00
Mathias Giacomuzzi ca5bcf7592 remove the first join 2017-09-27 12:31:45 +02:00
Mathias Giacomuzzi 0947db6400 add quotation marks for compiler path 2017-09-26 11:01:01 +02:00
Phyo Kyaw 2cbca704d8 e2 studio exporter update 2017-08-23 17:00:55 +01:00
Jimmy Brisson 2305a8c7e4 Merge pull request #4783 from theotherjimmy/refactor-exporter-ignores
Collect ignored directories in scan and use in exporters
2017-07-31 15:25:07 +00:00
Jimmy Brisson c8e6cf5bdd Collect ignores from scan resources and use in exporetrs 2017-07-26 14:31:22 -05:00
Martin Kojtal 692d9055b1 Merge pull request #4725 from theotherjimmy/extra_targets_exporters
Parse and use custom targets in exporters
2017-07-13 17:00:38 +02:00
Jimmy Brisson 81446f69be Generate exporter suppored lists when needed 2017-07-07 14:45:32 -05:00
Jimmy Brisson a5a5fa3a7b 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-06-29 14:15:23 -05:00
amq 2b70e8f061 Fix unresolved include of mbed_config.h in Eclipse 2017-06-22 13:51:26 +02:00
Jimmy Brisson 64baee8ac7 Correct profile handling in GNUARMEclipse exporter 2017-06-09 00:03:23 -05:00
Daniel Zimmermann 8e02855101 LPC4088: add LPC4088Code.binary_hook to the white list of the embitz, gnuarmeclipse and makefile exporter. 2017-05-09 11:59:03 -05:00
Jimmy Brisson 6fa1de2161 Generate GNU ARM Eclipse's .mbedignore with Jinja2 2017-04-11 14:11:44 -05:00
Sam Grove 0b1117793f Merge pull request #4069 from theotherjimmy/preproc-linker-gnuarmeclipse
Update gnuarmeclipse to preprocess linker scripts
2017-04-10 11:10:58 -05:00
Willie Walker 13247426f9 Fix mbed-cli issue #468. Add LPCTargetCode.lpc_patch to POST_BINARY_WHITELIST. 2017-03-30 15:22:57 -04:00
Jimmy Brisson 6a3c71c002 Update gnuarmeclipse to preprocess linker scripts 2017-03-29 14:52:11 -05:00
Jimmy Brisson 4219d9cfc6 Don't set the build_dir to anything on export
When constructing a toolchain for export, we currently set the
`build_dir` to the `export_dir`. When exporting offline, the
`export_dir` is always set to the root of the project. The toolchains
ignore their `build_dir` when scanning for sorces, so when the exporters
use the toolchains to scan for their resources, they get nothing.

In this patch we set the `build_dir` of the toolchain that the exports
use to nothing. A path of nothing should not match anything, and will
therefore not ignore everything when scanning for resources.
2017-03-14 11:27:19 -05:00
Jimmy Brisson fcef9a7c50 Add post-build hook white-list to exporters
We have scripts (written in python) that are run after a binary image is
created in the tools. These scripts are not really exportable, as they
are part of the tools and may include and use any bits of python code
they please. So we don't export them. This patch disables export
combinations that would not work because the post-binary hook is not
exported. A white-list is used for forward compatibility.
2017-03-02 15:01:14 -06:00
Liviu Ionescu 9101ea4da5 add --launcher.suppressErrors for headless Eclipse 2017-02-09 19:11:28 +02:00
Brian Daniels b0739d7520 Fixing Cortex-A and SARA_NBIOT_EVK build failures (#3)
* Adding Cortex-A support for gnuarmeclipse
* Preventing '-mthumb' from being added to Cortex-A builds.
Previously, both '-mthumb' and '-marm' were being supplied to the
compiler (in that order). Because '-marm' came last, the compiler
respected this option. This change makes it so '-mthumb' is added for
all 'Cortex-M' targets only.
* Renaming to capital .S for Eclipse compatibility
2017-02-07 21:18:18 +02:00
Brian Daniels 57e93a5bab Fixing build step
* Cleaning up makefile
2017-02-07 04:55:51 +02:00
Liviu Ionescu 7e7b25265c enable the default profile 2017-02-02 18:42:53 +02:00
Liviu Ionescu 269f2b115e generate distinct configurations for profiles
- ignore the 'default' profile, it is a duplicate
- remove repetitions from .cproject.tmpl
2017-02-02 16:34:17 +02:00
Liviu Ionescu a5f01293a7 makefile.target.tmpl: remove multiline foreach 2017-01-27 09:58:05 +02:00
Liviu Ionescu 5b7a54e21c add jinja options at caller 2017-01-27 09:56:59 +02:00
Brian Daniels 35137bbe42 Fixing printing for build step 2017-01-20 14:32:55 -06:00
Brian Daniels 8edc61d244 Breaking up clean command to avoid command limit 2017-01-20 13:21:06 -06:00
Brian Daniels a23b507c32 Fixing build function for gnuarmeclipse exporter 2017-01-19 18:30:07 -06:00
Brian Daniels 04bacc7d11 Enabling parallel builds by default 2017-01-19 18:29:44 -06:00
Liviu Ionescu dc6f9342ae gnuarmeclipse: fix windows paths 2017-01-20 00:46:00 +02:00
Liviu Ionescu 0c6381ff25 rename short named variables 2017-01-18 19:09:16 +02:00
Liviu Ionescu 4f17c95925 tentative build() implementation 2017-01-18 14:39:50 +02:00
Liviu Ionescu cc3fe4c73e all options parsed, build functional 2017-01-18 01:54:04 +02:00
Liviu Ionescu 8266a76c22 convert windows paths to unix 2017-01-13 11:09:28 +02:00
Liviu Ionescu 725fe49a18 .cpproject: make include files discoverable by indexer
- make defined symbols discoverable by indexer (just to be sure)
2017-01-13 11:08:29 +02:00
Liviu Ionescu 9e84338178 Compute source folders exclusions. 2017-01-12 18:10:56 +02:00
Liviu Ionescu ed513caae2 Make uids unique for each call
The initial {{uid}} was evaluated once. To force an evaluation for
each call, use an object property {{u.id}}.
2017-01-11 20:47:24 +02:00
Liviu Ionescu 81015928d9 Use NotSupportedException 2017-01-10 22:40:03 +02:00
Liviu Ionescu 8860007a3c Add GNU ARM Eclipse exporter 2017-01-10 21:36:20 +02:00