Commit Graph

25565 Commits (mbed-os-5.13)

Author SHA1 Message Date
Martin Kojtal 1bf6b20df9
Merge pull request #11308 from ARMmbed/release-candidate
Release candidate for mbed-os-5.13.4
2019-08-26 10:03:59 +02:00
adbridge 75ca176183 Revert "Add Unittest equeue tests"
This reverts commit 7ea8e0e89a.
2019-08-23 14:33:43 +01:00
Reda Maher 42db954d06 Add Riot Micro cellular module targets 2019-08-23 11:58:21 +01:00
Reda Maher d81b1cfa97 Cellular: Support Riot Micro cellular device 2019-08-23 11:58:21 +01:00
adbridge 5fa34b387a Update Mbed version block 2019-08-23 11:41:11 +01:00
Mahesh Mahadevan fddc2b1dd5 MCUXpresso: Update EDMA drivers to fix warnings
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan 1d9b067212 MCUXpresso: Update the SDK LPUART drivers
Use the latest driver from K66F

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan eda75fd02a MCUXpresso: Update I2C SDK driver
Use the K66F driver that has the latest

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan 8022ca918f MCUXpresso: Update SDK EDMA driver
Update to the latest version from K66F

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan cc70640ff4 MCUXpresso: Use SDK API for spi_master_block_write
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan 5691fc3b76 MCUXpresso: Update Kinetis SPI SDK drivers
Added dummy data setup API to allow users to configure
the dummy data to be transferred.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan 6b846f8fea MCUXpresso: Update Kinetis DSPI SDK drivers
- Added dummy data setup API to allow users to configure
  the dummy data to be transferred.
- Added new APIs for half-duplex transfer function. Users
  can send and receive data by one API in the polling/interrupt/EDMA way,
  and they can choose either to transmit first or to receive first.
  Additionally, the PCS pin can be configured as assert status in
  transmission (between transmit and receive) by setting the
  isPcsAssertInTransfer to true.
- Fix for MISRA issues

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
Janne Kiiskila 33e971170c IAR / FATFS - Pe029 error
IAR compilation fails at `_fs = { 0 };` due to

```
[Error] FATFileSystem.cpp@285,0: [Pe029]: expected an expression
```

Changing that object initializer list instead, as that seems
to pass IAR compilation, too.

Changed original memset to object initialiser list based on review
feedback from Kevin Bracey.
2019-08-23 11:41:08 +01:00
Janne Kiiskila f2c0a240e8 FATFS - Fix copyright year
It's 2019 now.
2019-08-23 11:41:08 +01:00
Jarkko Paso 7125683fc6 hal fhss timer: all static functions inside anonymous namespace 2019-08-23 11:41:08 +01:00
Jarkko Paso e5df7ff973 hal fhss timer: removed unnecessary and potentially unsafe memset 2019-08-23 11:41:08 +01:00
Chris Snow d66621e85d remove CAN section form .ANY 2019-08-23 11:41:08 +01:00
Chris Snow 53153ffa08 Make use of the other 32K of RAM if not used by libraries, least priority is IRAM1 to help maximise heap availability. Most beneficial when LWIP is not in use. 2019-08-23 11:41:08 +01:00
Mahesh Mahadevan e78399db99 K22F: Add FlashIAP for storage
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
int_szyk a59ad17d7a Tweak stm_spi_api Coverity issue.
Coverity warining: "memset fill truncated (NO_EFFECT)".
Changed SPI_FILL_WORD to SPI_FILL_CHAR.
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan 6fb66f7ad8 K22: Add USBDEVICE support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:41:08 +01:00
int_szyk 02822d33ca Fix Coverity uninitialized pointer field Thread.h
Changed _obj_mem to be initialized with constructor of new thread.
2019-08-23 11:41:08 +01:00
Mahesh Mahadevan 95b4c7c03c NXP MCUXpresso: optimize us_ticker for LPC platforms
Provide new optimizations for us_ticker and wait_us.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Ryan Vasquez 3b808a59ef corrected the Callback function call in attach, minor type in the USBserial library 2019-08-23 11:37:41 +01:00
Mahesh Mahadevan 0eaf1c66bf MCUXpresso: Add TICKLESS support for LPC platforms
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Antti Yli-Tokola c5000e4968 Update mbed-coap to version 4.8.1
- Store ACK's also into duplicate info list.
- ROM size optimization. Flash size has gone down ~1100 bytes.

