Commit Graph

24155 Commits (tools-release-5.12.3)

Author SHA1 Message Date
Oren Cohen 1417a631c7 Updated to f2dea5b 2019-05-03 12:24:48 +01:00
Juho Eskeli b0780563a8 STM32L4xx: IAR linker file updated to better use available memory 2019-05-03 12:24:48 +01:00
Mirela Chirica 883f1d9c56 Cellular: Added UT for case when read_string buff size hits middle of stop tag 2019-05-03 12:24:48 +01:00
Michal Paszta d47f18a130 Nanostack: release connect_semaphore only when it is pending
Only release if the current _connect_status is CONNECTING. If the semaphore is released many times for each connect, then the next connect will not wait(), as it will be able to decrement the semaphore imediatelly.
2019-05-03 12:24:48 +01:00
蔡雪 (Xue Cai) e7cbad4558 Update wifi driver for rda target UNO_91H 2019-05-03 12:24:48 +01:00
Hasnain Virk c8bc33cf3d Minor doc update
Socket ID is usually spitted out by the modem, however there are cases
when the modem is actully taken in as an input argument, e.g., in the
case of QUECTEL M26 modem. This minor knit clarifies that the
CellularSocket::id can be an input argument.
2019-05-03 12:24:48 +01:00
Mahesh Mahadevan ccba7a6161 MIMXRT1050: Readd IAR support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-05-03 12:24:48 +01:00
ccli8 0cb20e6f69 Pass TFM_LVL macro to linker files
With this, single linker file can support different TFM security levels.
2019-05-03 12:24:48 +01:00
ccli8 6f545ac5a0 Get around unknown error with power-down
On NUC472, on wake-up from power-down mode, we may meet hard fault or some other
unknown error. Before its cause is found, we enter idle mode instead for a workaround.
To simulate power-down mode with idle mode, we also disable us_ticker during
power-down period.
2019-05-03 12:24:48 +01:00
Michal Paszta 7287775918 Nanostack network handle does not always call status cb for BOOTSTRAP events
UBLOX_EVK_ODIN_W2 advertises more events than we expect.
1) When disconnecting first network connectivity is lost and then an
actual disconnection event arrives. The first one is unexpected.
2) When reconnecting MESH_BOOTSTRAP_START_FAILED shows up, but the board
eventually manages to connect
2019-05-03 12:24:48 +01:00
Michal Paszta 0328ffd35f UDPSOCKET_ECHOTEST fails if a packet of any given size was not sent at least once 2019-05-03 12:24:48 +01:00
Kevin Bracey 74f0a3e3f5 KW24D: Use default ARM compiler (ARMC6)
KW24D was set to ARMC5 because the ARMC6 tooling didn't correctly handle
Cortex-M4 without floating-point. Now fixed.
2019-05-03 12:24:48 +01:00
Kevin Bracey 94bca9f516 Tools: Add "Cortex-M33E" option
There was a gap in our pattern - we didn't offer M33 with DSP Extension
but no floating-point.
2019-05-03 12:24:48 +01:00
Kevin Bracey ebab23ccef Correct some CPU selections in tools
* For ARMC6, core types `Cortex-M4` and `Cortex-M7` did not explicitly
  add `--fpu=none`, so it defaulted to assuming FPU present. This would
  cause a compilation error if the target's cmsis.h had `__FPU_PRESENT`
  defined to 0.

* For GCC, `Cortex-M33FE` did not include `+dsp` in the architecture
  selection.

* For ARMC5 and ARMC6, `Cortex-M0+` did not pass `M0plus` to the
  non-Clang tools.
