Commit Graph

2898 Commits (b872d08181019ed3c507b4a9246f70659df4d1ab)

Author SHA1 Message Date
Brian Daniels b95732a1b5 get_mbed_official_release respects supported_toolchains 2019-03-23 18:24:59 -05:00
Brian Daniels 0f1bd76c01 Add link for ARMC5 warning 2019-03-23 18:24:59 -05:00
Brian Daniels b94c4189b7 Updating supported toolchain printing with new options 2019-03-23 18:24:58 -05:00
Brian Daniels 1c31d365c2 Add ARMC5 as an option for the -t argument 2019-03-23 18:24:58 -05:00
Brian Daniels b809ec6226 Make args_erroor less verbose.
This removes the arugment help from the output, making the error much
easier to find. This solves #10090.
2019-03-23 18:24:58 -05:00
Brian Daniels 2b4960bffe Front-end scripts now use the ARM toolchain fallback.
Some unused imports were removed as well as some general clean up.
2019-03-23 18:24:58 -05:00
Brian Daniels 04e90c278c ARMC5 is supported if a target lists ARM as a supported_toolchain 2019-03-23 18:24:58 -05:00
Brian Daniels 6f5a3c3e8d Add functions to enable ARM fallback to ARMC5.
There are two new functions: get_valid_toolchain_names and
find_valid_toolchain. These functions are used to figure out if a
fallback is possible and necessary. find_valid_toolchain is expected to
be used by the front-end scripts.

get_toolchain_name was updated with some different logic and comments.
2019-03-23 18:24:58 -05:00
Brian Daniels 08d9e32e63 Add utility functions and Exceptions
These functions will be used to handle some of the error state and
warning messages produced when the scripts attempt to select a valid
toolchain.
2019-03-23 18:24:57 -05:00
Brian Daniels a8032db48a Whitespace clean up 2019-03-23 18:24:57 -05:00
Cruz Monrreal 4e514ae3c5
Merge pull request #10199 from bridadan/fix_cores_in_uvision
Fix the removal of Mbed-added core flags in uvision exporter
2019-03-23 18:03:38 -05:00
Brian Daniels f56bf8f689 Fix the removal of Mbed-added core flags in uvision exporter 2019-03-23 15:39:06 -05:00
Martin Kojtal aca0f2f48e
Merge pull request #10114 from bridadan/armc6_mbed_ide
Allow the use of Mbed Studio's version of ARMC6
2019-03-23 16:30:01 +01:00
Brian Daniels e382b5034a Add comments about the proper use of specific ARMC6 arguments 2019-03-21 16:24:44 -05:00
Oren Cohen 021faf24cd Merge remote-tracking branch 'jimmy/targets-json-sectors' into rollup 2019-03-21 18:19:12 +02:00
Oren Cohen 4554258723 Merge remote-tracking branch 'jimmy/send-ram-cykit' into rollup 2019-03-21 18:18:51 +02:00
Jimmy Brisson 03f9a0cd23 Configure sector information in targets.json 2019-03-21 10:04:19 -05:00
Jimmy Brisson c475a4a995 Fall back to target.json memories when CMSIS has empty memories 2019-03-21 09:42:47 -05:00
Oren Cohen 19f68d82a9 Remove cypress targets from CPM 2019-03-21 15:48:05 +02:00
Oren Cohen ee9daecda5 Add RAM regions for cypress platforms 2019-03-21 15:13:02 +02:00
Cruz Monrreal 2192a8796e
Merge pull request #10173 from theotherjimmy/exclude-requires
Collect excluded libraries into ignored_dirs
2019-03-20 16:37:50 -05:00
Jimmy Brisson 41c1553d75 Collect excluded libraries into ignored_dirs 2019-03-20 09:01:38 -05:00
Jimmy Brisson d331539853 Test that excluded libraries are correctly collected 2019-03-20 09:01:27 -05:00
Brian Daniels 6e629ded84 Version check the compiler in all build functions
This enables the use of Mbed Studio's version of ARMC6.
2019-03-19 17:37:55 -05:00
Brian Daniels 9824c3ccc3 Clean up some whitespace 2019-03-19 17:37:18 -05:00
Brian Daniels c4a9fb3851 Test detection of Mbed Studio version of ARMC6 2019-03-19 17:36:28 -05:00
Brian Daniels b13570907e Remove stray prints and whitespace 2019-03-19 17:36:02 -05:00
Brian Daniels bc06c535d0 Conditionally enable --ide=mbed from ARMC6 based on compiler version.
If the Mbed Studio build of ARMC6 is found, add the --ide=mbed to all
necessary executables.
2019-03-19 17:33:40 -05:00
Brian Daniels 9ac08e6313 Whitespace clean up 2019-03-19 17:33:09 -05:00
Jimmy Brisson dabad7a074 Deduplicate RAM defines to linker command line 2019-03-19 13:38:45 -05:00
Jimmy Brisson c37a31c5d4 Use PSA overrides for RAM 2019-03-19 13:38:44 -05:00
Jimmy Brisson 0bb3031ef2 Deduplicate MBED_ROM_xxxx defines on IAR linker command line 2019-03-19 09:17:52 -05:00
Martin Kojtal a23d105dd2
Merge pull request #10105 from VeijoPesonen/esp32_app_config
test_configs: generic app config for boards with Wi-Fi
2019-03-19 09:30:00 +01: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 241e6d2b46
Merge pull request #10065 from theotherjimmy/fix-postbuild-restrictions
Correct post-build-hook detection logic
2019-03-16 22:58:58 -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
David Saada eb5cef84fd Add bootloader support for the LPC55S69 board
bla
2019-03-16 00:13:40 +02:00
Martin Kojtal 35e30e1b70
Merge pull request #10113 from theotherjimmy/use-ns-rom-in-bl
Use secure/non-secure rom for bl modes
2019-03-15 21:19:54 +01: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
Martin Kojtal cde7d0be58
Merge pull request #10068 from NXPmicro/Add_LPC55S96_Exporter_Support
LPC55S69: Add IAR and uvision exporter support
2019-03-15 09:32:40 +01:00
Jimmy Brisson e798276917 Override rom used by managed bootloader with PSA roms 2019-03-14 14:41:51 -05:00
Jimmy Brisson 10c6a277d3 Test that secure/non-secure memories are passed
To managed bootloader mode
2019-03-14 14:33:29 -05:00
Jimmy Brisson a666e976a2 Clean all lint errors in configuration system 2019-03-14 12:15:34 -05:00
Veijo Pesonen cf530877ac test_configs: generic app config for boards with Wi-Fi 2019-03-14 17:31:48 +02:00
Yossi Levy 2c400b611e Updating address of secure and non secure rom in CY8CKIT_062_WIFI_BT_PSA index.json file 2019-03-14 14:26:23 +02:00
Yossi Levy b401e99bda Updating Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE device name 2019-03-14 14:26:23 +02:00
Yossi Levy dd27a3400b mbed-os to support bootlader for Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE 2019-03-14 14:26:23 +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