**Closed issues:**
-  IOTCLT-3592 - Client does not handle Duplicate ACK messages during blockwise registration correctly
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan 4826098778 K64F: Update UART aynchronous API for tickless implementation
Do not allow entry to deep sleep mode when UART transfer is active

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan d079914242 K64F: Update SPI aynchronous API for tickless implementation
Do not allow entry to deep sleep mode when SPI transfer is active

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan 37909ebb46 MCUXpresso: Update KW41 nanostack drivers to not enter deep sleep when active
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan c32f955426 MCUXpresso: Update ENET drivers to not enter deep sleep when active
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan 43dc222691 MCUXpresso: Provide an API to wait till TX complete
Wait till the data is flushed out of TX buffer

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan c7ee9fa3e2 MCUXpresso: Updated SMC SDK driver
Update includes allocating RAM region for code to enter
stop modes and execute this code in RAM, thus the flash
is idle and no prefetch is performed while entering stop
mode.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan b31be14eed MCUXpresso: Update Kinetis Sleep implementation
1. Use the updated API's provided by the SMC driver
2. Wait till debug UART has finished transmitting data

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Mahesh Mahadevan aaf7a13311 NXP: Enable MBED_TICKLESS on various NXP platforms
Enable for K22F, K64F, K66F, K82F, KL82Z, KW24D, KW41Z, MIMXRT1050, HEXIWEAR

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-23 11:37:41 +01:00
Vincent Veron e7716aef26 Move stm32xx_emac_config.h to family specific folder
This allows to specify which hal version to use for each family.
It can also be used to modify the thread stack size.

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-23 11:37:41 +01:00
Vincent Veron f8b60dfcf6 lwip: STM32H7: specify heap location
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-23 11:37:41 +01:00
Vincent Veron fd70de0c86 STM32H7 : update linker script files to use right location for lwip_ram_heap
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-23 11:37:41 +01:00
Vincent Veron d7b0d236fe Add EMAC support for NUCLEO_H743ZI
This port is based on :
    * CurryGuy ethernet branch :
        https://github.com/CurryGuy/mbed-os/tree/feature-stm32h7-emac
    * STM32 Cube example :
        Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS example

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-23 11:37:41 +01:00
Dominika Maziec 5edea42b6f Greentea testing wifi connect nonblocked 2019-08-23 11:37:41 +01:00
Paul Szczepanek 4572cf1757 add comments 2019-08-23 11:37:41 +01:00
paul-szczepanek-arm 26fd68a026 add nonscannable connectable type 2019-08-23 11:37:41 +01:00
int_szyk 9cd2473caa Tweak STM watchdog implementation
Change the calculation method of rl so it is rounded up.
2019-08-23 11:37:41 +01:00
Szymon Kwiatkowski 7ea8e0e89a Add Unittest equeue tests 2019-08-23 11:37:41 +01:00
Vairamuthu Ramasamy 73d658d9a4 Updated nvram image for target CY8CMOD-062S2-43012 2019-08-23 11:37:41 +01:00
Teijo Kinnunen 01a88ac4f7 LoRaWAN: Terminate RX when receiving uplink messages
This prevents RX2 window to be enabled at the same time when repeating
transmission, when QoS repeated TX is in effect. Failure to do so
seems to place the LoRaWAN stack in a state where send() always fails
with WOULD_BLOCK error.
2019-08-23 11:37:41 +01:00
int_szyk aabd531d58 Fix TT_M3HQ build problem with SPI 2019-08-23 11:37:41 +01:00
int_szyk 08ffeba05d fix TT_M3HQ build problem with i2c 2019-08-23 11:37:41 +01:00
int_szyk a94c62267c Remove SERIAL_FC from target.json on TT_M3HQ
Development board TT_M3HQ doesn't have CTS/RTS on its pinout.
If that is not the case PinMap_UART_RTS should be created.
2019-08-23 11:37:41 +01:00
Chris Snow 4fc9190abf SPDX identifier and license amended 2019-08-23 11:37:41 +01:00
Chris Snow f077e992ab Enable WATCHDOG and RESET_REASON for other LPC1768 targets 2019-08-23 11:37:41 +01:00