Commit Graph

4689 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
Oren Cohen 6fa5c9e1d2 "Update secure binaries for LPC55S69_S" 2019-03-19 13:12:34 +00:00
Michael Schwarcz 5311b90cf4 LPC55S69_S: reduce ITS size to 32KB
- Reduce LPC55S69 secure side ITS from 64KB to 32KB
2019-03-19 13:12:18 +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 2ac05a0ec0 Adding documentation for MBED_APP_START and MBED_APP_SIZE in TARGET_CY8C62XX and TARGET_CY8CKIT_062_BLE linker scripts 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
Oren Cohen cd2d1bde36 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-19 13:12:16 +00:00
Oren Cohen 86d030dbaa Finish memory protection and add static assert 2019-03-19 13:11:58 +00:00
Evgeni 51818e4d10 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-19 13:11:57 +00:00
Evgeni Bolotin 21f81cca20 make protected secure flash region configurable and change secure and non secure default region sizes 2019-03-19 12:59:08 +00:00
Michael Schwarcz 0e84d19f2f Update NS IAR icf file 2019-03-19 12:59:08 +00:00
Michael Schwarcz 42fca9ae0e Reduce 32KB from LPC55S69_S binary size 2019-03-19 12:59:08 +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
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 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 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
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
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 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
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
Sarah Marsh 0cf73fc344 NUCLEO_L073RZ: IAR linker script issue 2019-03-12 10:06:37 -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
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
Netanel Gonen 6556f9483e Update PSoC 6 pre-build secure partition 2019-03-12 10:06:29 -05:00
David Saada e16d2d81d9 Reduce flash page size from 512 to 32 bytes in PSOC6 based boards
Page size in all PSOC6 boards is 512 bytes. This is very problematic in
all storage applications. This change reduces the page size (in flash_api's
flash_program_page API) to 32 by reading the original page, modifying it
with programmed data and programming it back. The number 32 for page size
conforms to the number of times (16) this action can be done.
2019-03-12 10:06:28 -05:00
Martin Kojtal e75794ec6e
Merge pull request #9888 from ARMmbed/feature-armc6
ARM Toolchain update to ARM Compiler 6.11(ARMC6)
2019-03-04 12:23:38 +01:00
Oren Cohen cfb60ec955 Fixes
* Add #include <stddef.h> to psa/client.h
* Add Attestation service to TFM
* Update FUTURE_SEQUANA_PSA secure binaries
* Remove MBED_SPM from K64F
* Refactor psa_manifest/sid.h
* Increase stackl size in spm-client tests
* Add handling of errors from psa_get in partitions
2019-03-03 13:30:58 +02:00
Michael Schwarcz 6341d44591 Update FUTURE_SEQUANA_M0_PSA default binaries 2019-03-03 10:55:47 +02:00