Commit Graph

24193 Commits (mbed-os-5.12)

Author SHA1 Message Date
Martin Kojtal 73f096399b
Merge pull request #10610 from ARMmbed/release-candidate
Release candidate for mbed-os-5.12.4
2019-05-20 14:18:06 +01:00
adbridge 618297fac2 Update Mbed version block 2019-05-17 15:38:42 +01:00
Kevin Bracey 815a00d097 Permit non-TrustZone ARMv8 build
Change the heuristic for selection of CMSE in the tools python, so that
a non-TrustZone ARMv8 build can happen.

Ideally we would have more direct flagging in the targets, but this
refines the heuristic so the necessary behaviour can be easily
achieved.

* DOMAIN_NS=1 is based purely on the `-NS` suffix on the core name.

* Enabling CMSE in the compiler and outputting a secure import library
  is now enabled when the core doesn't have an `-NS` suffix by either
  the target label `TFM` being present or the flag `trustzone` being set.

This covers the existing ARMv8-M behaviour - TF-M builds have the TFM
label, as per its documentation; M2351 secure builds have no explicit
flagging, so we ensure that the M2351_NS target has the trustzone flag
set, and the out-of-tree secure target inherits that.
2019-05-17 15:38:41 +01:00
Volodymyr Medvid 6030b1411e PSOC6: simplify the mbed_sdk_init sequence 2019-05-17 15:38:41 +01:00
Volodymyr Medvid 27d3b1e766 PSOC6: move mbed_sdk_init to mbed_overrides.c
Purposes:
* Remove MbedOS-specific code from system_psoc6_{cm4,cm0plus}.c
  to simplify updates to new PDL version (startup code is part of PDL).
* Unify mbed_sdk_init initialization sequence for both CPU cores.
  This change is non-functional, sequence itself is not changed for any
  of the PSoC 6 M4/M0 PSA/non-PSA targets.
2019-05-17 15:38:41 +01:00
panyz0725@thundersoft.com 2d2823d56b Modify PinName file to keep correspondence with spec 2019-05-17 15:38:41 +01:00
kevin.ong f179be9817 cellular: fix style 2019-05-17 15:38:41 +01:00
kevin.ong 4536193e8d cellular: fix Quectel BG96 missing unlock at socket_connect 2019-05-17 15:38:41 +01:00
paul-szczepanek-arm 7b1d57c661 no read callback for CCC 2019-05-17 15:38:41 +01:00
paul-szczepanek-arm 15d0a9422d not include attribute write cback for CCC 2019-05-17 15:38:41 +01:00
George Beckstein 4c43bd806f Change "aplication" to "application" 2019-05-17 15:38:41 +01:00
Kevin Bracey 982acef70e SPI: Prime asynch transaction buffer on construction
SPI peripherals' asynch transaction buffers are now wrapped by
SingletonPtr, which needs to take the singleton_lock Mutex when first
accessed. If it was first accessed by an asynch transaction started from
IRQ, that would not be possible.

Add a SingletonPtr::get() call to the SPI construction process so that
the peripheral's buffer is fully constructed before any SPI methods can
be called, meaning asynch methods won't fail from IRQ.

(Other pre-existing synchronisation issues with async remain, but this
avoids a new trap in Mbed OS 5.12).
2019-05-17 15:38:41 +01:00
jeromecoutant 78b0d9b11f STM32 astyle updates 2019-05-17 15:38:41 +01:00
ccli8 e6e86b07e8 Fix optimization error with NVIC_SetVector/NVIC_GetVector on ARMC6
On ARMC6 with optimization level "-Os", the two functions NVIC_SetVector/NVIC_GetVector
will be translated to illegal instruction for trapping due to NVIC_FLASH_VECTOR_ADDRESS
defined as direct 0. Fixed by defining NVIC_FLASH_VECTOR_ADDRESS as a symbol instead to
avoid such optimization error.
2019-05-17 15:38:41 +01:00
Brian Daniels dcfe27d5ba Add mbed studio flag during assembly 2019-05-17 15:38:41 +01:00
Guillermo Alonso ed5ae0e943 error in tabulation fixed 2019-05-17 15:38:41 +01:00
Guillermo Alonso e6fcada930 added QSPI support to target RHOMBIO_L476DMW1K 2019-05-17 15:38:41 +01:00
Mirela Chirica c015bb3011 Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-05-17 15:35:27 +01:00
M. Rahimi 9ad5fd34cc Enabled crash reporting for DISCO_F407VG on all other toolchains 2019-05-17 15:35:27 +01:00
M. Rahimi 01e35e009e Enabled crash reporting for DISCO_F407VG target 2019-05-17 15:35:27 +01:00
Yossi Levy 96f2c428ce Removing FLASHIAP support form general_filesystem tests as it is marked as skip anyway 2019-05-17 15:35:27 +01:00
Martin Kojtal 63c891599d requirements: update urllib3 to 1.24.2
Reference: CVE-2019-11324
2019-05-17 15:35:27 +01:00
Laurent Meunier b262080045 Typo fix for MBED_APP_SIZE 2019-05-17 15:35:27 +01:00
Laurent Meunier f73e6cd55d Update FLASH_SIZE backup value
By default, FLASH_SIZE should be read from HW.
In case this is not the case, we define it here, as the size of FLASH
that is available to the application running on M4.
2019-05-17 15:35:27 +01:00
Laurent Meunier a677e43939 STM32WB: Update Flash size
the flash is shared and split between cortex-M4 that
runs (mbed-os) application and the cortex-M0+ that
runs the BLE firmware.

