Commit Graph

17291 Commits (mbed-os-5.9)

Author SHA1 Message Date
Marcus Chang e409f48bba Fix race condition in serial_api.c for NRF52 series
* Elevate RTC2 interrupt priority to same level as UARTE to prevent
race condition on shared variables.
* Remove unused TXDRDY event code.
* Fix typo in macro.
2018-07-15 22:48:50 -05:00
bcostm 21fe483b71 astyle 2018-07-15 22:48:50 -05:00
bcostm ca4fd714a1 STM32: add lpuart_clock_source config
Keep same clock configuration as done before this PR (LSE and PCLK1).
Use a JSON file to change it.
2018-07-15 22:48:50 -05:00
mudassar-ublox 603adcfade Cellular: Fixed set_sim_pin method calling 2018-07-15 22:48:50 -05:00
jeromecoutant b567934ef0 build_api.py : add comment about separate_names 2018-07-15 22:48:50 -05:00
Jimmy Brisson f32d86f4ff Include symbols in dumped build profiles
This will make incremental compile more complete, taking device_has and
inheritance hierarchy into account.
2018-07-15 22:48:50 -05:00
Cruz Monrreal 62f8b922b4
Merge pull request #7375 from ARMmbed/release-candidate
Release candidate for mbed-os-5.9.2
2018-06-29 17:29:53 -05:00
adbridge a2d763f734 Update Mbed version block for patch release 2018-06-29 17:11:51 +01:00
Przemyslaw Stekiel 126bf17ff4 NRF_52840: Fix us ticker counter size
It has been noticed that there is a problem with us ticker on NRF_52840 board after 32 bit counter has been used for us ticker on NRF52 family boards.
Currently NRF52 symbol is defined only for MCU_NRF52832 (not for MCU_NRF52840) and based on this symbol 16 or 32 bit counter is selected (16 bit for NRF51 family and 32 for NRF52 family).
Since MCU_NRF52840 defines NRF52840_XXAA and provides 32 bit counters, 32 bit counter should be selected also when NRF52840_XXAA symbol is defined.
2018-06-29 17:11:50 +01:00
Deepika 6bd22583a9 Remove semicolon at the end of #define 2018-06-29 17:11:50 +01:00
jeromecoutant 6eb564f434 STM32 serial RX/TX active patch
In serial_tx_active and serial_rx_active functions,
we check the internal state value with

HAL_UART_STATE_BUSY_TX = 0x21U,
HAL_UART_STATE_BUSY_RX = 0x22U,

It seems that value can also be :
HAL_UART_STATE_BUSY_TX_RX = 0x23U,
2018-06-29 17:11:50 +01:00
Senthil Ramakrishnan 3df882762d Fix tool crashing when lines end with cr(not crlf) 2018-06-29 17:11:50 +01:00
Senthil Ramakrishnan 6b5c796ce2 Fix error history related comments 2018-06-29 17:11:50 +01:00
jeromecoutant bcc532d4a6 build_api script : separate PeripheralPins.o 2018-06-29 17:11:50 +01:00
Hasnain Virk 0d2e199280 LoRaWAN: Fixing transport of fatal TX timeout event
This commit fixes the issue reported in #7285.
If the radio is unable to transmit, its a fatal error and can happen
both while joining or sending a normal packet. In the case of such
a catastrophy we ought to tell the application that this happened.

