Commit Graph

17259 Commits (mbed-os-5.9.6)

Author SHA1 Message Date
Amanda Butler 872810eb68 Copy edit LoRaWANBase.h
Copy edit file for minor grammar nits.
2018-08-23 16:58:10 -05:00
Kimmo Vaisanen 62bf677af4 Lora: Reformate LoRaWANBase documentation
- Modified "user" to "you"
- Modified line length to ~100 characters.
2018-08-23 16:58:10 -05:00
Amanda Butler 7ff245019e Copy edit LoraWANBase.h
Copy edit file, mostly for consistent U.S. spelling and precise language.
2018-08-23 16:58:10 -05:00
Kimmo Vaisanen a152a8536c Lora: Document all possible error codes for LoRaWANBase methods
Also duplicate documentation is removed from LoRaWANInterface which
inherits LoRaWANBase class.
2018-08-23 16:58:10 -05:00
jeromecoutant 9c0cdf7c36 STM32 : Sunday value is different for STM32F1 2018-08-23 16:58:10 -05:00
MateuszM e2bc97cedd fix formatting 2018-08-23 16:58:08 -05:00
MateuszM 7399b38675 Fix issue #5119, changed pwmout_api.
The period of pwm we could get was limited to 69.9 ms, because prescaler value was set once only during initialization. base->mod is a 16 bit register, to get longer period we have to slow down the clk.
2018-08-23 16:58:08 -05:00
Bence Kaposzta d8f3e5c3e3 Fix for CM3DS GPIO api 2018-08-23 16:58:08 -05:00
Naveen Kaje 3d5aed282e nrf_drv_twi: remove redundant nrf_drv_disable call in nrf_drv_twi_uninit
i2c_api implementation for NRF52 does a disable() followed by uninit().
The uniinit() implementation in NRF drivers layer makes another call to
disable. This throws off the state of the I2C instance leading to an
assert. Since the disable is only invoked from the I2C API layer for
Nordic, remove this redundant call.

Signed-off-by: Naveen Kaje <Naveen.Kaje@arm.com>
2018-08-23 16:58:05 -05:00
Kari Haapalehto 41574601c9 Update mesh_system_heap_error_handler to use new error codes and mbed_error call 2018-08-23 16:58:05 -05:00
Maciej Bocianski 972f450013 tests-mbed_drivers-timer: change delay method 2018-08-23 16:58:02 -05:00
Teppo Järvelin d7be0fa3ac Cellular: Fixed sms greentea by removing uncommon character set setting 2018-08-23 16:58:01 -05:00
Teppo Järvelin 1de940d1bc Cellular: Fixed sms greentea tests init
Fixed sms greentea tests by making sure that device is ready to accept
AT commands before sending them.
2018-08-23 16:58:01 -05:00
jeromecoutant 21f88d56b0 Timeout tests : unstable result
RTX waits, such as sem.wait(N), delays for between N-1 and N cycles.
As lp_ticker is not so accurate as us_ticker,
sometines, wait is expiring just before the lp_timeout.
2018-08-23 16:57:56 -05:00
Kari Haapalehto 55bc56dcae mbed-os-example_blinky didn't work with wise-1530, so MTB_ADV_WISE_1530 led configuration have been updated. Also minor update to MTB_MXCHIP_EMW3166 led configuration, led3 is now defined but not connected. 2018-08-23 16:57:51 -05:00
Cruz Monrreal f8b140f8d7
Merge pull request #7753 from ARMmbed/release-candidate
Release candidate for mbed-os-5.9.5
2018-08-13 18:28:27 -05:00
Jimmy Brisson 5dd290412c Stabilize macro ordering in mbed_config.h 2018-08-13 14:48:10 +01:00
adbridge 038365f048 Update Mbed version block 2018-08-13 14:44:33 +01:00
David Saada 68a1629085 Rename text region in ARM linker file for Renesas & Realtek boards 2018-08-13 14:44:27 +01:00
Jimmy Brisson 5769f52e03 Fix Microlib compatibility for -t ARM
Missing from common flags:
 * `-D__MICROLIB`
 * `--library_type=microlib`

This patch adds them
2018-08-13 14:44:27 +01:00
Mirela Chirica 5d46e285ca Cellular: WISE_1570's system clock back to HSE_XTAL 2018-08-13 14:44:27 +01:00
Senthil Ramakrishnan 4d5ee560f4 Update Lwip error calls to use new error codes and mbed_error call 2018-08-13 14:44:27 +01:00
Laurent Meunier a89e26c6a0 Use HAL coding style for function naming 2018-08-13 14:44:27 +01:00
Laurent Meunier 7c1942c1e5 STM32: check for UART ongoing transfers before entering deepsleep
As suggested by Russ Butler in mbed-os issue #7328, and until there is an
implementation of mbed-os issue #4408, we are implementing a workaround
at HAL level to check if there is any ongoing serial transfer (which happens
if HW FIFO is not yet empty).

