Commit Graph

16921 Commits (4dfc20ccd80fdab01bd5d8947e7e52152613bc86)

Author SHA1 Message Date
Jimmy Brisson 4dfc20ccd8 Use defaultdict in the other place 2018-07-15 22:53:31 -05:00
Jimmy Brisson 573fd4f739 Summarize memory map when --stats-depth is 0 2018-07-15 22:53:31 -05:00
bcostm 57762fbab8 DISCO_L496AG: update LEDs comments in PeripheralPins.c 2018-07-15 22:53:30 -05:00
bcostm 1c26b2efc2 DISCO_L496AG: change LED1 and LED2 pins 2018-07-15 22:53:30 -05:00
Maciej Bocianski cef5dbb22e add kernel ticker test 2018-07-15 22:53:30 -05:00
Mahesh Mahadevan 8cb0baf73b LPC546XX: Fix UART mux setting in the LPCXpresso board
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-15 22:53:30 -05:00
ccli8 6de4b3532c Fix memory leakage with MBR on exiting error path 2018-07-15 22:53:30 -05:00
TomoYamanaka 83cd02e501 Improve the process for Cortex-A9 in mbed_application
I added the powerdown func by GIC in mbed_application because Cortex-A9 use GIC instead of NVIC.
This process prevent unexpected interrupt when updating software by using bootloader.
2018-07-15 22:53:30 -05:00
Jimmy Brisson 5773e80bb5 Add a test for MDK pro version detection 2018-07-15 22:53:30 -05:00
Jimmy Brisson cff8651863 Use Component section for ARM compiler version 2018-07-15 22:53:30 -05:00
Martin Kojtal e2ee137cb7 platform: astyle update 2018-07-15 22:53:30 -05:00
Martin Kojtal 5db427a77f hal: astyle update 2018-07-15 22:53:30 -05:00
Martin Kojtal fd528ff6a9 AStyle: ignore hal storage abstraction
Deprecated API thus no changes there
2018-07-15 22:53:30 -05:00
Martin Kojtal aad7092798 drivers: astyle update 2018-07-15 22:53:19 -05:00
ccli8 e80622b60d Synchronize lp_ticker code to us_ticker
This is to make us_ticker/lp_ticker code consistent.
2018-07-15 22:53:19 -05:00
ccli8 70a1e3ab1e Remove special handling for dummy interrupt in lp_ticker
It is because dummy interrupt is very rare or pending time caused by it
is very short.
2018-07-15 22:53:19 -05:00
ccli8 afe5c7d4af Synchronize lp_ticker code to us_ticker
This is to make us_ticker/lp_ticker code consistent.
2018-07-15 22:53:19 -05:00
ccli8 acef3f6375 Fix trap in lp_ticker ISR with non-blocking "clear interrupt flag" 2018-07-15 22:53:19 -05:00
ccli8 e20d259ddf Synchronize lp_ticker code to us_ticker
This is to make us_ticker/lp_ticker code consistent.
2018-07-15 22:53:19 -05:00
ccli8 6e808c7668 Reduce blocking code in lp_ticker
1. Introduce S/W interrupt enable/disable to reduce calls to TIMER_EnableInt/TIMER_DisableInt.
2. Allow dummy interrupt because clear interrupt flag is not synchronized.
3. Enable LPTICKER_DELAY_TICKS to make lp_ticker_set_interrupt non-blocking.
2018-07-15 22:53:19 -05:00
ccli8 65a15a3dd3 Fix Greentea test code
Mark mbed-os-tests-mbed_hal-common_tickers/time_cpu_cycles not in-lined.
Otherwise, time_cpu_cycles may be in-lined somewhere and takes different
CPU cycles on invocation.
2018-07-15 22:53:03 -05:00
ccli8 3034630f20 Adjust static/dynamic memory allocation for IAR toolchain to pass Greentea test 2018-07-15 22:53:03 -05:00
ccli8 3bacccb42f Fix CLK_Idle incorrectly enters into deep sleep mode
This can happen with CLK_PowerDown() called first and then CLK_Idle() called.
2018-07-15 22:53:03 -05:00
ccli8 95d0e51fce Meet new lp_ticker HAL spec (Mbed OS 5.9)
1. Add LPTICKER in device_has option of targets.json file.
2. Disable ticker interrupt in lp_ticker_init
3. Add lp_ticker_free
4. Enable interrupt in lp_ticker_set_interrupt
2018-07-15 22:53:03 -05:00
ccli8 ae68c9a707 Meet new us_ticker HAL spec (Mbed OS 5.9)
1. Add USTICKER in device_has option of targets.json file.
2. Disable ticker interrupt in us_ticker_init
3. Add us_ticker_free
4. Enable interrupt in us_ticker_set_interrupt
2018-07-15 22:52:48 -05:00
Tero Jääskö 7e68ac09e6 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-07-15 22:48:50 -05:00
Amanda Butler 1f155291be Copy edit LoRaWANBase.h
Copy edit for precise language and comma use.
2018-07-15 22:48:50 -05:00
Amanda Butler 59097d0611 Copy edit LoRaWANinterface.h
Copy edit for precise language and comma use.
2018-07-15 22:48:50 -05:00
Hasnain Virk 62165514ee Correcting doxygen
Use of MSG_FLAGS was updated in previous PRs but the doc was not updated
accordingly.
2018-07-15 22:48:50 -05:00
Marcus Chang 6166005eaa Fix typo in NRF52 series README.md
UART configuration parameters mispelled.
2018-07-15 22:48:50 -05:00
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