Commit Graph

23523 Commits (9efcd955ce7888ff24a0bcd31319e5372232c7df)

Author SHA1 Message Date
Mahesh Mahadevan 9efcd955ce MCUXpresso: Update SPI driver
Move the clock setup and peripheral reset to the init function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 1dc9a6760c MCUXpresso: In pin_function() use mask macro instead of a hard-coded value
The mask size can vary based on the platform

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan b818c822be MCUXpresso: Update LPC TRNG driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 7d2f50be11 MCUXpresso: Update LPC HAL flash driver
The flash driver for the LPC55S69 is different from
prior LPC family. Move the Flash HAL driver to SoC
specific folder

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 270374b96c MCUXpresso: Update LPC I2C, SPI, UART HAL drivers
Use the individual IP count and not the FlexComm count

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 981b6259b6 MCUXpresso: Update the LPC GPIO drivers
Update to the latest SDK GPIO driver

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 2aa0e5f04a MCUXpresso: Update usticker driver
Move clock frequency to a target specific function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:37 -05:00
Leszek Rusinowicz 4276779456 Removed cymetadata section from FUTURE_SEQUANA targets
This data, placed at physically not existing addresses (0x9xxxxxxx) was used
only by PSoC Programmer and KitProg2 and is no longer needed, but was causing
issues with standard hex file processing tools like srecord (srec_cat).
2019-03-12 10:06:37 -05:00
Oren Cohen 322ca83a68 Add build profile option
Default set to release
2019-03-12 10:06:37 -05:00
Sarah Marsh 0cf73fc344 NUCLEO_L073RZ: IAR linker script issue 2019-03-12 10:06:37 -05:00
Arto Kinnunen bbc2502ac1 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 76da6a5..84a07ce
84a07ce Merge branch 'release_internal' into release_external
80b1e23 Check X509 config before using the functions

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 84a07ce1ca862a5a63c0024601193c65e10b6d5e
2019-03-12 10:06:35 -05:00
Kyle Kearney 7aa52087af Rebuild PSoC6 secure binaries 2019-03-12 10:06:33 -05:00
Neil Tuttle b2105b1879 Rename PSoC 6 assembler files from .s to .S 2019-03-12 10:06:33 -05:00
Ryan Morse cf4e4364a6 Fixed issue with wrong floating point literal 2019-03-12 10:06:33 -05:00
Neil Tuttle d29baa0125 TARGET_PSOC6: Fix incorrect serial clock divider
If the board-specific initialization code configures the serial port to
use an 8-bit divider, the serial_init_clock function would configure the
16-bit divider with the same index instead of the intended 8-bit
divider.
2019-03-12 10:06:33 -05:00
Shuopeng Deng 6ea172179f adding flash iap component to cypress psoc6 m4 2019-03-12 10:06:33 -05:00
Vivek Pallantla 69e8b735b0 PSOC6 deep-sleep changes
- Enable add MBED_TICKLESS in targets/targets.json
 - BLE : deep-sleep aware HCI transport driver
 - WIFI: deep-sleep aware driver
 - Rebuild WICED libraries with Low Power changes
2019-03-12 10:06:33 -05:00
Sergii Vozniak 42f9c86327 Fixed type of STDIO UART initialization variable. 2019-03-12 10:06:32 -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
Nir Sonnenschein 65f632f8f4 add mbed_lib.json to prevent inclusion in bare-metal builds 2019-03-12 10:06:31 -05:00
Nir Sonnenschein 0ec8125a8a remove sid.h as it is now supplied by PSA 2019-03-12 10:06:31 -05:00
Nir Sonnenschein 4df870cf4f add comment explaining attestation keys for test use 2019-03-12 10:06:31 -05:00
Nir Sonnenschein 848c2da563 synchronize latest fix to tests
synchronize latest fix to test_c043
2019-03-12 10:06:30 -05:00
Oren Cohen 5efec7ee54 Fix tool 2019-03-12 10:06:30 -05:00
Michael Schwarcz 17312d428f TF-M config: Add max_ns_thread_count parameter 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 e494c3c76c removed redundant code + added comment
Thanks @cmonr.
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 1d56ad44a6 use common flag to allow test 3 for PS and ITS
add a compilation flag to allow tests which fill up the entire device storage.
storage test 003 (for both PS and its) is unsuitable for the regular CI because:
1. it takes a long time causing timeouts
2. it places a very high attrition load on the storage of the CI boards
    and this can cause them to fail much sooner.
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 dc50ccb5bc Fix for resource leak in crypto compliance test 43
Destroy key after import key in a loop
2019-03-12 10:06:30 -05:00
Nir Sonnenschein 339d481c07 Define psa_storage_info_t for backward compatibility 2019-03-12 10:06:30 -05:00
Netanel Gonen 932c09745e rework for mbed-os intf for ACK tests
-rework test wrapper functions to simplify test main
-move greentea init before test setup code to avoid boards losing sync.
2019-03-12 10:06:30 -05:00
Nir Sonnenschein 1333f31a40 Allow PS test03 with PS_ALLOW_ENTIRE_STORAGE_FILL flag 2019-03-12 10:06:30 -05:00
Nir Sonnenschein 4a474cefcf add main functions to each compliance test
add main function to each compliance test , moving shared code to a common file
2019-03-12 10:06:30 -05:00
Nir Sonnenschein 7a80553c91 changes to test infrastructure to adapt it to green-tea
changes to test infrastructure to adapt it to green-tea
Make ITS testing default
Fix IAR build issues
2019-03-12 10:06:30 -05:00
Nir Sonnenschein a5e77c6d1f add imported PSA compliance tests to astyle ignore list 2019-03-12 10:06:30 -05:00
Nir Sonnenschein 9621a04c7d Delete unneeded .mk files after test import
delete unneeded .mk files imported as part of the PSA compliance test suite
2019-03-12 10:06:30 -05:00
Nir Sonnenschein 678ac50f67 Updated to cb58d2c 2019-03-12 10:06:30 -05:00
Oren Cohen d2bf036fb9 Remove unused type which was conflicting wiith errno.h 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
Nir Sonnenschein 0cc6d1a448 indentation fix 2019-03-12 10:06:29 -05:00
Netanel Gonen 6556f9483e Update PSoC 6 pre-build secure partition 2019-03-12 10:06:29 -05:00