Commit Graph

2828 Commits (d5295dbde2727c9b51f9a10c8d388750e3aa20a6)

Author SHA1 Message Date
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
Nir Sonnenschein c178c1386e update importer hashes for latest fixes 2019-03-12 10:06:30 -05:00
Nir Sonnenschein 678ac50f67 Updated to cb58d2c 2019-03-12 10:06:30 -05:00
Amanda Butler 3e6723c849 Edit README.md
Edit file for minor grammar and style tweaks, mostly for consistent capitalization and tense across docs.
2019-03-12 10:06:29 -05:00
Oren Cohen abbb2ffbe6 Fix typo 2019-03-12 10:06:29 -05:00
Oren Cohen abc90c354c Remove python from code block 2019-03-12 10:06:29 -05:00
Oren Cohen bc8f53218e Add README.md for tools/psa 2019-03-12 10:06:29 -05:00
Oren Cohen d3fd113cbe Add option to run on a single target 2019-03-12 10:06:29 -05:00
Oren Cohen a5019e6051 Secure binaries release script
This script will find all the PSA targets and compile their secure binaries
Including test secure binaries
2019-03-12 10:06:29 -05:00
Michael Schwarcz e8246bb40b Compare non-secure image name without extension
- For cases where non-secure image is HEX and secure image is BIN
2019-03-12 10:06:28 -05:00
Michael Schwarcz 7321545116 Add missing license header 2019-03-12 10:06:28 -05:00
Michael Schwarcz 259e257f1e Add assertions and tests 2019-03-12 10:06:28 -05:00
Michael Schwarcz 12390f662b tools: Add find_secure_image function
- Used by Non-secure targets post-build hooks to find
  the relevant secure image.
2019-03-12 10:06:28 -05: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
Martin Kojtal f236125c74
Merge pull request #9918 from kfnta/unify_psa_generators
Unify PSA code generators
2019-03-06 15:39:49 +01:00
Martin Kojtal 9d72a5cf79
Merge pull request #9738 from theotherjimmy/reorder-bl-hooks
Tools: Reoder post-build hooks and bl merging
2019-03-06 13:02:45 +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 a045c45996 Remove prints and lint warnings 2019-03-05 11:10:51 -06:00