Commit Graph

812 Commits (7442da30f9137f5382090e0a955ac1541acce802)

Author SHA1 Message Date
Cruz Monrreal 53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
tools: Refactor notification API
2018-05-07 10:48:48 -05:00
Cruz Monrreal ab81b61e6c
Merge pull request #6657 from tsailer/exporter-codeblocks-ncs
add ncs36510 fib and trim generation
2018-05-07 10:40:51 -05:00
Cruz Monrreal 2ddce27a42
Merge pull request #6769 from theotherjimmy/fix-subtract-basepath
Move subtract basepath into the resources class
2018-05-07 10:33:36 -05:00
Jaakko Heikkilä 03b16fc1c3 export: Fix invalid config header path in Sw4STM32
Removed tmp-path from config header path, when project is exported
in online compiler. Parallel build is enabled by default.
2018-05-07 15:27:25 +03:00
Jimmy Brisson d338e672de Apply subtract basepath to features
A bug, #6755, was the result of the `subtract_basepath` function not
being applied to a resources object's children (it's features). This PR
fixes this bug by moving this functionality into the resources class.
Then, I applied the `subtract_basepath` method to the children resource
objects recursively. This has been tested on Partnerbeta and is to
upstream the fix.
2018-05-03 08:54:55 -05:00
Jimmy Brisson d422a5aadc Use notifier api in export 2018-04-30 14:42:33 -05:00
Jimmy Brisson d8becaa652 Remove ASM include paths for ARM compiler 2018-04-23 15:23:00 -05:00
Ganesh Ramachandran 38c5997e4c IAR export and page size fix for nvstore 2018-04-19 17:24:58 +05:30
Martin Kojtal 7aa293b11a
Merge pull request #6441 from theotherjimmy/disable-deprecated-exporters
Disable all deprecated exporters
2018-04-18 14:24:47 +02:00
Thomas Sailer 004724d4d9 add ncs36510 fib and trim generation 2018-04-17 18:28:41 +02:00
Cruz Monrreal 1df9f7d450
Merge pull request #6637 from bcostm/add_iar_stm32l496ag
Add IAR export for STM32L496AG
2018-04-17 10:55:39 -05:00
bcostm 213f17aaf5 STM32L496AG: Add IAR export 2018-04-13 17:15:27 +02:00
Kimmo Vaisanen 14704c9387 Add iar export support for STM32L151CC 2018-04-13 14:03:00 +03:00
Thomas Sailer 696a7f5bd5 generate .mbedignore files in bin and obj to prevent mbed compile from getting confused 2018-04-06 11:45:12 +02:00
Thomas Sailer 69d7c530f5 proper compile flags for Release target; add fib/trim files to .mbedignore so mbed compile doesn't pick them up 2018-04-06 11:44:59 +02:00
Thomas Sailer 7b7d5fcb91 exporter: properly export libraries 2018-04-06 11:42:23 +02:00
Thomas Sailer 84fe7ed5fd skip -c, sort compiler options and file list 2018-04-06 11:41:49 +02:00
Thomas Sailer 8478ec253a copy ncs36510addfib.py into project root, because it cannot be relied to be accessible in the template directory 2018-04-06 11:40:37 +02:00
Thomas Sailer 209310c54f remove NCS36510 specific changes from this branch 2018-04-06 11:31:55 +02:00
Thomas Sailer f53154a95e some modifications from review 2018-04-06 11:31:55 +02:00
Thomas Sailer ca86cbf565 Code::Blocks project file exporter 2018-04-06 11:31:55 +02:00
Cruz Monrreal c8bd08f60e
Merge pull request #6043 from ithinuel/add-rak811
add support for the RAK811
2018-03-30 01:54:19 -05:00
Jimmy Brisson c44dba3ef4 Minimize include path size in uvision export 2018-03-27 14:30:43 -05:00
Jimmy Brisson b60729d147 Move filter dot into exporter base class 2018-03-27 14:30:36 -05:00
Wilfried Chauveau 78d73a1a63 add the target to travis build script & sw4stm32 export script. 2018-03-27 10:45:04 +01:00
Jimmy Brisson 92c257709c Disable all deprecated exporters 2018-03-23 09:56:10 -05:00
Jimmy Brisson cd31272d4b Avoid incorrect config errors on export 2018-03-23 09:28:49 -05:00
Cruz Monrreal f6bcbfe1f0
Merge pull request #6356 from hug-dev/asm-include-flags
Add include search path when preprocessing assembly files for uvision and make_armc5 exports
2018-03-19 16:52:18 -05:00
Jimmy Brisson 14255ca113 Correct syntax for mbed export in Py3 2018-03-16 13:08:20 -05:00
Hugues de Valon ebc9289d30 Add ASM include flags in uvision export
When exporting to a uvision project, the include flags are not put in
the assembly compilation line. When assembling the files containing
includes, the search path will then fail. This patch adds the include
paths to the Assembly sequence, as it is done for compilation.
This issue was found in the pull request ARMmbed/mbed-os#6168.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-03-14 13:09:07 +00:00
Hugues de Valon 6b72edeb9a Add ASM flags virtual path for make export
When exporting a mbed project to make_armc5, the include options (-I)
of the ASM flags are not pointing to the good folder. It should be
pointing to the root mbed-os folder and not the one in BUILD.
This issue was found in the pull request ARMmbed/mbed-os#6168.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-03-14 13:08:55 +00:00
Alan Chuang 3a504a500e
Enable iar export option for MTB_ADV_WISE_1510 2018-03-14 19:07:42 +08:00
Vincent Coubard e568aa47ba Merge branch 'master' of https://github.com/ARMmbed/mbed-os into pr-sm 2018-02-27 14:33:35 +00:00
Cruz Monrreal daf29dc9f2
Merge pull request #6153 from theotherjimmy/correct-export-clean
Correct exporter clean behavior
2018-02-26 14:38:45 -06:00
paul-szczepanek-arm c8f77259ed Merge https://github.com/ARMmbed/mbed-os 2018-02-23 10:11:49 +00:00
Jimmy Brisson ed7793de65 Add clean methods to many more exporters 2018-02-22 14:46:21 -06:00
Mahesh Mahadevan a9cd4705d8 LPC546XX: Add support for 220MHz core speed available on LPC54628
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-02-22 07:30:19 -06: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
paul-szczepanek-arm dd7bc50e4b Merge branch 'master' into palsm 2018-02-19 16:39:10 +00: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
Mike Harrington 8c87c2692c Updated README.md to include instructions for different operating systems. Reduced duplicate code. 2018-02-13 14:56:54 -05:00
Mike Harrington d93bdafbf1 Resolved pylint errors and made changes based on feedback. Added README describing how to use headless tools after exporting. 2018-02-09 14:48:06 -05:00
Mike Harrington 60b22dba19 Added exporter for Analog Devices' CrossCore Embedded Studio 2018-02-09 14:48:05 -05:00
Cruz Monrreal 1c5c1c79d0
Merge pull request #6027 from ithinuel/fix-target-names-for-murata-abz-and-adv-wise-1510
rename MURATA type ABZ & WISE 1510 to their expected name
2018-02-07 20:06:50 -06:00
Cruz Monrreal c679dee286
Merge pull request #5848 from theotherjimmy/compile-py3
Python2+3: mbed compile, mbed test --compile,  python unit tests
2018-02-07 15:48:18 -06:00
Cruz Monrreal ebb39244f4
Merge pull request #6001 from ubirch/mbed-os-5985
Corrects intermittent CLion exporter issue with cmake build directory
2018-02-07 14:56:18 -06:00
Cruz Monrreal 779ee843ea
Merge pull request #5797 from hosse005/master
ARMC5+6: Specify CPU for ARM scatter file preprocessor
2018-02-07 14:50:44 -06:00
Wilfried Chauveau 6c9fcf3dd8 rename MURATA type ABZ & WISE_1510 to their expected name 2018-02-06 21:23:37 +00:00
Jimmy Brisson c93a2bfa4c Python2+3: Use absolute import where possible 2018-02-05 11:07:37 -06:00
Jimmy Brisson cca4425af6 Python2+3: iteritems -> items 2018-02-05 11:04:36 -06:00
Cruz Monrreal 964e6e74fb
Merge pull request #5826 from codeauroraforum/Add_iMXRT_Support
NXP: Add support for MIMXRT1050_EVK
2018-02-05 10:15:17 -06:00
Jimmy Brisson 9b8ba4dd98 Use relative path to scatter for include path 2018-02-02 11:53:51 -06:00
Matthias L. Jugel e321e98faa fix #5985 CLion exporter results in cmake build directory, causes compiler to fail in unexpect... 2018-02-02 09:51:14 +01:00
Cruz Monrreal ce9f63fde7
Merge pull request #5964 from amq/vscode-launch
VS Code exporter: do not overwrite existing (launch|settings|tasks).json
2018-02-01 13:27:27 -06:00
Cruz Monrreal 10c81775b4
Merge pull request #5990 from theotherjimmy/fix-sw4stm32-supported
Correct SW4STM32 supported check
2018-02-01 10:30:55 -06:00
Cruz Monrreal bf3693fef4
Merge pull request #5909 from theotherjimmy/bl-as-config
Let libraries, targets configure bootloader
2018-02-01 10:28:42 -06:00
Jimmy Brisson f88b425bfe Correct SW4STM32 supported check 2018-01-31 16:13:21 -06:00
Cruz Monrreal 097966b8c7
Merge pull request #5905 from ithinuel/add-CMWX1ZZABZ-078-support
add support for the murata's module CMWX1ZZABZ-078 based on STM32L0
2018-01-31 12:14:29 -06:00
Jimmy Brisson 6eebc71d99 Force config resolution in gnuarmeclipse exporter 2018-01-31 10:04:34 -06:00
Cruz Monrreal b87e98c57b
Merge pull request #5904 from ithinuel/add-wise-1510
add support for STM32L443RC & WISE-1510
2018-01-30 15:01:00 -06:00
amq 301438debb VS Code exporter: do not overwrite existing (launch|settings|tasks).json 2018-01-29 19:18:06 +00:00
Cruz Monrreal cf5065c312
Merge pull request #5901 from cmens23/netbeans_exporter
Netbeans Exporter Bugfix
2018-01-29 10:11:59 -06:00
Cruz Monrreal 6da5d54e40
Merge pull request #5933 from phyokyaw/master
Add OpenOCD 5x launch file to e2 studio and update naming
2018-01-29 10:10:08 -06:00
Cruz Monrreal 6e964a6fe4
Merge pull request #5476 from ubirch/add-cmake-export
add cmake exporter for CLion use
2018-01-26 15:07:55 -06:00
Wilfried Chauveau e6b19d838c add support for STM32L443RC & WISE-1510 2018-01-26 17:06:39 +00:00
Cruz Monrreal da6532e57a
Merge pull request #5857 from TomoYamanaka/master
Registration GR-LYCHEE board as a new mbed board
2018-01-26 10:50:44 -06:00
Mahesh Mahadevan 060daa99c9 NXP: Add support for MIMXRT1050_EVK
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-01-26 07:46:43 -06:00
Wilfried Chauveau f8e88d7443 add support for the murata's module based on STM32L0 2018-01-26 12:26:25 +00:00
Clemens Mandl 1ea22c1dd6 Updated List comparision with shorter implementaion using python build-in function zip() 2018-01-24 13:49:24 +01:00
Phyo Kyaw d3ac7d3997 Updated exporter for e2 studio: added new launch file 2018-01-23 17:16:26 +00:00
Clemens Mandl 8bb35ca575 Fixed a bug with multiple Sub-Directories with same name 2018-01-23 11:08:58 +01:00
Matthias L. Jugel 0a40a52797 flatten the compiled files list 2018-01-22 19:03:20 +01:00
Matthias L. Jugel c5119ca89e use the normal name without cmake- prefix 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 7acad55f5b add link library paths to build 2018-01-22 19:03:20 +01:00
Matthias L. Jugel c968bc2f86 add ci build operations 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 829b04cb48 change linking stage (dependencies), print built hex file name 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 9e503559bd fix linker issue 2018-01-22 19:03:20 +01:00
Matthias L. Jugel e2ae5607e9 add handling of sub-dependencies, fix profile selection 2018-01-22 19:03:20 +01:00
Matthias L. Jugel c29945b1be simplify the complicated removal of dependency sources
add hex file generation
2018-01-22 19:03:20 +01:00
Matthias L. Jugel 6f667e5ca2 explain code, fix naming, work on linking 2018-01-22 19:03:20 +01:00
Matthias L. Jugel 07b21abc75 add cmake exporter for CLion use 2018-01-22 19:03:19 +01:00
Cruz Monrreal c2784c8962
Merge pull request #5532 from cmens23/master
Exporter for Netbeans GCC_ARM
2018-01-22 10:31:24 -06:00
TomoYamanaka 87968c2536 Enable exporter for GR_LYCHEE is a Renesas new target board
I added GR_LYCHEE as a new target board in DS-5, e2studio and IAR export.
2018-01-16 13:30:31 +09:00
c.mandl b741e85432 Added Compiler Toolchain Varibales in Templates and modfied generation of jinja 2018-01-15 10:44:36 +01:00
Clemens Mandl a0703278ea Small Refactoring of variable definitions and removed some unnecessary brackets 2018-01-09 16:54:56 +01:00
Clemens Mandl 212e5669c0 Removed getattr() where it was not needed 2018-01-09 16:13:08 +01:00
Clemens Mandl fe3f533a11 Fixed indention in Line 217 and 218 2018-01-09 15:57:52 +01:00
Adam Heinrich da81229186 NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2017-12-29 15:30:10 +01:00
Cruz Monrreal II b8de0f299a
Merge pull request #5693 from li-ho/ev-cog-iar-export
Enable IAR export for EV_COG_AD3029LZ and EV_COG_AD4050LZ
2017-12-28 18:27:01 +00:00
Martin Kojtal 9ebefcd63d
Merge pull request #5470 from ashok-rao/master
Add device_name for TB_SENSE_12.
2017-12-20 14:54:48 +00:00
Martin Kojtal 2e6f24518b
Merge pull request #5707 from adustm/stm32l475_iar_export
Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A)
2017-12-20 14:40:35 +00:00
adustm f76207921b Add IAR exporter for STM32L475VG (mcu of DISCO_L475VG_IOT01A) 2017-12-14 15:50:56 +01:00
Martin Kojtal 98a1aecfc1
Merge pull request #5685 from 0xc0170/fix_gettinstarted
Export: fix link in gettingstarted template
2017-12-13 09:20:11 +00:00
Edmund Hsu df3d0ad167 Enable IAR export for EV_COG_AD3029LZ and EV_COG_AD4050LZ
- ADuCM3029 is the MCU name for EV_COG_AD3029LZ
 - ADuCM4050 is the MCU name for EV_COG_AD4050LZ
