Commit Graph

4286 Commits (mbed-os-5.11.5)

Author SHA1 Message Date
Cruz Monrreal II b83fb2b738 Revert "Restore MBEDTLS_PSA_CRYPTO_C for PSA targets"
This reverts commit 035ecc15d6.
2019-02-21 22:15:49 -06:00
Cruz Monrreal II 71ebf82081 Revert "Add MBEDTLS_ENTROPY_NV_SEED to NUCLEO_F411RE to fix the build"
This reverts commit b705934b62.
2019-02-21 22:14:23 -06:00
Cruz Monrreal II f5eb87c62d Revert "nRF52 serial: Tighten/simplify atomics"
This reverts commit 2a7f5e21af.
2019-02-21 15:08:59 -06:00
jeromecoutant 774ee68476 STM32 LPTICKER (LPTIM): correct init execution after bootloader 2019-02-21 14:25:43 -06:00
RFulchiero 7309bd9c32 Remove ITM from NRF52_DK and DELTA_DFBM_NQ620 targets
The NRF52_DK and DELTA_DFBM_NQ620 have the SWO pin (p0_18) mapped to
LED2. This means that on startup LED2 turns on after the ITM is
initialized which is confusing. Since most users want LED2 usage
instead of SWO we remove the ITM for these targets.

The nRF52 readme is updated to instruct users how to get SWO support
if they need it.
2019-02-21 14:25:43 -06:00
Ashok Rao 7a716b591c Changing SPDX license identifier to BSD-3-Clause 2019-02-21 14:25:43 -06:00
Ashok Rao ceb5c6e01e Removing redundant code comments 2019-02-21 14:25:43 -06:00
Ashok Rao a3007f6ffe Adding SPDX license identifer for all new files 2019-02-21 14:25:43 -06:00
Ashok Rao f4fc79e2cd Adding SPDX license identifier 2019-02-21 14:25:43 -06:00
Ashok Rao 49d5a4a57f Adding STM32_L475 as a new MTB target 2019-02-21 14:25:43 -06:00
Guillermo Alonso c31635fa05 Change in license identifier, removed commented dead code
Change in license identifier
Removed commented dead code
Removed some tab space
2019-02-21 14:25:43 -06:00
Guillermo Alonso 3c223d95ba added licence identifier texts 2019-02-21 14:25:43 -06:00
Guillermo Alonso b87ee6ca73 Added new target RHOMBIO_L476DMW1K 2019-02-21 14:25:42 -06:00
Volodymyr Medvid 79d8b3a9c2 PSOC6: fix port_write API
Fix port_write API to correctly shift the passed value.
This allows the reference application provided in PortOut docs
to work corectly with arbitrary LED_MASK.
https://os.mbed.com/docs/mbed-os/v5.11/apis/portout.html

The fix applies to both PSOC6 and PSOC6_FUTURE HAL implementations.
2019-02-21 14:25:42 -06:00
Kevin Bracey 2a7f5e21af nRF52 serial: Tighten/simplify atomics
Use new atomics (exchange, load, store and bool types) to simplify
and improve the atomics in the nRF52 serial HAL.

* Ensure mutexes are released last and atomically when done
  done inside a critical section.
* Compare-and-swap is not required for the spinlock - exchange is
  sufficient. (Not clear a spinlock is needed anyway, but left in).
* Remove unneeded volatile, and make mutexes bool.
2019-02-21 14:25:42 -06:00
Volodymyr Medvid cd4165bae8 PSOC6: update BSP generated sources with latest configurator
Use ModusToolbox Device Configurator 1.1.0.284 to generate the
BSP low-level initialization code. Compatible version of Device
Configurator to be released with ModusToolbox 1.1.

Notable changes:
* rename cycfg_connectivity -> cycfg_routing
* switch LF_CLK clock source from ILO to WCO on
  CY8CPROTO-062-4343W and CYW943012P6EVB-01
