Mika Leppänen
46bcbf2a28
Added json options for nanostack heap statictics
...
Added configuration options to mbed-mesh-api mbed_lib.json to enable
nanostack nsdynmemLIB heap statistics.
2018-07-04 10:35:35 +03:00
Kevin Bracey
0f98338153
Improve efficiency and formatting of ITM output
...
SerialWireOutput was outputting 1 character per 32-bit write to the
ITM stimulus port. This is inefficient, and causes processing problems
with some viewers due to them receiving 3 NUL bytes between each
desired character.
Rework to allow us to be more efficient, and eliminate those NUL bytes:
* Retain existing mbed_itm_send() and clarify it's a single 32-bit write.
* Add new mbed_itm_send_block() that is appropriate for sending
character data, and modify SerialWireOutput to use it.
* Move "wait for FIFO ready" check to before the write, rather than
after.
One minor correction - FIFOREADY is a single bit of the register read.
Don't interpret reserved bits.
2018-07-04 10:16:28 +03:00
Mika Leppänen
83a82d31e0
Modified Wiced drivers EMAC instance get
...
Removed EMAC get_default_instance() since WLAN drivers are not default EMAC drivers.
Moved EMAC static declaration inside get_instance().
2018-07-04 09:44:28 +03:00
Brendan McDonnell
efc03293dd
FatFs 0.13b hotfix - fix readdir() never terminates when dir is full.
...
http://elm-chan.org/fsw/ff/patches.html
http://elm-chan.org/fsw/ff/ff13b_p1.diff
https://github.com/ARMmbed/mbed-os/issues/5780
2018-07-03 17:03:35 -04:00
Senthil Ramakrishnan
a443e9bb47
Fix wrong config binding
2018-07-03 14:00:46 -05:00
Jimmy Brisson
b56a7a6a5a
Move exporter alias handling into CLI
2018-07-03 13:56:23 -05:00
Jimmy Brisson
e53537c267
Use defaultdict in the other place
2018-07-03 10:03:27 -05:00
Cruz Monrreal
f12afde757
Merge pull request #7403 from codeauroraforum/Fix_LPC546XX_UART
...
LPC546XX: Fix UART mux setting in the LPCXpresso board
2018-07-03 07:38:22 -05:00
Cruz Monrreal
b50f09d57d
Merge pull request #7384 from OpenNuvoton/nuvoton_fix_mbr_memleak
...
Fix memory leakage with MBR on exiting error path
2018-07-03 07:37:43 -05:00
Cruz Monrreal
7e0f75e831
Merge pull request #7331 from TomoYamanaka/improve_bootloader
...
Improve the process for Cortex-A9 in mbed_application
2018-07-03 07:37:19 -05:00
Cruz Monrreal
9c4c630356
Merge pull request #7367 from theotherjimmy/check-arm-component
...
Tools: Detect Arm Compiler version using Component
2018-07-03 07:35:57 -05:00
ccli8
13fec628d0
[NANO130] Change PLL clock source to HIRC instead of HXT
...
This change is to reduce delay of wake-up from power-down to pass Greentea test.
Because HIRC's accuracy is worse than HXT's, we must switch back to HXT for e.g. USBD application.
This can be done through setting NU_CLOCK_PLL to NU_HXT_PLL.
2018-07-03 15:37:53 +08:00
Marcus Chang
3f28fe2f54
Fix target definition for NRF52 series
...
* Removed RTC, NRF52840 doesn't support RTC API.
* Reorganized DEVICE_HAS order for NRF52832.
2018-07-02 16:58:33 -07:00
Mahesh Mahadevan
34dab4a4d9
LPC546XX: Fix UART mux setting in the LPCXpresso board
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-02 15:16:57 -05:00
Marcus Chang
a0224ed794
Fix interrupt initialization for NRF52 series
...
In some cases the UARTE interrupt would be enabled with pending
interrupts. This commit ensures that interrupts are only enabled
from a known state.
2018-07-02 11:13:50 -07:00
Hasnain Virk
bf78e264c8
Bug fix for receive windows
...
In rx_config(params) API we shouldn't check for radio state as radio may never get
idle for a class C device. That check made sense only for class A. As the PHY layer
have no conecpt of receive windows which is a MAC layer construct, we should remove the
state check.
The API will be changed later to void rx_config(params).
In addition to that another bug is fixed in the open_rx2_windows() API. We should set the rx slot
first before instantiating a test based on its value.
2018-07-02 18:42:21 +03:00
Martin Kojtal
226e799d5b
Merge pull request #7389 from artokin/update_libservice
...
Update nsdynmemlib in frameworks/nanostack-libservice
2018-07-02 17:32:23 +02:00
Martin Kojtal
40058871de
Merge pull request #7008 from 0xc0170/fix_drivers
...
AStyle : drivers/hal/platform folders update
2018-07-02 17:30:07 +02:00
Martin Kojtal
2353e7b1c6
Merge pull request #7029 from OpenNuvoton/nuvoton_5.9_ticker
...
Nuvoton: Adhere to reworked ticker spec to release with Mbed OS 5.9
2018-07-02 17:28:11 +02:00
Martin Kojtal
20adbf0c05
Merge pull request #7239 from TeroJaasko/let_config_remove_dns_cache_code
...
netsocket: dns: make dns-cache-size:0 remove whole DNS cache code
2018-07-02 17:26:46 +02:00
Martin Kojtal
3ee8f3214f
Merge pull request #7348 from hasnainvirk/doc_fix
...
LoRaWAN: Correcting doxygen
2018-07-02 17:24:52 +02:00
Martin Kojtal
44acaf587b
Merge pull request #7369 from marcuschangarm/fix-nrf52-serial
...
Fix race condition in serial_api.c for NRF52 series
2018-07-02 17:24:16 +02:00
jeromecoutant
40da60b959
DISCO STM32L4 : Add TWO_RAM_REGIONS macro
2018-07-02 14:03:05 +02:00
Maciej Bocianski
cc6f4c5a66
add kernel ticker test
2018-07-02 13:48:06 +02:00
Arto Kinnunen
3d5010de12
Merge commit 'a184ff592b547f153aa14c99329f65fd18515b0d'
...
* commit 'a184ff592b547f153aa14c99329f65fd18515b0d':
Squashed 'features/frameworks/nanostack-libservice/' changes from ddd45db..2705b9b
2018-07-02 13:15:58 +03:00
Arto Kinnunen
a184ff592b
Squashed 'features/frameworks/nanostack-libservice/' changes from ddd45db..2705b9b
...
2705b9b Add IPv4 string conversion utils
8978dac Add API to set temporary allocation heap limit (#70 )
86fa01c Update max heap size to use size_t (#68 )
9808289 nsdynmemlib: silence IAR warnings caused by gotos skipping variable init
git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 2705b9b93877f18828106df80af5b8c1c441e713
2018-07-02 13:15:57 +03:00
bcostm
b6beb74d9d
DISCO_L496AG: update LEDs comments in PeripheralPins.c
2018-07-02 10:27:23 +02:00
bcostm
a9ba4f9bf5
DISCO_L496AG: change LED1 and LED2 pins
2018-07-02 10:20:49 +02:00
PHST
9d9db81841
Make clock source changeable over mbed_app.json
...
By adding the missing include the clock source for EFM32-Targets is changeable over mbed_app.json.
2018-07-02 10:04:05 +02:00
ccli8
7cc1245308
Fix memory leakage with MBR on exiting error path
2018-07-02 11:29:29 +08:00
Cruz Monrreal
2da597e56a
Merge pull request #7326 from bcostm/dev_lpuart1_clock_source
...
STM32: add lpuart_clock_source config
2018-06-29 20:09:09 -05:00
Cruz Monrreal
58b725be85
Merge pull request #7359 from u-blox/sim_pin_init
...
Cellular: EasyCellularConnection::connect doesn't have any check that "CellularConnectionFSM" object is created or not
2018-06-29 20:08:16 -05:00
Cruz Monrreal
72684e3a2e
Merge pull request #7370 from jeromecoutant/PR_PERIPPINO
...
build_api.py : add comment about separate_names
2018-06-29 20:07:20 -05:00
Cruz Monrreal
c21a81062c
Merge pull request #7368 from theotherjimmy/incr-comp-symbols
...
Tools: Include Symbols in dependency list
2018-06-29 19:58:31 -05:00
Cruz Monrreal
f10bb88b97
Merge pull request #7294 from jeromecoutant/PR_GREENTEA_STAT
...
Add CPU stats for greentea tests
2018-06-29 19:57:42 -05:00
Amanda Butler
aa53ee6204
Copy edit LoRaWANBase.h
...
Copy edit for precise language and comma use.
2018-06-29 14:28:44 -05:00
Amanda Butler
563d742872
Copy edit LoRaWANinterface.h
...
Copy edit for precise language and comma use.
2018-06-29 14:27:45 -05:00
Jimmy Brisson
982d2085ef
Summarize memory map when --stats-depth is 0
2018-06-29 12:09:53 -05:00
Tero Jääskö
2e89fa22a5
netsocket: dns: make dns-cache-size:0 remove whole DNS cache code
...
Setting ""nsapi.dns-cache-size": 0" still left some of the DNS
caching code in. Add crude #if to remove all of it.
This allows one to save 429 bytes of flash and 48 bytes of RAM on
ARMC5 builds.
2018-06-29 18:17:19 +03:00
David Saada
1b5b8390ea
NVStore tests: Tune memory consumption; stop threads greafully
...
- Tune thread stack size in nvstore test using heap stats
- Stop threads gracefully instead of killing them (in multi-thread test)
2018-06-29 14:35:34 +03:00
Martin Kojtal
dd332471a8
test: fix os tick linkage
...
os_tick header file is C only, mangling would cause problems here
2018-06-29 11:43:26 +01:00
Martin Kojtal
fcadf0b4f7
tests: fix internal symbols from RTX
...
As we do not include rtx_lib header file anymore, these symbols are not available.
Use core util for if ISR is active. And for OS tick, pull in os_tick header file.
2018-06-29 11:43:25 +01:00
Martin Kojtal
97a3ca193e
boot: fix libspace num macro
...
RTX Config header file is internal and not exposed. With latest fixes to use
only public header files from RTX, we need to add these 2 new macros for
RTX ARMC lib configuration.
2018-06-29 11:43:17 +01:00
Martin Kojtal
ffcb6ecfb5
platform: astyle update
2018-06-29 10:38:44 +01:00
Martin Kojtal
483427a285
hal: astyle update
2018-06-29 10:36:36 +01:00
Martin Kojtal
d10e821272
AStyle: ignore hal storage abstraction
...
Deprecated API thus no changes there
2018-06-29 10:36:36 +01:00
Martin Kojtal
700e6df834
drivers: astyle update
2018-06-29 10:36:36 +01:00
bcostm
0c417ab8b7
astyle
2018-06-29 10:12:40 +02:00
Martin Kojtal
58fa28b9b2
Merge pull request #7313 from mprse/NRF52840_ticker_width_fix
...
NRF_52840: Fix us ticker counter size
2018-06-29 10:10:40 +02:00
bcostm
9be8541a30
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-06-29 10:10:29 +02:00