JojoS
9d77dffc2a
fix export static_files to zip
...
fixed adding a list and a tuple
2017-08-16 23:37:35 +02:00
JojoS
6710e79486
fixed is_target_supported()
...
path for checking the templates was not independent
2017-08-16 23:04:08 +02:00
JojoS
e2fd0ea152
revert hack to force zipfile creation
...
remove forcing to create zipfiles
2017-08-16 18:45:39 +02:00
JojoS
9dc1191c60
derive from gnuarmeclipse class
...
derive from gnuarmeclipse class instead of copy
is_target_supported is true when .cproject template for targetname exists
2017-08-16 18:16:36 +02:00
JojoS
239406dd25
removed unnecessary entrys
2017-08-16 18:15:10 +02:00
JojoS
9e1abfe16c
added missing flags
...
added:
- compiler standard
- optimization flags
- warning flags
- different other flags
2017-08-16 18:14:33 +02:00
JojoS
7e7aa72c81
added support for LPC54114 and LPC54608
...
project template for LPC54114 is from preinstalled MCU, template for LPC54608 is empty because SDK is not yet available
2017-08-16 18:13:57 +02:00
JojoS
6f0b2dec31
fixed linker errors
...
for mbed 2: user lib (e.g. mbed lib) needs to be added to library group
linker command changed: add flags after object files
2017-08-16 18:13:17 +02:00
JojoS
08c44a029b
use optimization setting from flags
...
optimization is set for debug and release builds
2017-08-16 18:12:37 +02:00
JojoS
e41cc45297
added targets from LPCXpresso exporter
...
added all targets from older LPCXpresso exporter
2017-08-16 18:11:53 +02:00
JojoS
2bd7b4dee1
added templates for LPC4088 and LPC11H37
...
target specific templates use a common template .cproject.tmpl and extend it by adding target information. This is necessary for the flash and debugging tools
2017-08-16 18:11:11 +02:00
JojoS
16c4150741
added generated flags
...
target family, fpu
removed 'develop' proffile, it causes errors in import
2017-08-16 18:10:35 +02:00
JojoS
41c5fdbcbe
created project compiles in MCUX
...
project is read, but still fixes necessary:
- archticture is fixed entry, read from config
- linker options
- linker script file ?
- linker settings 'managed build' page causes error
- develop still not working
2017-08-16 18:10:02 +02:00
JojoS
544fd2a9d0
make excluded_folders POSIX conform
...
change backslash to forward slash in excluded_folders set
2017-08-16 18:09:27 +02:00
JojoS
af177c577e
changed template to gae exporter style
...
creates output for debug, develop and release builds
TODO. replaces some fixed flags, develop build not working , linker has no input files
2017-08-16 18:08:41 +02:00
JojoS
f9152c2bd6
exporter based on lpc54114 template from nxpmicro
...
- used LPC4088 for testing
- split template for LPC54114 into common and Cortex-Mx dependet parts like in old LPCXpresso exporter
- changed fixed linker script name to name from options
Todo: use flags and configurations from options (like in gae exporter)
2017-08-16 18:07:55 +02:00
Mahadevan Mahesh
8ae5edacda
Add support for MCUXpresso inside mbed exporter
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-15 23:18:22 +02:00
Jimmy Brisson
b1d3669f3a
Merge pull request #4850 from janjongboom/vscode_defines
...
Add list of defines to vscode exporter
2017-08-14 11:39:44 -05:00
Jimmy Brisson
479fca70a1
Merge pull request #4836 from NXPmicro/IAR_Support
...
mbed exporter: Add IAR support for various NXP platforms
2017-08-10 09:37:57 -05:00
Jimmy Brisson
0dcf71b181
Merge pull request #4828 from alzix/enhancement/exporter/cdt
...
Enhancement - exporter/cdt
2017-08-10 09:37:39 -05:00
Jan Jongboom
c921717ba7
Add list of defines to vscode exporter
2017-08-03 12:44:40 +02:00
Mahadevan Mahesh
55e81fa8bb
mbed exporter: Add IAR support for various NXP platforms
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-08-01 09:16:18 -05:00
Alexander Zilberkant
4b5535f9b6
Fix CDT debugger settings on Linux - remove .exe suffix
...
On Linux machines arm-none-eabi-gdb executable do not have .exe suffix.
On Windows machines - it is possible to run an executable without explicit .exe suffix.
This change fixes debugger settings for Linux hosts
2017-08-01 08:40:32 +03:00
Alexander Zilberkant
bd660ec82e
Rename Eclipse .launch file according to project name
...
Since Eclipse supports working with multiple projects in the same workspace, .launch file name
should include project name for creating unique per-project .launch file.
2017-08-01 08:40:32 +03:00
Alexander Zilberkant
7744587dc6
Remove unused Python imports
2017-08-01 08:40:31 +03:00
JojoS
0c254448e0
verify libname before stripping
2017-07-31 23:34:48 +02:00
JojoS
c8bb167f1f
fix unresolved linker msg: __wrap_
...
adding libraries to gcc linker group command
2017-07-31 23:34:48 +02: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
78a1eddf61
Merge pull request #4804 from johanstokking/fix/4802-copy-static-files
...
Copy static files only
2017-07-27 09:47:32 -05:00
Jimmy Brisson
d2ad8867e7
Merge pull request #4742 from theotherjimmy/deprecate-exporters
...
Deprecate unsupported exporters
2017-07-27 09:40:12 -05:00
Jimmy Brisson
c8e6cf5bdd
Collect ignores from scan resources and use in exporetrs
2017-07-26 14:31:22 -05:00
Johan Stokking
382e030bdc
Use immutable tuple instead of mutable list
...
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-25 13:48:53 +02:00
Johan Stokking
9bcd1da2fa
ZIP export static files
...
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-25 13:46:55 +02:00
Johan Stokking
f8abcf4050
Copy static files also when zipping
2017-07-24 21:11:09 +02:00
Johan Stokking
b0f5b3d768
Copy static files only
...
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-24 20:39:28 +02:00
Jimmy Brisson
54cb6ef871
Deprecate Simplicity Version 3
2017-07-19 11:23:53 -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
756d062e73
Deprecate LPCXpresso
2017-07-11 11:16:17 -05:00
Jimmy Brisson
cc37669af2
Deprecate KDS
2017-07-11 11:16:05 -05:00
Jimmy Brisson
1c4d615912
Deprecate e2studio
2017-07-11 11:15:43 -05:00
Jimmy Brisson
8856f1ab0a
Deprecate Coide
2017-07-11 11:15:31 -05:00
Jimmy Brisson
fea553c6d5
Deprecate Atmel Studio
2017-07-11 11:15:13 -05:00
Jimmy Brisson
39f8a7d261
Create deprecated exporter class decorator
2017-07-11 11:14:52 -05:00
Jimmy Brisson
1d9fe5e337
Remove unusable exporters
2017-07-11 11:14:28 -05:00
Jimmy Brisson
81446f69be
Generate exporter suppored lists when needed
2017-07-07 14:45:32 -05:00
Anna Bridge
292b4082ef
Merge pull request #4636 from theotherjimmy/quote-cflags
...
Double escape defines in gnuarmeclipse export
2017-07-07 12:40:40 +01:00
Martin Kojtal
3c08c96494
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 09:48:44 +01: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
Jimmy Brisson
e57296d5b9
Merge pull request #4598 from theotherjimmy/iar-styling
...
Fix style issues in IAR exporter
2017-06-26 10:30:22 -05:00
Jimmy Brisson
72bdeefca9
Merge pull request #4552 from bcostm/add_IAR_nucleo_f767zi
...
NUCLEO_F767ZI: Add missing IAR definitions
2017-06-26 10:27:46 -05:00
Anna Bridge
f1d0314783
Merge pull request #4410 from arostm/dev_disco_f413ZH
...
DISCO_F413ZH: Add new platform
2017-06-23 11:41:50 +01:00
Jimmy Brisson
75935b466d
Merge pull request #4616 from amq/master
...
Fix unresolved include of mbed_config.h in Eclipse
2017-06-22 10:11:35 -05:00
Jimmy Brisson
14a0fb7ca5
Fix style issues in IAR exporter
2017-06-22 09:41:22 -05:00
Martin Kojtal
ea4220dda0
Merge pull request #4578 from sarahmarshy/patch-10
...
Turn off "browse information" in Uvision template
2017-06-22 13:53:16 +02:00
amq
2b70e8f061
Fix unresolved include of mbed_config.h in Eclipse
2017-06-22 13:51:26 +02:00
arostm
ac3d5a0b25
DISCO_F413ZH: add IAR exporter
2017-06-22 09:23:08 +02:00
arostm
b862b653d3
DISCO_F413ZH: corrections
...
- leds definition
- add sw4stm32 exporter
- recomment mco debug
2017-06-22 09:16:32 +02:00
Anna Bridge
c5e1fa70d9
Merge pull request #4242 from bcostm/dev_disco-l475-iot
...
DISCO_L475VG_IOT01A : Add new target
2017-06-20 11:41:42 +01:00
Jimmy Brisson
b56d9f3df3
Merge pull request #4540 from theotherjimmy/export-app-config
...
Support app config option for export
2017-06-19 11:59:38 -05:00
sarahmarshy
2abe6be5ba
Turn off "browse information" in Uvision template
...
"Browse information," or the indexer for MDK, causes extremely long
build times when enabled.
2017-06-19 10:44:23 -05:00
Sam Grove
d7c5be26ef
Merge pull request #4544 from theotherjimmy/export-static-files
...
Export static files from mbed export
2017-06-15 11:18:28 -05:00
bcostm
a5240d25e2
NUCLEO_F767ZI: Add missing IAR definitions
2017-06-14 15:16:11 +02:00
Jimmy Brisson
60fea42fdb
Filter supported devices with a post-bin whitelist in uvision
2017-06-13 15:55:36 -05:00
Jimmy Brisson
f81444d4f8
Export static files from mbed export
2017-06-13 13:40:30 -05:00
Jimmy Brisson
c4a6163ce5
Accept app config option for export
2017-06-13 10:30:05 -05:00
bcostm
b26eae581d
Add DISCO_L475VG_IOT in build, export and tests python files
2017-06-12 17:03:12 +02:00
Jimmy Brisson
603ef3d75e
Correct FPU setting for Cortex-M7FD
...
They had floating point turned off before
2017-06-09 00:03:23 -05:00
Jimmy Brisson
64baee8ac7
Correct profile handling in GNUARMEclipse exporter
2017-06-09 00:03:23 -05:00
Jimmy Brisson
578064e3fc
Remove unsupported part from IAR
2017-06-09 00:03:22 -05:00
Jimmy Brisson
a5cc8ef446
Remove incompatible post binary hook
2017-06-09 00:03:22 -05:00
Yuguo Zou
88d4d1d0f8
exporter coding style fix
...
should use space instead of tab
2017-06-03 20:15:04 +01:00
Yuguo Zou
92ca664fda
Add support for mbed exporter
...
(uvision, gcc_arm, iar)
2017-06-03 20:15:04 +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
Martin Kojtal
88c398b52a
Merge pull request #4377 from theotherjimmy/disable-cortex-A
...
Disable Cortex-A in tooling for better error messages
2017-05-31 07:50:21 +01: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
Anna Bridge
ddc015fb6e
Merge pull request #4303 from nvlsianpu/nrf52840_iar
...
enable iar exporter for nRF52840
2017-05-30 16:45:25 +01:00
Sam Grove
2e5ba49b59
Merge pull request #4395 from theotherjimmy/fix-uvision-support
...
Allow generic core exports to UVision
2017-05-26 10:20:33 -05:00
Jimmy Brisson
598cbdf023
Merge pull request #4381 from janjongboom/vscode-intellisense-engine
...
Fix vscode intellisense engine to 'Tag Parser'
2017-05-25 15:06:54 -05:00
Jimmy Brisson
4d1a4a41fa
Fix Uvision supported check
...
Should now allow for generic targets
2017-05-25 15:01:20 -05:00
Jan Jongboom
1b0d7ee120
Fix vscode intellisense engine to 'Tag Parser'
2017-05-24 10:56:45 +01:00
Vincent Coubard
897667deaa
makefile exporter: Escape double quote in toolchain flags.
...
Without this fix macro defined as -DFOO="BAR" won't be correctly
interpreted by the compiler.
2017-05-23 14:08:24 +01:00
Vincent Coubard
deaabf3123
uvision exporter: Escape double quote in flags.
...
Without this fix macro defined as -DFOO="BAR" won't be correctly handled
by uvision.
2017-05-23 14:04:05 +01:00
Andrzej Puzdrowski
83c4b585c1
nRF52840_xxAA: enable iar exporter. nRF5x-MDK-IAR 8.11.1 or newer is required.
2017-05-17 11:45:57 +02:00
Martin Kojtal
12e6f8a1a8
Merge pull request #4293 from theotherjimmy/dedupe-iar-flags
...
Revome duplicate optimization flags in IAR export
2017-05-15 16:20:12 +01:00
Martin Kojtal
7a656302b2
Merge pull request #4286 from theotherjimmy/fix-coide-missing-template
...
Remove unsupported Coide exports
2017-05-15 16:16:10 +01:00
Jimmy Brisson
6b8dd7b880
Revome duplicate optimization flags in IAR export
2017-05-09 14:20:48 -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
c782054eb5
Remove unsupported Coide exports
...
They simply would error with "template not found". Instead, lets just
disable them.
2017-05-08 14:03:27 -05:00
Jimmy Brisson
c1cbd26f1d
Merge pull request #4256 from arostm/dev_disco_lora
...
DISCO_L072CZ_LRWAN1: add a new platform
2017-05-08 11:15:00 -05:00
Jimmy Brisson
03806a8045
Merge pull request #4224 from theotherjimmy/mbed-new-export
...
Add `mbed new .` output to export
2017-05-02 11:28:09 -05:00
Alexis ROCHE
71492e5473
DISCO_L072CZ_LRWAN1: add IAR export
2017-05-02 12:53:25 +02:00
Alexis ROCHE
a59c4ff8a7
DISCO_L072CZ_LRWAN1: add LRWAN1 to the name
2017-05-02 12:53:25 +02:00
Alexis ROCHE
19109d9404
DISCO_L072CZ: Modifications and verifications to build
2017-05-02 11:50:24 +02:00
Jimmy Brisson
43bd303db3
Add `mbed new .` output to export
2017-04-26 09:52:07 -05:00
Jimmy Brisson
cf87e7d182
Merge pull request #3915 from janjongboom/feature-vscode
...
Feature vscode
2017-04-20 12:39:44 -05:00
Anna Bridge
8344adf48a
Merge pull request #4172 from theotherjimmy/iar-no-linker-scirpt
...
Fail IAR exports without linker scirpts with NotSupportedException
2017-04-20 16:27:58 +01:00
Anna Bridge
da4fb75256
Merge pull request #4171 from theotherjimmy/lpc-template-execption
...
Fix typo in LPCExpresso exporter template
2017-04-20 16:26:28 +01:00
Sam Grove
a67eca5e72
Merge pull request #4173 from theotherjimmy/fix-cmsis-traceback
...
Fix Traceback in CMSIS export.
2017-04-19 02:20:21 -05:00
Sam Grove
de6cce77be
Merge pull request #4168 from theotherjimmy/gnuarmeclipse-more-templates
...
Generate GNU ARM Eclipse .mbedignore file with jinja2
2017-04-19 02:18:17 -05:00
Jimmy Brisson
6a325673de
Fix Traceback in CMSIS export.
...
The traceback was caused when a file without a parent directory (which
is implicitly ".") is added to the resources object. The code assumed
that all files within the resources object would have a parent
directory.
This commit changes the check to account for files that are in the root
directory of a project and have no preceding `./`
2017-04-12 11:00:09 -05:00