2019-02-21 14:25:42 -06:00
Volodymyr Medvid 42376c0d85 PSOC6: minor updates to Cypress HAL 2019-02-21 14:25:42 -06:00
Volodymyr Medvid c79e3fd10f PSOC6: update PDL to the latest version 2019-02-21 14:25:42 -06:00
Marcin Tomczyk 631acd4ac8 ONME-3949 Configuration options for STM_EMAC buffer counts 2019-02-21 14:25:41 -06:00
Cai c632480a25 Add WIFI support for RDA target UNO_91H 2019-02-21 14:25:39 -06:00
Leszek Rusinowicz 64b263cedb FUTURE_SEQUANA: Fixed Arduino signal mappings
Fixed Arduino signal mappings for production version of Sequana board.
2019-02-21 14:25:39 -06:00
Oren Cohen b705934b62 Add MBEDTLS_ENTROPY_NV_SEED to NUCLEO_F411RE to fix the build 2019-02-21 14:25:39 -06:00
jeromecoutant e8ce42ad83 STM32 GPIO: use maximum speed 2019-02-21 14:25:38 -06:00
ccli8 39262235b1 Remove unnecessary header files in crypto-misc.cpp 2019-02-21 14:25:38 -06:00
ccli8 e5e9e4f389 Hook crypto interrupt handler without NVIC_SetVector 2019-02-21 14:25:38 -06:00
ccli8 693245d802 Fix crypto AC mgmt
Port of NUC472/M487 crypto AC mgmt work to M2351:
1. Choose mutex to synchronize access to crypto non-SHA AC
2. Choose atomic flag to synchronize access to crypto SHA AC
2019-02-21 14:25:38 -06:00
Alexander Zilberkant 035ecc15d6 Restore MBEDTLS_PSA_CRYPTO_C for PSA targets
Removed by mistake in 763cb4c157
2019-02-21 14:25:38 -06:00
Przemyslaw Stekiel bd056c680a K64/ARM: Update to 2-region model for HEAP and Stack Memory 2019-02-21 14:25:37 -06:00
Leszek Rusinowicz fe9020b11a FUTURE_SEQUANA: SPI HAL fixes
1. Removed random i/o glitches occurring during device reconfiguration
2. Fixed hazardous reads occurring at the end of transfer resulting
   in incorrect values being received
3. Added spi_free() function
4. Replaced default M0 image with a one ignoring i/o reservation. This is
   a workaround for missing proper destructors in Mbed drivers and BlockDevice
   tests failing on repeated initialization
Fixes issue #9620.
2019-02-21 14:25:37 -06:00
Alexander Zilberkant d7b58e99fa FUTURE_SEQUANA_M0_PSA - fix CM4 starting address
Use PSA_NON_SECURE_ROM_START configuration value instead of hardcoded CY_CORTEX_M4_APPL_ADDR.
2019-02-21 14:25:37 -06:00
Volodymyr Medvid a4bb51bb2d PSOC6: rebuild libwiced_drivers.a against mbed-os-5.11.4
The WICED precompiled libraries submitted with mbed-os-5.11.4
were compiled against mbed-os master branch at #57d8915a:
https://github.com/ARMmbed/mbed-os/tree/57d8915a

At that moment, the master branch contained commits targeting
mbed-os-5.12, this prevented the libraries from functioning correctly
when manually picked to mbed-os-5.11 release branch.

The libraries are now compiled against #ecb3c8c:
https://github.com/ARMmbed/mbed-os/tree/ecb3c8c
2019-02-14 12:29:23 +00:00
Volodymyr Medvid 33d779f540 PSOC6: add network-default-interface-type to Cypress boards
Set the default network interface type as WIFI for Cypress
targets with on-board WICED Wi-Fi module.
2019-02-08 16:58:20 +00:00
Volodymyr Medvid 881b806549 Add WICED binary drivers for Cypress PSoC 6 targets
Add prebuilt WICED libraries for the PSoC 6 boards with WICED radios:
* TARGET_CY8CKIT_062_4343W
* TARGET_CY8CKIT_062_WIFI_BT
* TARGET_CY8CPROTO_062_4343W
* TARGET_CYW943012P6EVB_01

Add required extra labels to the PSoC 6 targets in targets.json:
(PSOC6_01/02 labels are used during the library compilation).
2019-02-08 16:57:54 +00:00
Volodymyr Medvid bb9f1dc554 PSoC6: add implementation of BLE HCI driver for CYW4343W/CYW43012
Add Cypress HCI driver implementation in TARGET_Cypress directory.