In case a transfer is ongoing, we're not entering deep sleep and
return immediately.
2018-08-13 14:44:27 +01:00
paul-szczepanek-arm 37985e5912 factored out whole ediv rand check 2018-08-13 14:44:27 +01:00
paul-szczepanek-arm dbeded5fbb MACRO the size of rand 2018-08-13 14:44:27 +01:00
paul-szczepanek-arm 3bbdf3446d factor out invalid rand function 2018-08-13 14:44:27 +01:00
paul-szczepanek-arm 986c42233f replaced lesc field usage with ediv&rand check 2018-08-13 14:44:27 +01:00
paul-szczepanek-arm de9bb5dde5 call the correct ltk function when SC is used 2018-08-13 14:44:27 +01:00
Oren Cohen cea311d621 Fix owner restoration and discard across nvstore init 2018-08-13 14:44:27 +01:00
Martin Kojtal faaa14c458 iar: MK22F use xx12 Freescale for 7.80.x
This fixes the failure for IAR regarding floating point.
2018-08-13 14:44:27 +01:00
Martin Kojtal a261fe170a iar: kl43 - use nxp MCU definition 2018-08-13 14:44:27 +01:00
Martin Kojtal b9ab52e503 frdm-k22f: fix IAR definition
Based on the https://www.keil.com/boards2/nxp/frdm_k22f/ - it contains xxx12 MCU.
However IAR 7.80 has only xxx5 version, thus leaving NXP added version as xxx5.
2018-08-13 14:44:27 +01:00
Martin Kojtal 7461844ec0 iar: remove nxp duplicate definitions
Fixes #7634
2018-08-13 14:44:27 +01:00
Teemu Kultala 3608cc78ce sms gt tests: rebase and astyle fix 2018-08-13 14:44:27 +01:00
Teemu Kultala 7d2d835687 sms gt tests: changes after review 2018-08-13 14:44:27 +01:00
Teemu Kultala e837425f88 sms gt tests 2018-08-13 14:44:27 +01:00
Mahesh Mahadevan 935e07e031 MXRT1050_EVK: Enable Sleep function and add SKIP_SYSCLK_INIT macro
SKIP_SYSCLK_INIT prevents reinitializing the SYS_CLK PLL used by SDRAM.
This PLL is setup during bootup by the ROM code.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-13 14:44:27 +01:00
Mahesh Mahadevan 5d509d2e1e MXRT1050_EVK: Sleep: add pre/post processing steps
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-13 14:44:27 +01:00
Mahesh Mahadevan b1166d4696 MXRT1050_EVK: Ensure certain low power function are linked to internal memory
Low power functions related to powering off FLEXSPI and SDRAM needs
to be copied to internal memory

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-13 14:44:27 +01:00
Mahesh Mahadevan e517862601 MIMXRT1050_EVK: Add Low Power Manager files
This is needed to support different Low-Power modes available
in MXRT1050

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-08-13 14:44:27 +01:00
Martin Kojtal 4907f92603 events: astyle fix 2018-08-13 14:44:27 +01:00
Juha Ylinen 42bee88cec Nanostack: fix error code
Return NSAPI_ERROR_NO_MEMORY if socket->open() fails
2018-08-13 14:44:27 +01:00
Edmund Hsu 5aa9b38f24 Resolve adi_tmr_ConfigTimer api conflict in us_ticker.c for both EV_COG_AD4050LZ and EV_COG_AD3029LZ 2018-08-13 14:44:27 +01:00
Edmund Hsu 2992546906 Resolve adi_tmr_ConfigTimer discrepancy between __ADuCM4050__ and __ADuCM3029__ 2018-08-13 14:44:27 +01:00
Edmund Hsu 63223b5ec6 Disable unused Configuration data from compiler warning Add __ADuCM3029__ constants 2018-08-13 14:44:27 +01:00
Edmund Hsu 5f98d4dfe2 Add C++ linkage for adi_tmr.h 2018-08-13 14:44:27 +01:00
Edmund Hsu ded45f91cf Add __ADUCM4050__ and __ADUCM3029__ to include MCU specific configurations 2018-08-13 14:44:27 +01:00
bcostm d380a3572b STM32: remove uart force_reset at init 2018-08-13 14:44:27 +01:00
Martin Kojtal a84f6e9d81 PR template: fix target update list
Not only new target, any target update goes to own section. This covers
target updates to SDK, HAL implementation, target list, etc.
All these go to patch releases.
2018-08-13 14:44:27 +01:00