Commit Graph

2845 Commits (eb27d8ed17e6f8b7f15631aa1e38c53beaf14daf)

Author SHA1 Message Date
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
Oren Cohen a9ad0f9c7c Update docs for PSA tools 2019-03-12 10:06:40 -05:00
Netanel Gonen 815372455c add needed crypto macros to secure side 2019-03-12 10:06:40 -05:00
kegilbert 92e076e3ad Allow baremetal to build by removing PSA 2019-03-12 10:06:39 -05:00
Michael Schwarcz 66c1af1be1 LPC55S69: Change post-build hook to create HEX 2019-03-12 10:06:39 -05:00
Michael Schwarcz 6b61c288aa LPC55S69: Use find_secure_image in post-build and add prebuilt secure images 2019-03-12 10:06:39 -05:00
Mahesh Mahadevan 3928ea6a7b LPC55S69: Add post processing script
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:39 -05:00
Oren Cohen 322ca83a68 Add build profile option
Default set to release
2019-03-12 10:06:37 -05:00
Oleg Kapshii 78a0057858 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-12 10:06:32 -05:00
Jimmy Brisson b1d1299a1e Recompute sector information for Nuvoton 2019-03-12 10:06:32 -05:00
Jimmy Brisson ce341d22c9 Add dummy sector information for R7S72100 2019-03-12 10:06:32 -05:00
Jimmy Brisson 9873da1ae2 Recompute sector information for STM32xxxxx 2019-03-12 10:06:31 -05:00
Jimmy Brisson bb023fe957 Test for sector information 2019-03-12 10:06:31 -05:00
Oren Cohen 5efec7ee54 Fix tool 2019-03-12 10:06:30 -05:00
Oren Cohen 3a12cf6896 Remove _NS & _PSA from test_spec.json 2019-03-12 10:06:30 -05:00
Nir Sonnenschein 25be6feb69 update importer hashes for latest changes 2019-03-12 10:06:30 -05:00