Commit Graph

23916 Commits (770bc91fe8b1880bb10fb36fc94f59fc752732ee)

Author SHA1 Message Date
Netanel Gonen 1668a9d875 move init of test into greentea init function 2019-03-13 10:22:21 +00:00
Cruz Monrreal II a04507af32 "Update secure binaries for LPC55S69_S" 2019-03-12 12:06:46 -05:00
Cruz Monrreal II 8c216f85d7 "Update secure binaries for FUTURE_SEQUANA_M0_PSA" 2019-03-12 10:46:04 -05:00
Cruz Monrreal II 9210b34815 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-12 10:39:54 -05:00
Oren Cohen 91ea832957 Bugfix: send the correct parameter to _get_target_info() 2019-03-12 10:06:41 -05:00
paul-szczepanek-arm 561d9e81b9 qualify cordio pal includes 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
Arto Kinnunen fc73e4534a Use Mbed OS coding style
Run astyle 3.0 for the changed c-files.
2019-03-12 10:06:40 -05:00
Arto Kinnunen c7c0af8488 Add spi_get_peripheral_name to MCUEpresso spi_api
Fix issue https://github.com/ARMmbed/mbed-os/issues/9149.

Port changes from https://github.com/ARMmbed/mbed-os/pull/9845 also
to targets: K64F, K66F, KW24D and KW41Z
2019-03-12 10:06:40 -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
Netanel Gonen 3a4fd57b3e change the include to mbedtls/config.h 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
Michael Schwarcz 0ac2cd377f TF-M patch: Handle extended stack frame in tfm_svcall_psa_call
- Fix failing attestation test on LPC55S69
- Link to bug tracking: https://developer.trustedfirmware.org/T276
2019-03-12 10:06:40 -05:00
Alexander Zilberkant 64530095b9 Rename psa_system_reset to mbed_psa_system_reset
add noreturn attributes
update lifecycle service to use psa/error.h
fix doxygen
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
Oren Cohen 422bf25520 PSoC 6 Correct TRNG behaviour
* Remove NVSEED from M0_PSA
* Disable TRNG support for PSA M4
2019-03-12 10:06:40 -05:00
itayzafrir ef368937aa Fix crypto compliance tests
Prevent passing null buffer with size which is non-zero.
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
Oren Cohen 2c49ae1cf1 Fix error codes for psa_attestation_inject_key 2019-03-12 10:06:40 -05:00
Oren Cohen 960d52b8d2 Reset ITS before the test start 2019-03-12 10:06:39 -05:00
Donatien Garnier b984dbdfa3 Generate BLE Random Static Address on U-blox Odin-W2 platform 2019-03-12 10:06:39 -05:00
kegilbert 92e076e3ad Allow baremetal to build by removing PSA 2019-03-12 10:06:39 -05:00
Mahesh Mahadevan 941b1c9b4c Updated the binaries
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:39 -05:00
Mahesh Mahadevan 01f3a0c532 Reduce the number of flash operation related veneer table entries
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:39 -05:00
Mahesh Mahadevan 5e312ee01d Increase the stack pointer check range
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:39 -05:00
Mahesh Mahadevan a4e5766d91 Updated LOOP_SCALER value for Cortex-M33
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
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
Mahesh Mahadevan 560a45011b LPC55S69: Update the KVStore config files
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan f1d90c9cf8 LPC55S69: Fix the I2C SDK driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan e2366c3c1d MCUXpresso: Update Analogin support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 80006c8275 LPC55S69: Add a ctimer for usticker to be used in the secure domain
CTIMER 0 is used for the secure domain and CTIMER 1 is used for
the non-secure domain

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 192040c0ae LPC55S69: Remove FPU_PRESENT and DSP_PRESENT defines
These are defined by mbed during compile

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan b2eb0459b5 MCUXpresso: Update the sleep implementation for LPC55S69 differences
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
Mahesh Mahadevan 69c4ca3aaf Add support for LPC55S69
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-12 10:06:38 -05:00
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