Commit Graph

779 Commits (06b60e3f687db01ba496f131dbb5ae28b2dafac7)

Author SHA1 Message Date
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
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
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
Martin Kojtal 4c7fc650db
Merge pull request #9994 from theotherjimmy/fix-iar-dfpu
Correct FPU settings traceback found by IAR
2019-03-14 09:10:13 +01:00
Brian Daniels 5ea3b32851 Fixing uvision exporter with CPM updates 2019-03-11 19:09:09 -05:00
Brian Daniels 00f204fce5 Ensure all exported paths use Posix style separators.
mbed_config.h is a file that is placed in your project root when you
export. This allows the configuration to be used by your IDE. When this
file already exists (due to a previous export), it changed the compiler
include option on Windows from "-include mbed_config.h" to "-include
.\mbed_config.h". The "\" character was interpreted as an escape
character "\m" and broke the build. This converts all resource paths to
use the Posix path separator "/" before writing project files to avoid
this issue.
2019-03-11 19:09:08 -05:00
Brian Daniels 1920212314 Fix include paths for uvision when exported with Python 3.
The call to encode() was causing the include paths to be placed in the
uvision product file with the prefix "b'" and the postfix "'". This
broke the parsing of this file and broke the build.
2019-03-11 19:09:07 -05:00
Jimmy Brisson 35479e8111 Correct FPU settings traceback found by IAR
Fixes #9974

The error was that the Asymmetric CPUs were assumed to have the same
structure as the Symmetric CPUs. This is clearly false.

This PR changes the FPU detection of Asymmetric CPUs to find the correct
core and use it's cpu settings.

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2019-03-07 14:06:50 -06:00
Oleg Kapshii aedec74b9a Added support for PSA target to WIFI_BT board
Added WiFi_Bt CM4 PSA target in mbedos json
Added SPE-NSPE mailbox initialization for CM4 SystemInit
Made similar to FUTURE_SEQUANA configurations
Copied FUTURE_SEQUANA CM0 SPM part for WiFi_Bt smoke test
Added CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Sorted files for new CY8CKIT_062_WIFI_BT_M0 and CY8CKIT_062_WIFI_BT_M0_PSA targets
Copied files for CY8CKIT_062_WIFI_BT_M0_PSA from FUTURE_SEQUANA
Copied and updated cm0p start files
Corrected according to FUTURE_SEQUANA
Changes to M0 startup files to have SPM started
Fixed implicit declaration warning
Commented interrupts enabling according to FUTURE_SEQUANA flow
Updated prebuild spm_smore CM0 hex for CM4 target
Turned on greentea environment
Used special memory region for common CM0/CM4 data
Updated prebuild CM0 SPM hex
Placed shared memory region for flash operations into SPM shared memory region
Updated cyprotection code and configuration
Start address of protected regions is set by a defined number from target.json
Added masters pcMask configuration
Added support for PSA target to WIFI_BT board
Enabled resources protection for SPM
Aligned RAM usage according to Cypress FlashBoot and CyBootloader
alligned protection config
Added CYW943012P6EVB_01_M0 target
Enlarged heap size, remobed nv_seed
Added heap reservation in linker script from mbed-os
Removed heap size definition
turned on nv_seed config
Removed nv_seed macros
Enabled protection for PSoC6 CM0
Added PSoC6 CM0 PSA readme
Enabled mbed_hal-spm test
Enabled nv_seed and removed unneeded ipc config define
Added SPDX string to feature_ble cypress target files
Removed unneeded supported_toolchains lines for Cypress targets
Disabled protection settings
Corrected flash initialization for PSoC6 CM0 PSA
Changed PSoC6 IPC6 protection for flash
Enabled special flash initialization and enabled protection settings
Updated and added new prebuild PSoC6 CM0 PSA hex files
Disabled HW TRNG and CRC for PSoC6 CM4 PSA target
Added missing const to allow types to match
Updated PSoC6 WIFI_BT_PSA prebuilt directory
Moved PSoC6 shared section usage area definition to begin of ld
Added initial ARM_STD linker and startup files for PSoC6 CM0
Added initial IAR linker and startup files for PSoC6 CM0
Added defines to disable some SPM protection settings for PSoC64
Moved Flash function variables into separate memory region
Added defines for new Public area definition
Updated PSoC6 CM0_PSA hex-files
2019-03-07 08:40:20 -08:00
Brian Daniels 0105395be2 Add imports of basestring for python 3 2019-03-06 09:33:02 -06:00
Martin Kojtal c37ac83e8e
Merge pull request #8757 from theotherjimmy/use-cpm
Update Cmsis-pack-manager to 0.2.3
2019-03-06 15:58:42 +01:00
Brian Daniels c129336453 Fix include paths for the assembler for makefiles.
The Makefile is run from the build directory. The source files were
properly prefixed with "../", however the paths provided to the
assmebler were not. This ensures the assembler include paths are
prefixed properly.
2019-03-05 15:13:37 -06:00
Jimmy Brisson 859949fc74 Update index to include vendor information 2019-03-04 11:24:47 -06:00
Jimmy Brisson 8d7c15ee35 Use device variant in uvision export 2019-03-04 11:24:47 -06:00
Jimmy Brisson 9de37ec39c Correct uvisionn export 2019-03-04 11:24:47 -06:00
Martin Kojtal e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Senthil Ramakrishnan e1e4456c47 Fixes for exporters failing with wrong compiler settings 2019-03-01 13:21:33 -06:00
Cruz Monrreal 13945c6db3
Merge pull request #9891 from deepikabhavnani/nuc472_iar8
Correct the device name for NUC472 / M453 - IAR 8
2019-02-28 19:11:54 -06:00
Cruz Monrreal 460e4e7836
Merge pull request #9817 from kegilbert/artifact_name_export
Apply artifact_name configuration parameter to exported projects
2019-02-28 18:22:28 -06:00
Deepika a3c7caf3de Correct the device name for M453 2019-02-28 14:41:35 -06:00
Senthil Ramakrishnan 4e7d34bbb6 Review fixes for uvision exporter,build_api and arm.py 2019-02-28 12:00:11 -06:00
Senthil Ramakrishnan 22da2be37f Update uvision exporter to capture ARMC6 as default toolchain 2019-02-28 12:00:11 -06:00
Deepika 01d6f38268 Correct the device name for NUC472 2019-02-28 10:03:00 -06:00
Cruz Monrreal 22674a694d
Update tools/export/__init__.py
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2019-02-25 17:50:51 -06:00
Jimmy Brisson da3eb5df47
Update tools/export/__init__.py
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2019-02-25 13:57:26 -06:00
Jimmy Brisson c0fbe95d54
Update tools/export/__init__.py
Co-Authored-By: kegilbert <K.Gilbert.CH@gmail.com>
2019-02-25 13:57:20 -06:00
kegilbert 056b88ad0e Pull in artifact-name for exported projects 2019-02-22 17:47:13 -06:00
Deepika 5501947197 Update IAR project template as per IAR 8.32
Reference template file is used from IAR8.32 installation available at path
"Embedded Workbench 8.2\arm\config\template\ConvertToIAR\template_project.ewp"

