Commit Graph

27910 Commits (a22f59635bf95d6a138f302d21c3f9e09fa84d06)

Author SHA1 Message Date
Martin Kojtal 9929ddd038
Merge pull request #12723 from AnttiKauppila/mbedtls_fixes5.15
Mbedtls fixes for 5.15.2
2020-04-08 08:57:12 +02:00
Martin Kojtal eaeb983a9e
Merge pull request #12650 from kivaisan/cellular_alt1250_mbedos_5_15
Cellular: ALT1250 PPP cellular driver for mbed-os 5.15
2020-04-08 08:56:30 +02:00
midd d55117f2aa WHD: Remove an assert from get_rssi()
This assert in WhdSTAInterface.cpp causes rssi greentea test to fail
on Cypress parts. This is because the rssi GT test expects the negative
test case to return 0 and not assert.
2020-04-07 12:25:18 -07:00
Darryl Green 65e91244fa crypto: Use updated ECC curve macros 2020-04-07 11:30:31 +01:00
Jaeden Amero 7ed3f9c998 crypto: Update the service for Mbed Crypto 3.x
Update Mbed OS's PSA Crypto service to work with Mbed Crypto 3.x.

- psa_asymmetric_verify() is now called psa_verify_hash().
- psa_asymmetric_sign() is now called psa_sign_hash().

