Commit Graph

2860 Commits (mbed-os-5.12.0-rc4)

Author SHA1 Message Date
Brian Daniels 3f9e266e6d get_mbed_official_release respects supported_toolchains 2019-03-24 09:48:43 +00:00
Brian Daniels 12438af35d Add link for ARMC5 warning 2019-03-24 09:48:43 +00:00
Brian Daniels 551bbf3985 Updating supported toolchain printing with new options 2019-03-24 09:48:43 +00:00
Brian Daniels 9399eb07ec Add ARMC5 as an option for the -t argument 2019-03-24 09:48:43 +00:00
Brian Daniels a10be644cc 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-24 09:48:43 +00:00
Brian Daniels 78ec04cbaf Front-end scripts now use the ARM toolchain fallback.
Some unused imports were removed as well as some general clean up.
2019-03-24 09:48:43 +00:00
Brian Daniels 7aba154a44 ARMC5 is supported if a target lists ARM as a supported_toolchain 2019-03-24 09:48:43 +00:00
Brian Daniels 6dfbd0b88a 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-24 09:48:43 +00:00
Brian Daniels 7efb8b3a99 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-24 09:48:43 +00:00
Brian Daniels 1286b7b0c7 Whitespace clean up 2019-03-24 09:48:43 +00:00
Brian Daniels 8d73e9abb2 Fix the removal of Mbed-added core flags in uvision exporter 2019-03-24 09:48:43 +00:00
Brian Daniels 03677a6477 Add comments about the proper use of specific ARMC6 arguments 2019-03-24 09:48:43 +00:00
Brian Daniels ca4c3e09b8 Version check the compiler in all build functions
This enables the use of Mbed Studio's version of ARMC6.
2019-03-24 09:48:43 +00:00
Brian Daniels 748985353f Clean up some whitespace 2019-03-24 09:48:43 +00:00
Brian Daniels 31bc4725df Test detection of Mbed Studio version of ARMC6 2019-03-24 09:48:43 +00:00
Brian Daniels eb27d8ed17 Remove stray prints and whitespace 2019-03-24 09:48:43 +00:00
Brian Daniels c7c39a755d 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-24 09:48:43 +00:00
Brian Daniels 6823b82004 Whitespace clean up 2019-03-24 09:48:43 +00:00
Jimmy Brisson 5d8a77aedb Fall back to target.json memories when CMSIS has empty memories 2019-03-24 09:48:43 +00:00
Jimmy Brisson 5f7c439619 Configure sector information in targets.json 2019-03-24 09:48:43 +00:00
Oren Cohen 41555c1500 Remove cypress targets from CPM 2019-03-24 09:48:43 +00:00
Oren Cohen ae2ad20e3c Add RAM regions for cypress platforms 2019-03-24 09:48:43 +00:00
Jimmy Brisson b2e921fc72 Collect excluded libraries into ignored_dirs 2019-03-24 09:48:43 +00:00
Jimmy Brisson cae0401acf Test that excluded libraries are correctly collected 2019-03-24 09:48:43 +00:00
Jimmy Brisson 5c0ffd7188 Deduplicate RAM defines to linker command line 2019-03-24 09:48:43 +00:00
Jimmy Brisson d4656078f3 Use PSA overrides for RAM 2019-03-24 09:48:43 +00:00
Jimmy Brisson 66fd93ba78 Deduplicate MBED_ROM_xxxx defines on IAR linker command line 2019-03-24 09:48:43 +00:00
David Saada a566fab330 Add bootloader support for the LPC55S69 board
bla
2019-03-19 13:12:36 +00:00
Jimmy Brisson 69ed7fc212 Override rom used by managed bootloader with PSA roms 2019-03-19 13:12:36 +00:00
Jimmy Brisson e0d8b4b02a Test that secure/non-secure memories are passed
To managed bootloader mode
2019-03-19 13:12:36 +00:00
Jimmy Brisson f6f39860e7 Clean all lint errors in configuration system 2019-03-19 13:12:36 +00:00
Mahesh Mahadevan ba463c1b57 Update to provide the right device name in the Asymmetric case
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-19 13:12:35 +00:00
Mahesh Mahadevan d5295dbde2 LPC55S69: Add IAR and uvision exporter support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-19 13:12:35 +00:00
Yossi Levy c997b0eda1 Updating address of secure and non secure rom in CY8CKIT_062_WIFI_BT_PSA index.json file 2019-03-19 13:12:17 +00:00
Yossi Levy 122a018b97 Updating Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE device name 2019-03-19 13:12:17 +00:00
Yossi Levy f05f3ec7a4 mbed-os to support bootlader for Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE 2019-03-19 13:12:16 +00:00
Jimmy Brisson a197ebcae5 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-19 12:59:08 +00:00
Brian Daniels 3ee1410ea2 Correct check for the ARM toolchain binary in the PATH.
The compiler used for the ARM toolchain changes depending on the target.
This changes the front end scripts to do the proper toolchain look up
before checking the system PATH for the compiler executable. The tools
were always checking for the ARMC5 compiler, now it should check for the
right version.
2019-03-19 12:59:08 +00:00
Brian Daniels a375e52595 Make the presence of cmsis-pack-manager package optional 2019-03-19 12:59:08 +00:00
Oren Cohen 91ea832957 Bugfix: send the correct parameter to _get_target_info() 2019-03-12 10:06:41 -05:00
adbridge 0c87ded17a Fix cut/paste error in the new example github link 2019-03-12 10:06:41 -05:00
adbridge 22e2a0df96 Looks like only the LPC55S69_NS flavour of target is required. 2019-03-12 10:06:41 -05:00
adbridge bd3eeea9ba Remove unecessary _S and _NS target variants from new example 2019-03-12 10:06:41 -05:00
adbridge cceb16c85a Add new mbed-os-example-attestation example 2019-03-12 10:06:41 -05:00
Alexander Zilberkant 5d3059ce77 remove hidden tad
Co-Authored-By: netanelgonen <netanel.gonen@arm.com>
2019-03-12 10:06:40 -05:00
Netanel Gonen e4ae7144fb update crypto complience tests importer, fix include to mbedtls config 2019-03-12 10:06:40 -05:00
Oren Cohen 4972263933 Minor changes fixing the script from getting stuck
* git diff of bin/hex files could be huge print and make
* calling python unbuffered with stdout=subprocess.PIPE could be problematic
2019-03-12 10:06:40 -05:00
Michael Schwarcz 66afa696e3 Update tfm_importer.json 2019-03-12 10:06:40 -05:00
Oren Cohen 12d63be6c3 Enhancements
* Replace call with check_call to throw exception on failure
* Check if binaries actually been changes before calling git commit
* Docstrings for all functions
* Small refactor
2019-03-12 10:06:40 -05:00
Oren Cohen 799deb8169 Add git commit option 2019-03-12 10:06:40 -05:00