Commit Graph

4696 Commits (10c6a277d34e757c1b8d4829343ae20ed6936036)

Author SHA1 Message Date
Martin Kojtal b80c961dae
Merge pull request #10034 from evgenibo/flash_protected_region_config
PSA: PSoc 6 configurable secure memory size
2019-03-14 13:23:58 +01:00
Oren Cohen 5d1dae40cd "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-14 11:53:08 +02:00
Martin Kojtal 1bbf7d69d1
Merge pull request #9902 from wajahat-ublox/r412m_reset
Remove assertion of MDMRST in case of SARA-R4
2019-03-14 09:40:44 +01:00
Martin Kojtal 897d15a9bc
Merge pull request #9895 from mrcoulter45/issue-9890-fix
Fix for i2c_t object not being initialized to 0 causing timeout
2019-03-14 09:39:10 +01:00
Martin Kojtal b21211dd9f
Merge pull request #9884 from jeromecoutant/PR_F429_uARM
STM32F429 ARM MICRO startup file update
2019-03-14 09:38:33 +01:00
Martin Kojtal 76fe7267e7
Merge pull request #9637 from u-blox/C030_N211_Cellular_Driver
Cellular: UBLOX_C030_N211 Cellular API's
2019-03-14 09:11:06 +01:00
Oren Cohen 4c9fe7def4
Finish memory protection and add static assert 2019-03-13 21:08:12 +02:00
Michael Schwarcz 546e33df7b Update NS IAR icf file 2019-03-13 18:21:37 +02:00
Michael Schwarcz f6ab217892 Reduce 32KB from LPC55S69_S binary size 2019-03-13 18:21:37 +02:00
Evgeni c87d5d48c4 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-03-12 11:13:45 +02:00
Evgeni Bolotin 04c5803131 make protected secure flash region configurable and change secure and non secure default region sizes 2019-03-12 11:13:18 +02:00
Cruz Monrreal 76c2192028
Merge pull request #10033 from artokin/port_SPI_peripheral_names
Port spi_get_peripheral_name fix to some Freescale boards
2019-03-11 19:21:37 -05:00
Arto Kinnunen 647ac06f04 Use Mbed OS coding style
Run astyle 3.0 for the changed c-files.
2019-03-11 16:59:54 +02:00
Martin Kojtal 525d46378e
Merge pull request #9997 from kfnta/alzix/platform_rename
platform reset API rename
2019-03-11 13:31:49 +01:00
Arto Kinnunen e1deb88471 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-11 14:18:41 +02:00
Alexander Zilberkant 661613c998 Rename psa_system_reset to mbed_psa_system_reset
add noreturn attributes
update lifecycle service to use psa/error.h
fix doxygen
2019-03-11 10:43:19 +02:00
Oren Cohen d6863d89e7 PSoC 6 Correct TRNG behaviour
* Remove NVSEED from M0_PSA
* Disable TRNG support for PSA M4
2019-03-10 16:16:53 +02:00
Martin Kojtal 0e532ba297
Merge pull request #9910 from NXPmicro/Add_LPC55S69_TFM_mbed_master
Add support for LPC55S59
2019-03-08 20:24:15 +01:00
Martin Kojtal c609d63445
Merge pull request #10011 from lrusinowicz/cymetedata_remove
Removed cymetadata section from FUTURE_SEQUANA targets
2019-03-08 17:11:55 +01:00
Mahesh Mahadevan 862961ced5 Updated the binaries
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:33:49 -06:00
Mahesh Mahadevan 4a2dbba7a1 Reduce the number of flash operation related veneer table entries
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:33:48 -06:00
Michael Schwarcz 401580f364 LPC55S69: Change post-build hook to create HEX 2019-03-08 07:33:48 -06:00
Michael Schwarcz ebd9dc83f7 LPC55S69: Use find_secure_image in post-build and add prebuilt secure images 2019-03-08 07:33:48 -06:00
Mahesh Mahadevan 2e9bb17596 MCUXpresso: Update Analogin support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:59 -06:00
Mahesh Mahadevan 616fa49890 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-08 07:28:59 -06:00
Mahesh Mahadevan 66eb3deca8 LPC55S69: Fix the I2C SDK driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:59 -06:00
Mahesh Mahadevan 3d82af0afe 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-08 07:28:58 -06:00
Mahesh Mahadevan 98c8aa1ddd MCUXpresso: Update the sleep implementation for LPC55S69 differences
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:58 -06:00
Mahesh Mahadevan b4aaad0f14 Add support for LPC55S69
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:58 -06:00
Mahesh Mahadevan bb2a155ae5 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-08 07:28:57 -06:00
Mahesh Mahadevan 5853af76ee MCUXpresso: Update LPC TRNG driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan dd21e6dc5a 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-08 07:28:57 -06:00
Mahesh Mahadevan 783c02d0a2 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-08 07:28:57 -06:00
Mahesh Mahadevan a934ba0b5a 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-08 07:28:57 -06:00
Mahesh Mahadevan a64b192081 MCUXpresso: Update the LPC GPIO drivers
Update to the latest SDK GPIO driver

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:57 -06:00
Mahesh Mahadevan c05a893111 MCUXpresso: Update usticker driver
Move clock frequency to a target specific function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-03-08 07:28:56 -06:00
Leszek Rusinowicz 17ed003bb8 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-08 12:57:34 +01:00
Martin Kojtal 7d9c63310d
Merge pull request #9977 from jeromecoutant/PR_L073_IAR
NUCLEO_L073RZ: IAR linker script issue
2019-03-08 12:21:39 +01:00
Kyle Kearney 4c1ff13e30 Rebuild PSoC6 secure binaries 2019-03-07 09:21:54 -08:00
Neil Tuttle 084a83717f Rename PSoC 6 assembler files from .s to .S 2019-03-07 08:40:20 -08:00
Neil Tuttle ac6a6b8d00 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-07 08:40:20 -08:00
Shuopeng Deng 6d3ec4ca95 adding flash iap component to cypress psoc6 m4 2019-03-07 08:40:20 -08:00
Vivek Pallantla 0cce5d53b8 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-07 08:40:20 -08:00
Sergii Vozniak 69c5404662 Fixed type of STDIO UART initialization variable. 2019-03-07 08:40:20 -08:00
Oleg Kapshii aedec74b9a 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-07 08:40:20 -08:00
Sarah Marsh c668472f01 NUCLEO_L073RZ: IAR linker script issue 2019-03-07 13:55:55 +01:00
Cruz Monrreal 63242cfbb4
Merge pull request #9939 from kfnta/fix_for_secure_partition
Fix for secure partition
2019-03-06 20:00:38 -06:00
Cruz Monrreal f3ecc0b485
Merge pull request #9940 from davidsaada/david_psoc6_reduce_prog_size
Reduce flash page size from 512 to 32 bytes in PSOC6 based boards
2019-03-06 13:44:39 -06:00
David Saada 9cacd029ef 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-06 13:45:27 +02:00
Michael Coulter c59c1cb29d Fix for i2c_t object not being initialized to 0 causing timeout
For issue #9890
2019-03-05 11:35:18 -06:00