Also added trustzone configs in iar_definitions.json
2019-02-22 09:25:08 +00:00
Martin Kojtal e59166289f
Merge pull request #9756 from vmedcy/psoc6-cmake-export
PSOC6: enable export to CMake
2019-02-20 09:39:35 +01:00
Martin Kojtal 7f4475d924
Merge pull request #9736 from 0xc0170/fix_licenses_files
tools/test/cmsis: add license header
2019-02-20 09:38:55 +01:00
Volodymyr Medvid cf0ea92104 tools/export: move hex_files selection to base Exporter class
CMake and makefile exporters share a common logic for hex file
selection. Factor it as a common property in the base class
to avoid code duplication.
2019-02-19 20:03:06 +02:00
Volodymyr Medvid 7311a610e5 PSOC6: enable export to CMake
The approach for the hex_files subset selection is identical
to makefile exporter: https://github.com/ARMmbed/mbed-os/pull/9466

Single hex file should be passed to srec_cat when hex_filename
is set in targets.json or mbed_app.json.
2019-02-19 14:15:31 +02:00
Martin Kojtal 195965fd5e tools: move string description after import modules 2019-02-19 10:49:04 +00:00
Cruz Monrreal f95ec957dd
Merge pull request #9742 from naveenkaje/mcuxpresso_export_fix
tools: export: MCUXpresso: fix case inconsistencies in .templ file names
2019-02-15 21:15:42 -06:00
Cruz Monrreal 5a8970a48b
Merge pull request #9649 from ngraziano/fix-vscode-export
Fix IntelliSense in VSCode export
2019-02-15 12:28:00 -06:00
Naveen Kaje 8d284cb4b6 tools: export: MCUXpresso: fix case inconsistencies in .templ file names
The templ file names are both all upper case and lower case letters.
The Target Names map is usually all upper case. The match could fail
if the templ file, as we have case-sensitive comparison. Handle such
cases by perorming a case-insensitve check.

mbed export of a project to MCUXpresso could potentially always fail
irrespective of what is passed in -m option since the target names
map entry and the filename may not match. This commit fixes this issue.

Example of the issue that this commit fixes:

$ mbed export -i mcuxpresso -m lpc11u68 -v
<snip>
project.py: error: LPC11U68 not supported by mcuxpresso
<snip>
2019-02-15 11:56:27 -06:00