2019-05-03 12:24:48 +01:00
ccli8 bd74b469b7 Fix heap init error in rtos-less code
In rtos-less code, heap is defined by assuming one-region. Through weak-reference to
ARM_LIB_HEAP, heap definition is fixed if ARM_LIB_HEAP is defined.
2019-05-03 12:24:48 +01:00
Deepika d7e53cdd7c Add missing boot stack size memory from heap calculation 2019-05-03 12:24:48 +01:00
Deepika f8367b4f7c Update linker script for using SRAM1 and SRAM2 in ARM To have the flexibilty in application; to use any of the section (data/bss/heap) without updating linker script in every use case, following decisions are made: 1. Fixed size and small sections moved to SRAM2 (32K) Vectors Crash data Remaining section - RW / ZI 2. Large memory space should be used for variable sections RW/ZI Heap - (Minimum - 0x12000) Stack - At bottom 2019-05-03 12:24:48 +01:00
Oren Cohen 0c71ca0a8f Refactor PSA code generators
* Unify PSA generators
* Replace scanning for mbed_spm templates with json
* Make generate_source_files and parse_manifests common
* Make assert_int an internal function
* Use parse_manifests in pytests
* Update docs
2019-05-03 12:24:48 +01:00
Anna Bridge cfa7938a4d
Merge pull request #10469 from ARMmbed/release-candidate
Release candidate for mbed-os-5.12.2
2019-04-26 11:49:10 +01:00
adbridge a3e7416ff4 "Update secure binaries for LPC55S69_S" 2019-04-24 16:07:31 +01:00
adbridge 51b9a094b9 Merge branch 'release-candidate' of github.com:ARMmbed/mbed-os into release-candidate 2019-04-24 15:32:09 +01:00
Anna Bridge 45c177647d
Merge pull request #10467 from kfnta/release-candidate
Fix TF-M import commits order
2019-04-24 15:31:41 +01:00
Oren Cohen a6b8f633a6 Update commit sha's 2019-04-24 17:25:51 +03:00
Michael Schwarcz e3cd9dbb0d TF-M patch: Fix tfm_memory_check issue (TF-M issue #224)
- Add Secure/non-secure code and secure heap to memory check
- Link to bug tracking: https://developer.trustedfirmware.org/T224
2019-04-24 17:25:47 +03:00
Michael Schwarcz fd50f967d3 TF-M patch: Fix wrong check in tfm_spm_check_client_version (TF-M issue #236)
- Link to bug tracking: https://developer.trustedfirmware.org/T236

(cherry picked from commit 008bf1b2d1)
2019-04-24 17:25:43 +03:00
Michael Schwarcz e4fbe203f1 TF-M patch: Fix tfm_psa_call_venner wrong argument type (TF-M issue #241)
- Link to bug tracking: https://developer.trustedfirmware.org/T241

(cherry picked from commit da01e3411f)
2019-04-24 17:25:40 +03:00
Michael Schwarcz 3915c544c2 TF-M patch: Fix fixed-size partitions stack size (TF-M issue #240)
- Link to bug tracking: https://developer.trustedfirmware.org/T240

(cherry picked from commit fc78640559)
2019-04-24 17:25:36 +03:00
Michael Schwarcz 82a8dc338a TF-M patch: Fix service handles not cleared issue (TF-M issue #230)
- Link to bug tracking: https://developer.trustedfirmware.org/T230

(cherry picked from commit 0c23e86989)
2019-04-24 17:25:32 +03:00
Michael Schwarcz fb2f96ca56 TF-M patch: General modifications
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef

(cherry picked from commit 1f30b52488)
(cherry picked from commit 71cd34df32)
2019-04-24 17:25:19 +03:00
Oren Cohen abd60fc341 [trusted-firmware-m]: Updated to 0101fd37
# Conflicts:
#	components/TARGET_PSA/TARGET_TFM/COMPONENT_NSPE/interface/src/tfm_ns_lock_rtx.c
2019-04-24 17:25:14 +03:00
Oren Cohen e53795189c Remove outdated patch 2019-04-24 17:24:34 +03:00
Oren Cohen 06f1a98326 Revert TF-M update PR 2019-04-24 17:20:10 +03:00
adbridge 2106e703e0 "Update secure binaries for FUTURE_SEQUANA_M0_PSA" 2019-04-24 14:21:53 +01:00
adbridge 0a5e610af5 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA" 2019-04-24 14:09:26 +01:00
Lei Zhang 1e81845f85 PSOC6: Add WICED library build for ARMC6
- Also remove WICED library build for ARMC5
2019-04-24 13:53:18 +01:00
Hennadiy Kytsun 608a1f5400 CY8CKIT_062_WIFI_BT_PSA: mention tools/psa/release.py in README 2019-04-24 13:53:00 +01:00
Hennadiy Kytsun 81960509f2 PSOC6: remove __attribute__((constructor)) from SystemInit 2019-04-24 13:51:12 +01:00
Hennadiy Kytsun d9b0706163 FUTURE_SEQUANA: reuse supported_toolchains from TARGET_PSOC6 2019-04-24 13:50:58 +01:00
Hennadiy Kytsun 37e0c5ec8a PSOC6: add ARMC6 support (fix issue #9830)
Update PDL syslib driver to 2.30.
Update startup assembly and linker scripts.
2019-04-24 13:50:43 +01:00
Hennadiy Kytsun 2f29ce64d4 PSOC6: update version of PDL IPC driver 2019-04-24 13:50:31 +01:00
Hennadiy Kytsun d36b6708df PSOC6: update version of PDL flash driver
Flash driver 3.30:
Moved ipcWaitMessageStc structure to the RAM section called ".cy_sharedmem"
Added support Secure Boot devices
Moved CY_FLASH_EFFECTIVE_PAGE_SIZE to flash_api.c (the macro is Mbed specific).
2019-04-24 13:50:19 +01:00
Hennadiy Kytsun f96ae8b0c3 PSOC6: remove custom IPC configuration for PSA
* Update PDL startup driver to version 2.40
* Update linker scripts and startup assembly
* Remove custom IPC configuration from PSA initialization:
  use default IPC configuration provided by low-level startup code.
2019-04-24 13:50:06 +01:00
Hennadiy Kytsun cec01fd14b PSoC6: Remove TARGET_CY8C62XX CSP directory
GeneratedSource folders are BSP specific. No parts of the kit BSP can be reused
as generic chip support package. Remove TARGET_CY8C62XX directory,
and use flat BSP inheritance model:

MCU_PSOC6 -> MCU_PSOC6_M4 -> CY8CKIT_062_WIFI_BT
MCU_PSOC6 -> MCU_PSOC6_M0 -> CY8CKIT_062_WIFI_BT_M0
2019-04-24 13:49:54 +01:00
Oren Cohen 60aabaee8e Update commit sha's 2019-04-24 13:49:38 +01:00
Oren Cohen c84329a1c5 [trusted-firmware-m]: Updated to 0101fd37 2019-04-24 13:49:17 +01:00
Oren Cohen 39c1f6bfa0 Remove outdated patch 2019-04-24 13:48:02 +01:00
Michael Schwarcz 2fbbf5c326 TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239)
- Link to bug tracking: https://developer.trustedfirmware.org/T239

(cherry picked from commit 5f2e4b3911)
2019-04-24 13:46:36 +01:00
Michael Schwarcz ce722f1253 TF-M patch: General modifications
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef

(cherry picked from commit 1f30b52488)
(cherry picked from commit 71cd34df32)
2019-04-24 13:44:46 +01:00
adbridge a4562e2009 Update Mbed version block 2019-04-24 13:39:20 +01:00
Mirela Chirica 651e4e2641 Cellular: Added BG96 handling for socket closing URC 2019-04-24 13:37:42 +01:00