The 512K allocated to the application was a
conservative that can now be updated.

With recent up-to-date BLE firmware flashed @ 0x080CB000,
there should be 812K available to application.

But there are boards out there that don't have an up-to-date
firmware, so we're keeping an intermediate, safer,
application size of 768K.
2019-05-17 15:35:27 +01:00
Andrew Chong 7f276fc7f8 This removes many const char* warnings related with LWIP_ASSERT() 2019-05-17 15:35:27 +01:00
ccli8 80b3399936 Nuvoton: Add COMPONENT_FLASHIAP support
Some Nuvoton targets support DEVICE_FLASH but their corresponding COMPONENT_FLASHIAP
supports are not enabled. Enable them:

NUMAKER_PFM_M453
NUMAKER_PFM_M2351
2019-05-17 15:35:27 +01:00
Lin Gao 3af4e0b067 Increase tcpip thread size for MTS_DRAGONFLY_F411RE 2019-05-17 15:35:27 +01:00
Lin Gao 2b33d06276 Add option to keep post_binary_hook and make it default. It can be disabled by setting it to null 2019-05-17 15:35:27 +01:00
Lin Gao ef21cf108b Fix handoff issue from the bootloader to the application on MTS_DRAGONFLY_F411RE 2019-05-17 15:35:27 +01:00
Ben Cooke 75b113e956 Correct the default pins for the spi flash for the mts dragonfly - on behalf of Ben C. 2019-05-17 15:35:27 +01:00
mudassar-ublox 7bf5657219 cellular target name change for ublox cellular instance 2019-05-17 15:35:27 +01:00
Wajahat Abbas 6065e39b69 C027 Fix for modemOn flag 2019-05-17 15:35:27 +01:00
Olli-Pekka Puolitaival 1dd94c5472 Py3 fixes for test scripts 2019-05-17 15:35:27 +01:00
Qinghao Shi b20a70cd00 TRAVIS: turn off upload python test code coverage 2019-05-17 15:35:27 +01:00
Andrew Chong 2b8ac5d24c Allow application to override LWIP_RAW 2019-05-17 15:35:27 +01:00
petroborys 86f7984d45 Add can_api.c for efm32:review build-IAR 2019-05-17 15:35:27 +01:00
petroborys 1188209169 Add can_api.c for efm32: wrap in presence of the base peripheral 2019-05-17 15:35:27 +01:00
petroborys 63b7f0410d Add can_api.c for efm32 2019-05-17 15:35:27 +01:00
Anna Bridge 0f959dbe47
Merge pull request #10532 from ARMmbed/release-candidate
Release candidate for mbed-os-5.12.3
2019-05-07 14:29:07 +01:00
adbridge b520ed424d "Update secure binaries for LPC55S69_S" 2019-05-03 14:08:19 +01:00
adbridge 58d300053b "Update secure binaries for FUTURE_SEQUANA_M0_PSA" 2019-05-03 13:59:29 +01:00
adbridge 6c45c5f978 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-05-03 13:26:11 +01:00
Alexander Zilberkant 7bc5f1a499 Update PSA tools Readme 2019-05-03 12:47:32 +01:00
Alexander Zilberkant 3e91a89c0d Integrate with mbeb-cli build system
PSA code generation will be called automatically upon mbed invocation.
The autogenerated files will be created under <mbed-os-root>/PSA_AUTOGEN directory.
2019-05-03 12:47:01 +01:00
Alexander Zilberkant 019751cdd3 Update PSA includes to autogenerated files 2019-05-03 12:37:49 +01:00
Alexander Zilberkant 4d0f429e7e Update PSA code generator
Unify TF-M and Mbed-SPM code generators:
 - Unify SPM initialization logic:
   - All partitions are registered at once
   - Test partitions are guarded by #ifndef
   - Introduce single template list
 - Beatify template files and add "Autogen-do not modify" notice
Prepare for integration with mbed-os build system:
 - Generate all the files in a single place
Simplify tools/psa/release.py script
2019-05-03 12:37:24 +01:00
Alexander Zilberkant 18cabc90a6 Delete autogenerated files 2019-05-03 12:36:55 +01:00
adbridge f1c905f323 Update Mbed version block 2019-05-03 12:24:53 +01:00
Mahesh Mahadevan 49cbb25638 LPC55S69: Add support for UART hardware flow control
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-05-03 12:24:48 +01:00