Commit Graph

812 Commits (7442da30f9137f5382090e0a955ac1541acce802)

Author SHA1 Message Date
Volodymyr Medvid 2524a67c38 Merge remote-tracking branch 'ARMmbed/master' into pr/psoc6-hal 2019-07-11 10:19:03 +01:00
Volodymyr Medvid 140b72d3ed Merge remote-tracking branch 'ARMmbed/master' into pr/psoc6-hal 2019-07-10 10:54:14 +01:00
Mark Edgeworth c8f33b1e45 Removing absolute paths to compiler executables
VSCode exporter was generating a launch config that contained absolute paths to the
compiler executables. It makes more sense to use the executables that are
installed into the system PATH.
2019-07-09 11:06:03 +01:00
Volodymyr Medvid 5cc66282dd PSOC6: remove PSA targets 2019-07-08 14:49:26 +03:00
itziar c327f4f070 add new target IM880B 2019-07-05 09:19:51 +01:00
Alexandre Bourdiol 022abea09b Add STM32H743ZI to IAR export definition 2019-06-13 15:18:37 +02:00
Kevin Bracey 85041025cc µVision export: Add ARMC6 `-std` handling
This is limited to ARMC6 because as of µVision V5.27 you can't set C++11
for ARMC5.

Also current µVision does not support gnu++14. We should be able to get
is as `<default>`, as it is the default for ARM Compiler 6.10-6.12,
but this option does not work as documented and actually requests
gnu++89 explicitly. So gnu++14 is mapped to gnu++11.
2019-05-24 16:26:15 +03:00
Kevin Bracey 5b859c47ee Set compilers to C++14 and C11
* ARMC6 and GCC are set to C++14 and C11.
* ARMC5 is set to C++11 and C99, as it's the highest it can offer.
2019-05-24 16:26:15 +03:00
Alexander Zilberkant 91505184d3 Integrate with mbeb-cli build system
PSA code generation will be called automatically upon mbed invocation.
The autogenerated files will be created under <mbed-os-root>/PSA_AUTOGEN directory.
2019-04-30 14:41:09 +03:00
Anna Bridge c180b1c5f4
Merge pull request #10451 from NXPmicro/Add_IAR_Support
MIMXRT1050: Readd IAR support
2019-04-26 13:35:01 +01:00
Anna Bridge 1cd709f6b6
Merge pull request #10322 from kjbracey-arm/gcc_builtins
GCC: remove `-fno-builtin` option
2019-04-26 13:32:02 +01:00
Mahesh Mahadevan 7cd8ee1599 MIMXRT1050: Readd IAR support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-04-22 11:47:23 -05:00
Brian Daniels fb6fcc5324 Only enable uvision postbuild when in a non-zipped exported project.
Projects that are zipped are typically from the online compiler or they
are meant to be used in a separate environment. Since the postbuild
script requires the Mbed OS tools to present in the project, we will
disable the postbuild script when the project is exported to a zipped
project.
2019-04-09 14:10:38 -05:00
Brian Daniels bbef60fbf2 Correct calls to merge_region_list 2019-04-09 14:10:37 -05:00
Brian Daniels ae344342d1 Fix import of region functions 2019-04-09 14:10:37 -05:00
Brian Daniels 1319948412 Conditionally enable post build in uvision for managed bootloader 2019-04-09 14:10:36 -05:00
Brian Daniels a0cce48282 Modify uvision templates to conditionally enable post build 2019-04-09 14:08:14 -05:00
Brian Daniels d004828589 Add post build script for uvision to support managed bootloader. 2019-04-09 14:08:14 -05:00
Brian Daniels 4734cb7059 Add template for export info needed by the post build script 2019-04-09 14:08:13 -05:00
Brian Daniels 533ee1f717 Add debug and flash init scripts for uvision.
These files are used when the post build script is enabled to support
projects that are using managed bootloader mode.
2019-04-09 14:08:13 -05:00
Cruz Monrreal 803f5fd44e
Merge pull request #9966 from naveenkaje/sct_fix
tools: fix the path generated to the sct file
2019-04-09 14:03:09 -05:00
Brian Daniels 80b0a4cbd8 Make files call the linker from the build dir, so correct the path 2019-04-09 10:20:20 -05:00
Brian Daniels 60910c049c Remove outdated projectfiles case for makefiles 2019-04-08 13:07:13 -05:00
Brian Daniels a0b9275ec4 Fixing copying of static filerefs 2019-04-08 13:07:13 -05:00
Brian Daniels 49ab2b83bd Add c_cpp_properties file to gen_files for zipping 2019-04-08 13:07:12 -05:00
Brian Daniels e65722262c Create template for missing generated vscode file
This file was being dumped to the filesystem without going through the
"gen_file" mechanism, thus it was missed when being zipped up.
2019-04-08 13:07:12 -05:00
Brian Daniels f1c98938c7 Fix incorrect reference to a filetype 2019-04-08 13:07:12 -05:00
Brian Daniels 3b4a463dce Move all generated file paths to FileRefs in the exporters.
The FileRefs allow you to preserve the correct file paths in the online
compiler. It also allows you to preserve the correct file paths for
generated files.
2019-04-08 13:07:12 -05:00
Brian Daniels 2a080a0840 Correct call to add_file_ref 2019-04-05 11:46:39 -05:00
Kevin Bracey 3caa480b04 GCC: remove `-fno-builtin` option
Since the year dot GCC has been passed the `-fno-builtin` option, which
eliminates all compiler knowledge of the C library, even down to basic
stuff like `memcpy` or `memset`, potentially inhibiting quite a lot of
optimisations.

