Commit Graph

21714 Commits (mbed-os-5.11.5-alpha)

Author SHA1 Message Date
Anna Bridge bc132a6066
Merge pull request #9719 from ARMmbed/release-candidate
Release  candidate for mbed-os-5.11.5-alpha
2019-02-14 18:47:17 +00:00
adbridge 36734f4fb5 Update mbed version block
Updated to 5.11.5 although this is actually an alpha release of that.
2019-02-14 12:32:04 +00: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
Yossi Levy a58e4f7b1f Adding MBEDTLS_ENTROPY_NV_SEED macro check in device key to allow key derivation when there is no TRNG but there is DRBG 2019-02-14 12:23:59 +00:00
Martin Kojtal ecb3c8c837
Merge pull request #9646 from ARMmbed/release-candidate
Release candidate for mbed-os-5.11.4
2019-02-11 11:56:11 +01: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 f414e0888a CYW4343X: move HCI driver to TARGET_STM
TARGET_CYW4343X Bluetooth HCI driver is specific to STM32 targets
derived from USI_WM_BN_BM_22. Move the driver implementation to
TARGET_STM folder to not interfere with Cypress implementation at
TARGET_Cypress/TARGET_CYW43XXX/HCIDriver.cpp that is enabled for
PSoC 6 targets which also include the CYW4343X label.
2019-02-08 16:56:59 +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
adbridge 318af2375f Update Mbed version block 2019-02-08 16:50:36 +00:00
deepikabhavnani fdb1a4f311 Correct the dsp flag from no_dsp to nodsp 2019-02-08 16:50:27 +00:00
Ganesh Ramachandran d046c914b5 Added MBED_APP_START to linker script 2019-02-08 16:50:27 +00:00
Naveen Kaje e7985fd07a tools: build_api_test: add test to detect when part overflows region size 2019-02-08 16:50:27 +00:00
Naveen Kaje 03558761e0 tools: check part size is not exceeding region size
If config is specified, check that part size is not
exceeding the region. Normally we now assume that
part.maxaddr() can be beyond end of rom.
2019-02-08 16:50:27 +00:00
Volodymyr Medvid 1676bd3e83 makefile export: create .link_options.txt with echo
$(file > $@.in, $(filter %.o, $^)) is not supported in GNU Make 3.81.
Create the linker response file with pipe redirect from echo command.
This is tested with Cygwin make and make 3.8.1 shipped with macOS.

Also, change the linker responce file name to .link_options.txt.
This is an internal file, not a build artifact.
2019-02-08 16:50:27 +00:00
Jimmy Brisson ddddb6f8a1 Implement Linker command/response files in make export 2019-02-08 16:50:27 +00:00
Michael Schwarcz 0f15c7ffe5 Fix cortex-m33-S armlink error
Add "-mfpu=none" compilation flag
2019-02-08 16:50:27 +00:00
Michael Schwarcz f869e9a144 Fix cortex-m33-S compile error
Compilation error was due to due to bug in gcc.py
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
Deepika 7020e6cd23 Correct typo no_dsp - nodsp
armclang - nodsp
armlink - no_dsp
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
Jarkko Paso 730cf07f8e FHSS timer: Use singleton pointer with timer objects
This is to save statically allocated memory. Without SingletonPtr the timer objects would always be included in build.
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
Russ Butler 740724fa52 Remove ARDUINO form factor from FF1705_L151CC
The FF1705_L151CC does not have the following pins
D4, D5, D6, D7, D8, D9, A2, A3, A4, A5 so remove the ARDUINO form
factor from it.
2019-02-08 16:50:27 +00:00
Brian Daniels a56970499d Improve error message for exports for OS2-only targets 2019-02-08 16:50:27 +00:00
Russ Butler 75a01f6806 Define USBTX and USBRX for targets missing it
Define USBTX and USBRX for the LPC11U37H and the MTS_MDOT_F405RG.
2019-02-08 16:50:27 +00:00
jeromecoutant 2a74fbfc86 STM32 targets.json styling update 2019-02-08 16:50:27 +00:00
jeromecoutant d3f0af2cda targets.json: "LOWPOWERTIMER" device_has is not used 2019-02-08 16:50:27 +00:00
jeromecoutant 4b8c2b87a0 STM32: set DEVICE_SERIAL_FC at FAMILY_STM32 level 2019-02-08 16:50:27 +00:00
Yoshihiro TSUBOI 9df989d3f3 Modified pin map
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026)  for the Wio 3G board
* Remove/Fix unused PinName definitions for the Wio 3G board from the PinNames enum
2019-02-08 16:50:27 +00:00
Kevin Bracey 02de2c1426 Fix SharedPtr::reset
SharedPtr::reset did not actually set the stored pointer value.
Correct this, with other minor tidies:

* Ensure counter is set to NULL if pointer is reset to NULL
* Be consistent about not clearing pointers in decrement_counter().
2019-02-08 16:50:27 +00:00
jeromecoutant eb013515bf STM32F2: Enable TRNG 2019-02-08 16:50:27 +00:00
Russ Butler e8931b6087 Remove SERIAL_FC from the MPS2 family
The MPS2 family does not support flow control in its serial driver so it
should not have SERIAL_FC in device_has.
2019-02-08 16:50:27 +00:00
Russ Butler 865dc26148 Remove SERIAL_FC from the ARM_IOTSS_BEID
The ARM_IOTSS_BEID does not support flow control in its serial driver so it
should not have SERIAL_FC in device_has.
2019-02-08 16:50:27 +00:00
Russ Butler 0a31227fdd Remove SERIAL_FC from the NCS36510
The NCS36510 does not support flow control in its serial driver so it
should not have SERIAL_FC in device_has.
2019-02-08 16:50:27 +00:00
jeromecoutant 23f68359b5 STM32 Serial Flow Control
Crash occured when RTS=CTS=NC
Now we chek if used pins are the same UART as TX and RX
2019-02-08 16:50:27 +00:00
Brian Daniels 538b6825a7 Add missing space - coding style nit
Co-Authored-By: deepikabhavnani <deepika.bhavnani@arm.com>
2019-02-08 16:50:27 +00:00
deepikabhavnani 53f52f9e0e Set the DSP option as `E` for Cortex-M33 2019-02-08 16:50:27 +00:00