Compatibilty wrappers are provided via crypto_compat.h for source-level
backwards compatibility.
2020-04-07 10:22:00 +01:00
Jaeden Amero 8eef39b8f1 crypto: Upgrade to Mbed Crypto 3.1.0 2020-04-07 10:11:16 +01:00
Jaeden Amero ec898fb1fa tls: Upgrade to Mbed TLS 2.20.0 2020-04-07 09:57:37 +01:00
Martin Kojtal e1d7b5a8cf
Merge pull request #12753 from kyle-cypress/pr/cypress-5.15-backport
Cypress: Backport PRs from 6.0 to 5.15.2
2020-04-07 10:49:20 +02:00
Martin Kojtal 41e1c2da5b
Merge pull request #12727 from ARMmbed/mergify/bp/mbed-os-5.15/pr-12693
USBMSD security updates (bp #12693)
2020-04-07 09:44:29 +02:00
Ryan Morse fa6bfb26eb Backport #12701: Custom BT Firmware for CYW9P62S1_43012EVB_01 2020-04-02 15:04:24 -07:00
Dustin Crossman 4e6692b529 Backport #12603: Add CYSBSYSKIT_01 2020-04-02 15:02:44 -07:00
midd be4dd8ee23 Backport #12492: Update psoc6cm0p to version 1.1.1.
This version is built with PSoC 6 Peripheral Driver Library (PDL) 1.4.1
2020-04-02 14:59:54 -07:00
Dustin Crossman ca47da6018 Backport #12422: Cypress Asset Update
- Update psoc6pdl to version 1.4.1.2240
- Update psoc6 core_lib to version 1.1.1.11109.
- Update psoc6hal to 1.1.1.11145.
- Store RTC century and RTC state information in persistent BREG register.
2020-04-02 14:58:48 -07:00
Dustin Crossman a15ed110a6 Backport #12421: Cypress target reorganization
- Remove CY8CMOD_062_4343W and merge into CY8CPROTO_062_4343W.
- Remove CY8CMOD_062S2_43012 and merge into CY8CKIT_062S2_43012.
- Remove CY8CMOD_062S3_4343W and merge into CY8CPROTO_062S3_4343W.
- Removed CY8CMODs from targets.json.
- Removed unnecessary PSOC6Code.complete post binary hook from cypress targets.
2020-04-02 14:56:36 -07:00
midd 8199e25f24 Backport #12394: Fix Cypress 1M SDIO + other minor bugs
- Remove wounding for the hardware CRYPTO block. The PSoC 6 MPN CYW9P62S1_43012EVB_01 was revised
  to add the hardware crypto block.
- Add missing error checks for emac power up.
- Add a multiplied by 2 in the SDIO clock divider calculation to account for internal UDB divider.
  Note: Fixes issues with intermittent WiFi firmware load failures on CY8CKIT_062_WIFI_BT,
  CYW943012P6EVB_01, CYW9P62S1_43012EVB_01, CYW9P62S1_43438EVB_01.
2020-04-02 14:49:22 -07:00
Shuopeng Deng a0ee701d83 Backport #12097: Cypress: Fix IAR Warnings
fix 'enumerated type mixed with another type' IAR warnings
fix 'statement is unreachable' IAR warning
2020-04-02 14:30:46 -07:00
YARB(Cypress) 738ec19183 Backport #12052: Fix for ARM issue 11859.
1. Clear UART events before enabling
2. Reset device before return from test case
2020-04-02 14:29:45 -07:00
YARB(Cypress) 63583ff6b1 Backport #12038: Remove qspi_frequency() call.
cy_qspi_frequency is not implemented.
This change is made because for compatibility
reason with upcoming cy_hal changes.
2020-04-02 14:28:02 -07:00
Shuopeng Deng 880af5d8ae Backport #12019: rework cypress lptimer hal
Changed set_match api to use an absolute ticks rather than delayed tick to match api name.
Added api set_delay to delay by a specific amount of ticks. Removed unused set_time api.
Simplified the logic for computing interrupts match value for cascading counters.
Fixed an issue when incorrect base time would be read when trying to set match values.
2020-04-02 14:27:32 -07:00
Kimmo Vaisanen d65b82da9d Cellular: ALT1250 PPP cellular driver for mbed-os 5.15
This commit introduces Altair ALT1250 PPP mode cellular driver for mbed-os 5.15 -branch.
2020-04-02 13:08:27 +03:00
Martin Kojtal 978db96468
Merge pull request #12485 from artokin/nanostack_for_mbedos_5_15_branch
Nanostack release for Mbed OS 5.15
2020-04-02 10:33:56 +02:00
Martin Kojtal 41273e3e22
Merge pull request #12653 from jarlamsa/differing_eusize-5_15
Fix issue when TDBStore has varying erase sizes between areas. (Backport)
2020-04-02 09:48:03 +02:00
Martin Kojtal c5c211388c
Merge pull request #12726 from artokin/stm32f4_sleep_solution
feature-wisun: Add fix for STM32F4 hardfault in sleep mode
2020-04-01 11:32:06 +02:00
RyoheiHagimoto 103faf9007 RZ_A1H and GR_LYCHEE: Enable bootloader support (Mbed OS 5.15) 2020-04-01 17:55:21 +09:00
Antti Kauppila 9c328114c5 Licence updated 2020-03-31 16:15:44 +03:00
Antti Kauppila 5bdc7314f4 more error handling added for ctr and hmac 2020-03-31 16:04:54 +03:00
Maciej Bocianski 95bb2a8e05 update USBMSD::memoryWrite implementation
Fix prevents unaligned USB transfers

(cherry picked from commit 1ffb4d7356)
2020-03-31 09:15:50 +00:00
Maciej Bocianski a277db1309 update USBMSD::memoryRead implementation
Fix protects underlaying block device from out-of-bound reads

(cherry picked from commit 89e67d3136)
2020-03-31 09:15:48 +00:00
Maciej Bocianski a0e35d2694 update USBMSD::infoTransfer implementation
Fix protects underlaying block device from out-of-bound read/writes
 - prevents the host from setting block device addres larger then block device size
 - prevents the host from setting wrong read/write lenght

(cherry picked from commit ac105f5a18)
2020-03-31 09:15:47 +00:00
Marcelo Salazar 1aa999ed0a Add workaround for F429 hardfault 2020-03-31 09:38:25 +03:00
Arto Kinnunen cc75c59d82 Revert "Disable sleep on STM32F4 as an workaround for stability issues."
This reverts commit c3ef3cac09.
2020-03-31 09:38:25 +03:00
Antti Kauppila 3dbe97b8cb MBEDTLS_SSL_EXPORT_KEYS added to Nanostack's tls_sec_prot_lib 2020-03-31 08:26:46 +03:00
Antti Kauppila af12d0642b trace group defiined for shared_rng
Unittests fixed

2 mbedtls functions were updated to reflect the api
2020-03-31 08:26:35 +03:00
Teppo Järvelin 377e363059 Added missing optimizations based on mbedtls/baremetal.h config 2020-03-31 08:26:11 +03:00
Teppo Järvelin c801caf7cf fixed ssl hostname handling 2020-03-31 08:26:01 +03:00
Teppo Järvelin 163e5c90e3 Added new global rng, needed for MbedTLS optimisations 2020-03-31 08:25:47 +03:00
Teppo Järvelin a325320c47 Prepare for upcoming MbedTLS changes 2020-03-31 08:25:05 +03:00
Marcelo Salazar b21aeaf153 Add workaround for F429 hardfault 2020-03-30 14:27:51 +01:00
Teemu Takaluoma 723f311de2 Disable sleep on STM32F4 as an workaround for stability issues.
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-03-30 14:27:43 +01:00
adbridge 468bd41f13 Revert "Add sector information"
This reverts commit ed6869d9ec.
2020-03-27 10:44:38 +00:00
adbridge e273c3f0ab Revert "GR_LYCHEE: enable bootloader support"
This reverts commit c654cdc40b.
2020-03-27 10:44:20 +00:00
adbridge 4c32297b07 Revert "RZ_A1H: enable bootloader support"
This reverts commit b7e8cd2267.
2020-03-27 10:43:53 +00:00
d-kato b7e8cd2267 RZ_A1H: enable bootloader support 2020-03-27 14:58:07 +09:00
d-kato c654cdc40b GR_LYCHEE: enable bootloader support 2020-03-27 14:36:23 +09:00
d-kato ed6869d9ec Add sector information 2020-03-27 14:32:12 +09:00
Arto Kinnunen aa375c43fe
Merge pull request #12656 from artokin/fea_wisun_nanostack_device_type_config
[feature-wisun] Nanostack: Add config for Wi-SUN device type
2020-03-23 11:58:59 +02:00
Arto Kinnunen 0051c0ee74 Nanostack: Add config for Wi-SUN device type
Add configuration option for Wi-SUN device types.
2020-03-19 17:02:47 +02:00
Jarno Lamsa 2f0907c140 Remove _variant_bd_erase_unit_size
In some cases, it is possible that every erase unit in area 0
has the same size, but they are still different than in area 1.
Remove the flag for varying erase sizes and instead check from
flash, what is the erase size of the current unit.
2020-03-19 14:47:43 +02:00
Arto Kinnunen b3c529b19e
Merge pull request #12562 from artokin/feature_wisun_update_MIMXRT1050
[feature-wisun] Cherry-pick MIMXRT1050 commits to feature branch
2020-03-09 12:33:36 +02:00
Mahesh Mahadevan c0418058fa MIMXRT1050: Update for deep sleep latency
1. Do not disable and enable osillators during deep sleep
   entry and exit
2. Increase the deep sleep to pass tests

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:05:49 +02:00