Remove the option to re-enable the optimisations.

There is no record in the source as to why the option is present - maybe
we'll find out by trying to remove it. If necessary, it could be
selectively turned back on for particular functions.
2019-04-05 12:40:58 +03:00
Martin Kojtal c2ebb79723
Merge pull request #9814 from LMESTM/dev_NUCLEO_WB55RG
Adding NUCLEO_WB55RG support
2019-04-04 15:30:07 +02:00
Martin Kojtal 06b60e3f68
Merge pull request #10295 from AndriiLishchynskyi/eclipse_configurations
eclipse_gcc_arm export improvement
2019-04-04 12:42:34 +02:00
Martin Kojtal 8b5157ba47
Merge pull request #10282 from OpenNuvoton/nuvoton_export-iar8
Nuvoton: Support export IAR8 project
2019-04-04 10:52:19 +02:00
Andrii Lishchynskyi 7eb44cb40f Fix applying all possible setting 2019-04-03 19:14:10 +03:00
Andrii Lishchynskyi 1f16fec408 Replace 'resolution_order_names' and 'extra_labels' with 'labels'
Get rid of 'next' function
2019-04-03 12:37:45 +03:00
jeromecoutant c537869a79 NUCLEO_L4R5ZI_P: enable sw4stm32 export 2019-04-03 11:13:58 +02:00
Andriy.Lishchynskyi 71e041689d Enhancement to remove duplicates in Eclipse launch configurations 2019-04-02 17:31:22 +03:00
Naveen Kaje f0f133f3ec tools: fix the path generated to the sct file
The sct file path generated in the online compiler
is incorrect. Fix that by changing the correct_scatter_shebang
API to accept a FileRef object instead and use the path.

This change should go with change in online compiler that removes
the override for correct_scatter_shebang.
2019-04-02 09:05:15 -05:00
ccli8 50f6870868 [Nuvoton] Support export IAR8 project
1. Override IlinkOverrideProgramEntryLabel and IlinkProgramEntryLabel to specify
   entry point for debuger.
2. Refer to doc at the link below for post-export steps. Usually, 'export' is nearly
   out of the box and just install 'Nu-Link Driver (IAR)' to update Nuvoton device
   database in IAR.
   https://github.com/OpenNuvoton/NuMaker-mbed-docs/blob/master/IAR/DEBUG_IAR.md
2019-04-02 10:09:18 +08:00
Laurent Meunier 7afad64886 STM32WB55RG: Add board declaration in tools
In travis build and in SW4STM32 exporter
2019-03-29 16:21:42 +01:00
Cruz Monrreal 0a088a6f4d
Merge pull request #10200 from studavekar/vscode-gcc-ver
update vscode default gcc arm version to 6-2017-q1-update
2019-03-29 10:15:53 -05:00
Jimmy Brisson 12e5596627 Allow both path seperator types in flash algo names 2019-03-27 08:56:46 -05:00
Brian Daniels f56bf8f689 Fix the removal of Mbed-added core flags in uvision exporter 2019-03-23 15:39:06 -05:00
studavekar 31d4ea8722 update gcc arm version to 6-2017-q1-update 2019-03-22 13:48:46 -05:00
Martin Kojtal e665df9c47
Merge pull request #10045 from bridadan/uvision_exporter_fixes
Uvision exporter fixes for Python 3, CPM updates, and Windows path issues
2019-03-18 08:12:47 +01:00
Cruz Monrreal 2b7fee3fbe
Merge pull request #10118 from arskanov/master
Selectively append changes to exported config files
2019-03-16 23:01:29 -05:00
Cruz Monrreal 97204b6914
Merge pull request #9964 from bridadan/fix_references_to_basestring
Add imports of basestring for python 3
2019-03-16 22:55:37 -05:00
Artturi Ramanen 19562fff30 Selectively append changes to exported config files
In case of a non-overwriting change to an exported config file
the previous logic appended a new block of text to the previous file
every time the to-be-written block of text was not exactly matched.

This parses the old config file and the to-be-written changes into
sets, which can then be compared. If all of the incoming lines are
found in the old config file set, no changes are made. If some
incoming lines are not found in the old config file, only these are
appended.
2019-03-15 12:07:02 +02:00
Mahesh Mahadevan 3da7c6f3c0 Update to provide the right device name in the Asymmetric case
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-14 07:24:19 -05:00
Mahesh Mahadevan 83eed9eb78 LPC55S69: Add IAR and uvision exporter support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-14 07:19:15 -05:00