Commit Graph

24193 Commits (mbed-os-5.12)

Author SHA1 Message Date
Teppo Järvelin a1f0c46cb9 Cellular: fix calls to ATHandler::read_string(...) give correct size
ATHandler::read_string(...) buffer size param was changed a long time ago
to include also NULL. Some calls still gave wrong size after this change.
2019-05-03 12:24:48 +01:00
Mirela Chirica 1088162208 Cellular: Added WISE-1570 handling for socket closing URC 2019-05-03 12:24:48 +01:00
Michael Coulter 8639031f0c Fix 'LICENSE' file 404 link error 2019-05-03 12:24:48 +01:00
Janne Kiiskila c59c8e9d63 NVStore.cpp compiler warning removal (os_ret)
One gets this compiler warning from nvstore.cpp:

```
Compile [ 48.6%]: nvstore.cpp
[Warning] nvstore.cpp@814,9: variable 'os_ret' set but not used [-Wunused-but-set-variable]
```

Turns out it's caused by the fact that the variable is only used
with MBED_ASSERTs, which get optimized out or not, depending on your
build profile. In reality we do not need a separate variable for that
in my opinion though, so we can just use the ret-variable instead
and drop the os_ret variable completely and thus avoid this
compiler warning.
2019-05-03 12:24:48 +01:00
fred.li 2529222829 Fix Syntax Error for IAR & ARMCC 2019-05-03 12:24:48 +01:00
fred.li c3efc6e28f PDMC support for ARMCC and IAR 2019-05-03 12:24:48 +01:00
fred.li 1cfdbfd43f Remove invalid device_name 2019-05-03 12:24:48 +01:00
fred.li ae0f05f3be Add configuration to support PDMC compile Configurable flash size for UNO_91H 2019-05-03 12:24:48 +01:00
Martin Kojtal 01391fa85a SDP_K1: Fix year change in the system clock 2019-05-03 12:24:48 +01:00
Malavika Sajikumar 0ab7ad99e3 Fixing alignment. 2019-05-03 12:24:48 +01:00
Malavika Sajikumar a182558ff3 AWAKE signal turned on at system init for SDP-K1 board.
- Setting AWAKE signal high in the SystemInit() to ensure VIO supply to daughter boards through SDP and Arduino connectors.
2019-05-03 12:24:48 +01:00
Malavika Sajikumar 45a2952fec Improvements made to PinNames.h of SDP-K1 board.
PinNames.h:
- Removing definition of Status LED.
- Redefining SPI and I2C pin names using Arduino pins names.
2019-05-03 12:24:48 +01:00
Ryan Morse 697b46ca4a Added support for QSPI to Cypress Boards 2019-05-03 12:24:48 +01:00
Yossi Levy b5e406ae64 When reading ROT from KVStore the return ROT key size was ignored 2019-05-03 12:24:48 +01:00
Laurent Meunier dba7b428e1 STM32F303RE: Activate FLASHIAP 2019-05-03 12:24:48 +01:00
Alexander Zilberkant 932aebe5b3 Add Cortex-M33E to cpu conversion table for ARMC6 2019-05-03 12:24:48 +01:00
Alexander Zilberkant 6d4b905279 Handle Cortex-M33E no-fpu flags
Add compilation "-mfpu=none" flag for Cortex-M33E.
2019-05-03 12:24:48 +01:00
Oren Cohen bdb63a0713 Fix armclang fpu detection 2019-05-03 12:24:48 +01:00
ccli8 7e68ec0cb9 Support crash capture for no-XRAM configuration 2019-05-03 12:24:48 +01:00
Russ Butler dec36ab0b4 Fix USB control transfers using small size
Fix support for wMaxPacketSize values other than 64 for endpoint 0.
2019-05-03 12:24:48 +01:00
JarekParal 90ea0927d1 Fix code alignment 2019-05-03 12:24:48 +01:00
JarekParal 228a902a6e Add missing ADC pins mapping for FRMD-K66F 2019-05-03 12:24:48 +01:00
Oren Cohen a9ac8f5f3c Call psa_spm_init() before staring the NS core 2019-05-03 12:24:48 +01:00
fred.li 31a3e68fc1 remove blank line 2019-05-03 12:24:48 +01:00
fred.li 807ed533f6 Size should be calculate after confirm the start address 2019-05-03 12:24:48 +01:00
Maciej Bocianski 63f1bd77c8 fix usb msd test python dependencies 2019-05-03 12:24:48 +01:00
Veijo Pesonen 134542eb57 Wi-SUN: adds greentea test config 2019-05-03 12:24:48 +01:00
Kimmo Vaisanen d5889859c7 Cellular: Add description for CellularProperty 2019-05-03 12:24:48 +01:00
Steven Cooreman 8347708f33 Remove sleep lock/unlock from HAL
The sleep locking/unlocking is taken care of by the layer above (driver).
2019-05-03 12:24:48 +01:00
Brian Daniels b99f3c1549 Fix for downloading the wrong binary in the online compiler 2019-05-03 12:24:48 +01:00
Oren Cohen 61b441e57f Update commit sha's 2019-05-03 12:24:48 +01:00
Oren Cohen 6c2e6f5182 TF-M patch: Add necessary include in tfm_ns_lock.h 2019-05-03 12:24:48 +01:00
Michael Schwarcz 251b4c1d6b 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-05-03 12:24:48 +01:00
Michael Schwarcz 958898268f 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-05-03 12:24:48 +01:00
Michael Schwarcz 4dec7f7253 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-05-03 12:24:48 +01:00
Michael Schwarcz 60b0626740 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-05-03 12:24:48 +01:00
Michael Schwarcz f6d58821ff 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-05-03 12:24:48 +01:00
Michael Schwarcz 1f5fbef8ea 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)
(cherry picked from commit 185d2865da)
2019-05-03 12:24:48 +01:00
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