Commit Graph

23886 Commits (cfdb72b94fe69068f70dafd1e9f3d3e2ef1f70e2)

Author SHA1 Message Date
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
Donatien Garnier 041d53de25 Generate BLE Random Static Address on U-blox Odin-W2 platform 2019-03-08 12:50:08 +00:00
Martin Kojtal b582c54a5f
Merge pull request #10001 from kfnta/psa_release_build_profile
PSA: release.py - add build profile
2019-03-08 13:03:33 +01: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
Martin Kojtal b19fa515a6
Merge pull request #9982 from artokin/nanostack_update_for_mbedos_512
Nanostack update for Mbed OS 5.12
2019-03-08 12:05:00 +01:00
Martin Kojtal 820a2e284d
Merge pull request #9908 from morser499/pr/cy-mbed-os-5.12.0
Pr/cy mbed os 5.12.0
2019-03-08 11:01:41 +01:00
Martin Kojtal d97902bf4d
Merge pull request #9989 from theotherjimmy/test-sector-info
Test for and Recompute sector information for all targets
2019-03-08 06:58:09 +01:00
Cruz Monrreal 57ec1d57b9
Merge pull request #9990 from kfnta/sync_complinace_test_to_latest
Sync PSA compliance test to latest version
2019-03-07 23:36:56 -06:00
kegilbert 3fd32884c3 Allow baremetal to build by removing PSA 2019-03-07 16:41:58 -06:00
Oren Cohen 9a3ab4983e
Add build profile option
Default set to release
2019-03-07 23:54:52 +02:00
Malavika Sajikumar 2ffa39ffc0 Adding support for SDP-K1. 2019-03-07 13:43:54 -08:00
Lin Gao 68399d7d4e Remove intervaltree from requirements.txt for mbed-os as it contradicts pyocd requirements 2019-03-07 15:20:13 -06:00
Jimmy Brisson 35479e8111 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-07 14:06:50 -06:00
Kyle Kearney 4c1ff13e30 Rebuild PSoC6 secure binaries 2019-03-07 09:21:54 -08:00
Vincent Coubard b183ba1d01 BLE - Use LowPower Ticker and Timer for address rotation and scan timeout. 2019-03-07 16:49:58 +00:00
Vincent Coubard a105db38ce BLE - Use LowPowerTimer instead of Timer in the Cordio stack. 2019-03-07 16:45:46 +00: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
Ryan Morse 20c2734e7b Fixed issue with wrong floating point literal 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
Cruz Monrreal 277c91f3b7
Merge pull request #9978 from kfnta/psa_release_tool_fix
PSA: Fix psa/release.py tool
2019-03-07 10:33:34 -06:00
Cruz Monrreal ff78bc4b7c
Merge pull request #9973 from kfnta/tfm_num_threads
TF-M config: Add max_ns_thread_count parameter
2019-03-07 10:28:11 -06:00
Cruz Monrreal 5c0d226dde
Merge pull request #9953 from kfnta/mock_fix
PSA: automatic mocking of PSA targets in test builds
2019-03-07 10:13:23 -06:00
Jimmy Brisson f4d4d8be77 Recompute sector information for Nuvoton 2019-03-07 10:08:32 -06:00
Jimmy Brisson 4295891dd3 Add dummy sector information for R7S72100 2019-03-07 10:07:57 -06:00
Jimmy Brisson efbcbc7e07 Recompute sector information for STM32xxxxx 2019-03-07 10:07:54 -06:00
paul-szczepanek-arm 42d3a58d66 change tick rate to 1 ms 2019-03-07 16:07:25 +00:00
Nir Sonnenschein c99f03d0ce add mbed_lib.json to prevent inclusion in bare-metal builds 2019-03-07 18:04:59 +02:00
Nir Sonnenschein 517bb1a64a remove sid.h as it is now supplied by PSA 2019-03-07 18:04:27 +02:00
Nir Sonnenschein a772d9d327 add comment explaining attestation keys for test use 2019-03-07 17:50:54 +02:00
Nir Sonnenschein d473f6d59c synchronize latest fix to tests
synchronize latest fix to test_c043
2019-03-07 17:49:52 +02:00
Jan Jongboom f3614abc30
OdinWifiInterface is calling memcpy with a null pointer 2019-03-07 16:47:56 +01:00
Jan Jongboom 49e970560d GigaDevice targets can return ninitialized variable in CAN driver 2019-03-07 16:41:42 +01:00
Jan Jongboom a5c6d423bc
tsi/main.cpp is using wrong `printf` format
`%` needs to be escaped as well.
2019-03-07 16:36:29 +01:00
Arto Kinnunen e92e7b9a88 Merge commit 'fbef0d8e70234611e131a94c4f4e97bd99634548'
* commit 'fbef0d8e70234611e131a94c4f4e97bd99634548':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 76da6a5..84a07ce
2019-03-07 17:26:32 +02:00
Arto Kinnunen fbef0d8e70 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-07 17:26:31 +02:00
Jan Jongboom eed2b390d9
Dead pointer usage in GenericSecurityManager
`pscrk` is set to the address of `csrk`, but `csrk` is out of scope when using the resulting value. There's no guarantee that the memory is still valid.
2019-03-07 16:21:52 +01:00
Jan Jongboom d26dc88e9e
TEST_APPS socket_app leaks memory when cannot initialize packetSizes 2019-03-07 16:16:04 +01:00
Cruz Monrreal a87c7c82f3
Merge pull request #9312 from kfnta/psa_compliance
PSA compliance tests suite
2019-03-07 09:14:58 -06:00
Jimmy Brisson 7a3ccf9518 Test for sector information 2019-03-07 09:05:59 -06:00
Cruz Monrreal a00de86493
Merge pull request #9976 from kfnta/remove_error_t
PSA: Remove unused type which was conflicting wiith errno.h
2019-03-07 08:39:14 -06:00
Oren Cohen 1b26cb7edf Fix tool 2019-03-07 15:22:17 +02:00
Sarah Marsh c668472f01 NUCLEO_L073RZ: IAR linker script issue 2019-03-07 13:55:55 +01:00