A fix for the radio driver will also be patched.
2018-06-29 17:11:50 +01:00
jeromecoutant 8397a9d38b TARGET_STM USB astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 5612dac3b7 TARGET_STM_EMAC astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 66a099867e TARGET_STM mbedtls astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 77cb1ccc03 TARGET_STM32L4 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 2e54baa03d TARGET_STM32L1 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 91e7db00a6 TARGET_STM32L0 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 7fa433d75d TARGET_STM32F7 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant b6cbec8a30 TARGET_STM32F4 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant f5830bf143 TARGET_STM32F3 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant b3292e2b2a TARGET_STM32F2 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 56975a54fe TARGET_STM32F1 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant a4970221bf TARGET_STM32F0 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 91c3b4dc8f TARGET_STM astyle 2018-06-29 17:11:50 +01:00
Kari Haapalehto f01cd413fa Cleaning MTB_USI_WM_BN_BM_22, MTB_ADV_WISE_1530 and MTB_MXCHIP_EMW3166 targets These wiced targets are not supported at mbed-os 2 release, so removing "2" from release_versions. LWIP feature flag removed, since it isn't needed anymore. EMAC removed from device_has_add, since it isn't needed with these targets. "network-default-interface-type": "WIFI" has been added. 2018-06-29 17:11:50 +01:00
Teppo Järvelin 92eab0f99f Cellular: improved observing of disconnect for callbacks. 2018-06-29 17:10:17 +01:00
Marcus Chang 00a0c81217 Improve serial performance for NRF52 series
Time sensitive user callbacks are called through lowest priority
SWI handlers instead of the highest priority UART handler.
2018-06-29 17:10:17 +01:00
Marcus Chang f4aa4ff082 Make serial_putc non-blocking for the NRF52 series
Previous implementation would block until character had been
completely sent, which is not what the API specifies.
2018-06-29 17:10:17 +01:00
Marcus Chang e2ab561e3d Remove whitespace from NRF52 serial_api.c 2018-06-29 17:10:17 +01:00
Antti Yli-Tokola 88798899ae Update mbed-coap to version 4.5.0
Fix error:  IIOTCLT-2769 - mbed-coap: extra response received after registration

Added own flag to enable blockwise support, without setting default blockwise
payload size. This allows to receive blockwise messages while still sending
without blockwise.

Fix CoAP request blockwise response handling
When request is sent, response can have blockwise option set. All requests must
be stored to the linked list.
2018-06-29 17:10:17 +01:00
Jimmy Brisson f73f8d5a53 Test and correct GCC version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson e36bd9fe0f Test IAR version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson 9f74d641f0 Test and correct ARMCC version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson 7122a538c3 Check for no match in version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson 081fc8eac2 Escape '.' in regex 2018-06-29 17:10:17 +01:00
Jimmy Brisson 6e71c4ceba Search all stdout for version regex; check > 1 matches 2018-06-29 17:10:17 +01:00
Jimmy Brisson efcba8830e Improve ARM compiler regex 2018-06-29 17:10:17 +01:00
Jimmy Brisson c17a5d9c1b Use Non-blocking Error and LooseVersion 2018-06-29 17:10:17 +01:00
Jimmy Brisson 53083b7456 Check version of Mbed CLI compile 2018-06-29 17:10:17 +01:00
Boting Ren 5570782b04 fix LED_RED mapping on NUCLEO_F429ZI 2018-06-29 17:10:17 +01:00
Teppo Järvelin 90f67902ba Cellular: review fixes for cellularinformation tests. 2018-06-29 17:10:17 +01:00
Teppo Järvelin 789a1c1720 Cellular: added greentea tests for CellularInformation. 2018-06-29 17:10:17 +01:00
Teppo Järvelin 7e82eb5647 Cellular: added more CellularInformation unit tests. 2018-06-29 17:10:17 +01:00
Cruz Monrreal II 85352128d3 Moved the sourcing of the astyle archive to AWS from SourceForge. SF has been failing intermitantly, and appears to not explicitly allow the automatic downloading of archives. 2018-06-29 17:10:17 +01:00
Christopher Haster 69ed638e2e Fixed issue with MBR init asserting on bad partition size 2018-06-29 17:10:17 +01:00
TomoYamanaka 8528353acc Modify RAM size definition of ARMCC for GR-LYCHEE
I modified RAM size of ARMCC compiler for GR-LYCHEE.
In case of GR-LYCHEE, RAM size is 3M Byte(including Non-Cache area), but there was a typo at MACRO definition.
2018-06-29 17:10:17 +01:00