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
paul-szczepanek-arm
0dbcf97742
set correct default privacy configuration for centrals
2018-08-13 14:44:27 +01:00
David Saada
f7b83f6e81
FlashIAP: Add timing test
2018-08-13 14:44:27 +01:00
deepikabhavnani
14e04bc9f4
Remove inclusion of mbed.h and mbed namespace from filesystem code
2018-08-13 14:44:27 +01:00
ccli8
1ca35fee1c
Organize file structure
...
This re-organization is to avoid duplicates regarding targets of the same MCU series.
2018-08-13 14:44:27 +01:00
TomoYamanaka
daf5b7785c
Renesas : Improve Flash iap
...
I modified the _page_program() because when the request of the size exceeding the maximum size(256 byte) per one writing of Flash recieved, it was not able to loop the writing with sifting the address every 256 byte.
Also I modified the return value of flash_get_page_size() because I found that the minimum size per one writing of Flash is 1 byte by reviewing Flash spec.
"FLASH_PAGE_SIZE" macro's value is remain 256, it doesn't be used at flash_get_page_size(), used at _page_program() for refferencing of the maximum page size.
2018-08-13 14:44:27 +01:00
Teppo Järvelin
5d516f5a0d
Cellular: fixed greentea tests C027 and BG96.
2018-08-13 14:44:27 +01:00
bcostm
96cc81412b
STM32F7: remove HAL_InitTick() declaration in us_ticker_data.h files
2018-08-13 14:44:27 +01:00
Edd Inglis
87d7b2b7fb
An incomplete connect (either abandoned with a disconnect() or just failed of its own accord) would prevent futher connect()'s due to the CONN_IN_PROGRESS_FLAG remaining set. This change clears that flag in the two cases described.
2018-08-13 14:44:27 +01:00
Brendan McDonnell
9222e972dc
fix comment copy/paste error
2018-08-13 14:44:27 +01:00
Martin Kojtal
6d75e61e63
cellular: fix tests that astyle breaks
...
Ignore TEST_GROUP by AStyle. As this uses macro, is not visible to formatter.
By default, it assumes it is a function and treats methods as blocks inside a
function (inlined {}). We ignore it.
We might just not format UNITTESTS in the future if we face similar issues
in the future.
2018-08-13 14:44:27 +01:00
Martin Kojtal
522ef29722
cellular: astyle fix
2018-08-13 14:44:27 +01:00
David Saada
a709e91920
Add init reference count to all block devices
2018-08-13 14:44:27 +01:00
David Saada
57bd7109f8
Skip a few tests if not enough memory can be allocated for them.
2018-08-13 14:44:27 +01:00
TomoYamanaka
b9bb017419
Add the clear process of "inited" flag in lp_ticker_free()
...
I added "lp_ticker_inited = 0" in lp_ticker_free() of lp_ticker.c, so
re-initialization will work.
2018-08-13 14:44:27 +01:00