Update targets.json to enable CORDIO stack for Cypress PSoC 6 boards
with CYW43XXX radios with compatible HCI driver implementation:
CYW4343W and CYW43012.
2019-02-08 16:57:27 +00:00
Volodymyr Medvid bacd49fe13 PSOC6: add BSP generated sources for Cypress kits
Code generated for pioneer kits:
* CY8CKIT-062-4343W
* CY8CKIT-062-BLE
* CY8CKIT-WIFI-BT
Prototyping boards:
* CY8CPROTO-062-4343W

The source is generated with ModusToolbox Device Configurator.
The origin design.modus files used to produce the GeneratedSource
will be submitted in the consequent pull requests.
2019-02-08 16:56:32 +00:00
Volodymyr Medvid d1f7e7c9ef Add prebuilt CM0+ images for Cypress kits 2019-02-08 16:56:04 +00:00
Volodymyr Medvid 296f8cb7f3 PSOC6: add BSPs for Cypress kits 2019-02-08 16:55:37 +00:00
Volodymyr Medvid 57677717ca PSOC6: add CRC and TRNG APIs
Exclude the labels from inherited FUTURE_SEQUANA targets.
2019-02-08 16:55:09 +00:00
Volodymyr Medvid 3319f73c8b PSOC6: update the HAL implementation to latest PDL
Integrate the latest fixes to the PSoC 6 HAL.
2019-02-08 16:54:39 +00:00
Volodymyr Medvid 34be4ac72d PSOC6: add the latest Cypress PDL sources 2019-02-08 16:54:13 +00:00
Volodymyr Medvid 979bc0c4ac PSOC6: reuse FUTURE_SEQUANA porting layer
Copy the porting layer from TARGET_PSOC6_FUTURE to TARGET_PSOC6.
This commit is intended to make the history and changes applied easier
to follow.
ipcpipe_transport.c, ipcpipe_transport.h, rpc_api.h, rpc_defs.h
are excluded (not used by Cypress port).
PeripheralNames.h is moved to BSP layer introduced in subsequent
commits (the peripheral names and count are board-specific).
2019-02-08 16:53:39 +00:00
Volodymyr Medvid 463c53d9d2 Move FUTURE_SEQUANA port to TARGET_PSOC6_FUTURE
The targets/TARGET_Cypress/TARGET_PSOC6 is dedicated to the mbed-os HAL
and PSoC 6 MCU targets developed by Cypress Semiconductor. Move the
existing port developed by Future Electronics to TARGET_PSOC_FUTURE
and update the labels in targets.json appropriately.
2019-02-08 16:53:09 +00:00
Ganesh Ramachandran d046c914b5 Added MBED_APP_START to linker script 2019-02-08 16:50:27 +00:00
Leszek Rusinowicz c46215dc97 FUTURE_SEQUANA: Removed special "tags" from M0 hex images for better tools compatibility
This fixes issue #9611
2019-02-08 16:50:27 +00:00
Brian Daniels e6ba5f0cfb Remove yotta and minar references in NCS36510 2019-02-08 16:50:27 +00:00
Yoshihiro TSUBOI 78e8ff14bc Modified pin map
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026)  for the Wio BG96 board
* Remove/Fix unused PinName definitions for the Wio BG96 board from the PinNames enum
2019-02-08 16:50:27 +00:00
Russ Butler 820309e378 Define Arduino pins for the LPC812
Define the unconnected Arduino pins to NC so they are all defined.
2019-02-08 16:50:27 +00:00
Russ Butler 06037854a3 Define A0 to NC for the TARGET_KW41Z
Set A0 to NC so it is defined on the KW41Z platform.
2019-02-08 16:50:27 +00:00
Russ Butler e641a0497e Remove ARDUINO form factor for nano devices
Remove ARDUINO from supported form factors on devices which have the
physical form factor of the arduino nano.
2019-02-08 16:50:27 +00:00
Russ Butler 00844af7c4 Remove ARDUINO form factor from RBLAB_BLENANO2
Remove the ARDUINO form factor from the RBLAB_BLENANO2 since it
does not have D11, D12, D14, D15 defined and does not physically have
the arduino form factor.
2019-02-08 16:50:27 +00:00