2017-12-13 12:05:31 +11:00
Martin Kojtal 32edb92299
Merge pull request #5657 from theotherjimmy/fix-e2studio
Correct typo? in e2studio exporter code
2017-12-12 17:40:04 +00:00
Martin Kojtal 95b02936fa Export: fix link in gettingstarted 2017-12-12 08:46:06 +00:00
Jimmy Brisson 44e72fdc7d Correct typo? in e2studio exporter code 2017-12-05 10:01:15 -06:00
Clemens Mandl ff7d723fec Removed unnecessary list comprehension 2017-11-29 08:01:31 +01:00
Clemens Mandl 52839aaa91 Refactoring of function get_netbeans_file_list(file_list) to have a clearer code 2017-11-28 07:42:13 +01:00
Clemens Mandl 61461bcc43 Removed another block of unused (commented) code 2017-11-28 07:15:41 +01:00
Clemens Mandl 2843c9fbd7 Removed commented Line 2017-11-28 07:14:14 +01:00
Clemens Mandl e423947af3 Fixed Linking with Linker Script 2017-11-27 17:03:39 +01:00
c.mandl b112ad7da4 Refactoring of Netbeans Exporter...still some more work to do, because linking still not works 2017-11-24 09:45:46 +01:00
c.mandl 8e23b80561 Removed commented Line 2017-11-20 10:05:06 +01:00
c.mandl 1b30df938c Added Netbeans Exporter 2017-11-20 10:02:08 +01:00
Jimmy Brisson 4c57d86cd2 Remove include paths from uvision assembler export 2017-11-15 15:33:43 -06:00
Jimmy Brisson 0c5ba43f5e Correct pack_* members to refer to PACK files
They referred to PDSC files before
2017-11-13 13:21:31 -06:00
jeromecoutant 88c3bcfd1c NUCLEO_L496ZG_P support 2017-11-03 11:06:45 +01:00
Jimmy Brisson c40b642455
Merge pull request #4650 from catiedev/master
NUCLEO_L496ZG: Add new Platform
2017-11-02 10:36:23 -05:00
Jimmy Brisson 44c4d84082
Merge pull request #5359 from ganesh-ramachandran/master
Added IAR export for TMPM066
2017-11-01 13:28:08 -05:00
Jimmy Brisson cbc3d83f83 Remove include from assember in makefile exporter
The build system does not do this, so this is a consistency fix
2017-11-01 09:26:25 -05:00
Anna Bridge 97e2d4a8c5 Merge pull request #5025 from grygorek/master
LPC1769 port
2017-10-26 11:35:35 +01:00
Ganesh Ramachandran 0a1d9fa018 added IAR export for TMPM066 2017-10-23 11:17:31 +05:30
Roberto Spelta b969979127 added IAR export for STM32L476JG 2017-10-10 16:04:52 +02:00
Pierre-Marie Ancele c17c410dc6 add target definition for sw4stm32 exporter 2017-10-06 11:37:03 +02:00
adustm 88a1540813 Add STM32L496VG to be able to exprot a program in IAR 2017-10-06 11:35:16 +02:00
Jimmy Brisson 9b62dce47e Merge pull request #5199 from mgiaco/master
Add quotes to preprocessor path on export
2017-10-05 11:12:24 -05:00
Jimmy Brisson 41998d5836 Merge pull request #5084 from adustm/NUCLEO_L486_export
Allow exporters for NUCLEO_L486RG
2017-10-05 11:12:06 -05:00
Mahadevan Mahesh 880f106740 Change LPC54608 to LPC546XX to include support for LPC54608/18/28
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-02 11:20:27 -05:00
Piotr Grygorczuk 728a3a4a76 mbed LPC1768 & Xpresso LPC1769 unified
Target of LPC1769 links to mbed LPC1768.
The PinNames.h has conditional compile for the pin names.
LWIP lpc17xx emac driver modified to allow LPC1769 target
2017-10-02 11:05:39 +01:00
Jimmy Brisson 1a04b0a7b4 Merge pull request #5052 from mbedNoobNinja/Branch_Export
ds5 & e2studio export fix
2017-09-29 10:09:30 -05: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
Jimmy Brisson 482c2aef2d Merge pull request #5149 from theotherjimmy/update-export-link
Update link in GettingStarted to current docs
2017-09-25 10:13:09 -05:00
Jimmy Brisson 6ca2342fba Merge pull request #5166 from theotherjimmy/force-armc5-preproc
Force preprocessing of asm for make_armc5
2017-09-25 10:12:28 -05:00
Jimmy Brisson b8863862cc Merge pull request #4959 from phyokyaw/master
e2 studio exporter update
2017-09-25 10:11:13 -05:00
adustm 4817f06435 Allow exporters for NUCLEO_L486RG 2017-09-22 14:21:00 +02:00
Martin Kojtal c6f655c02e Merge pull request #4779 from JarnoEtt/sw4stm_exporter_fix
Fixed sw4stm32 exporter
2017-09-22 11:36:21 +01:00
Jimmy Brisson 69c38012eb Force preprocessing of asm for make_armc5
It seem to preprocess asm with the `.S` extension on linux, but the
windows build of Arm Compiler 5 seems to omit the preprocessing step
unless you have a `.sx` extension. Odd.
2017-09-21 17:37:10 -05:00
Jimmy Brisson 97b0dd8bd5 Update link in GettingStarted to current docs 2017-09-21 15:32:26 -05:00
Jimmy Brisson a62f89da05 Correct uvision template to correctly pass include paths 2017-09-14 09:39:00 -05:00
Jimmy Brisson 8db0fa9819 Correct rename mistake in make arm compiler exporters 2017-09-14 09:14:47 -05:00
Jimmy Brisson 3e1b96d899 Disable response files on export
None of the exporters can handle them, so just don't do it
2017-09-13 15:14:26 -05:00
Jaakko Heikkilä 6b6187a405 export: Add missing flags to Sw4STM32
Some of the optimization and warning flags, which were supported by the
gnuarmeclipse exporter, were missing from the sw4stm32.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä c13b80cc75 export: Corrections to Sw4STM32 after review
Add double quotes to linker command unconditionally.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 5b0fe22652 export: Fix invalid id's in Sw4STM32 project files 2017-09-13 12:05:27 +03:00
Jaakko Heikkilä b94ad5aa35 export: Remove build directories from excluded paths
Directories Debug and Release must not be excluded. Otherwise, Eclipse is
not able to find binaries, which are stored to build directories.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 847276455b export: Add debug configuration to Sw4STM32 2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 9d386b23e4 export: Fix Windows problems with Sw4STM32
Quoting linker preprocessor command, if path contains parentheses. Using
relative path to shorten list of included directories. Using Eclipse
variables to get path to preprocessor.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä e1d163ba0a export: Remove preprocessed ld files after build
Sometimes Sw4STM32 exporter receives wrong linker script file. Because build
directories cannot be excluded from scanned resources, ld files are removed.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 98e578f707 export: Fix after testing Sw4STM32
Quotation marks in defines had to be replaced with html codes.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä e0cdda6e72 export: Invalid linker script path in Sw4STM32
Fixed invalid linker script path in project file.
Using 'defines' instead of 'symbols' in compiler options.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä d8d2b404cd export: Remove dublicate methods in Sw4STM32
Removed unused methods and methods with dublicate functionality.
Removed unused imports. Generating list of defines for assembler.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä 83127db09e export: Sw4STM32 inherits GNUARMEclipse
Sw4STM32 is using methods from GNUARMEclipse class to handle flags.
Flags are also passed to cproject file.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä dbf20fca39 export: Change linker script name
SW4STM32 linker script name now contains target name.
Print formatting is using new Python style.
2017-09-13 12:05:27 +03:00
Jaakko Heikkilä b2876c47d1 export: Fix sw4stm32 linker script problem
Added makefile.target, and rule for linker script pre-compilation.
2017-09-13 12:05:27 +03:00
Jarno Komula fbc4a89607 Review changes + including config header from toolchain.get_config_header() instead of hardcoding it to project file. 2017-09-13 12:05:27 +03:00
Jarno Komula 0b90c827bd Better readability. 2017-09-13 12:05:27 +03:00
Jarno Komula 2d27e2730f Review corrections. 2017-09-13 12:05:27 +03:00
Jarno Komula 6289596f04 Fixed sw4stm32 exporter 2017-09-13 12:05:27 +03:00
Jimmy Brisson 06b00683c3 Genericify arm compiler exporter to versions 5 + 6 2017-09-11 13:20:32 -05:00
Jimmy Brisson e9d3166a5e Expose present get_compile_options API in Toolcahins 2017-09-11 13:20:32 -05:00
Jimmy Brisson 15a9a0382b Enable Compiling with ARMC6 across all targets
remove duplicate sys.cpp
2017-09-11 13:20:32 -05:00
mbedNoobNinja 3ba6620521 "ds5_5 & e2studio export fix" 2017-09-11 09:30:43 +03:00
Jimmy Brisson a108adf396 Merge pull request #4916 from JojoS62/add_MCUXpresso_exporter
Add mcuxpresso exporter
2017-09-08 09:44:25 -05:00
Jimmy Brisson a3bb8e370b Allow eclipse to fail for mysteriously in build 2017-09-06 17:38:58 -05:00
Jimmy Brisson 9d51b1afa8 Add imports for build 2017-09-06 16:58:40 -05:00
Chris Snow e783e98066 Export linker flags so that bootloader projects build correctly 2017-09-05 22:03:29 +01:00
JojoS 32c56b2743 added support for targets with extra SDK
some targets need an additional SDK.
2017-09-01 09:45:42 +02:00
JojoS d00d6f412a add support for K64F target
added template for K64F
2017-09-01 09:43:36 +02:00
JojoS 2615982b3a applied patch from mmahadevan108
- fixes invalid char '#' in linker script
- added 'mbedclean'
2017-09-01 09:41:12 +02:00
Phyo Kyaw 2cbca704d8 e2 studio exporter update 2017-08-23 17:00:55 +01:00
JojoS 025b8d9a4d changed execuatable name for tests 2017-08-23 17:02:33 +02:00
JojoS f776631d3b added target LPCPC54608
from patch by mmahadevan108
2017-08-22 21:37:14 +02:00
JojoS 07355e1362 removed empty project
was just an copy template for new targets
2017-08-21 22:19:42 +02:00
JojoS 9f628bb431 use UID class from gnuarmeclipse exporter
use global UID class
removed  outcommented code
2017-08-21 22:08:07 +02:00
JojoS e4570dbb49 add template for LPC1549 2017-08-21 21:26:16 +02:00
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