Jimmy Brisson
1b0f38d819
Add _RTX_ define where it's needed and used
2018-07-15 22:53:45 -05:00
Jimmy Brisson
44e2a009fd
Partial revert of "CMSIS/RTX: Adapt Mbed OS to CMSIS/RTX device support scheme"
2018-07-15 22:53:45 -05:00
Karl Zhang
7474daea2d
Flash API: Enable Flash api on CM3DS
...
Implement flash_api.c for CM3DS on MPS2+.
Because MPS2+ board has no physical flash chip, the implementation emulates
flash over SRAM.
2018-07-15 22:53:45 -05:00
Marcus Chang
e44efbb68e
Change NRF52 series UART to only use one SWI channel
...
This fixes conflicts with the SoftDevice.
2018-07-15 22:53:45 -05:00
Marcus Chang
542d7841cb
Fix inconsistent SWI configuration in NRF52 series
...
All SWI channels except SWI0 is being used by the SoftDevice and
not only SWI1.
2018-07-15 22:53:45 -05:00
Marcus Chang
a2e7424063
Remove white space in config files for NRF52 series
2018-07-15 22:53:45 -05:00
Senthil Ramakrishnan
3eaca32964
Remove error reporting for release builds
2018-07-15 22:53:45 -05:00
Senthil Ramakrishnan
c5a2f3c993
Don't print error reports in release builds
2018-07-15 22:53:45 -05:00
Kimmo Vaisanen
4deeb4c18b
Disable LSE for MTB_USI_WM_BN_BM_22
...
Current MTB_USI_WM_BN_BM_22 modules do not have OSC32_IN connected, so
external xtal is not in use.
2018-07-15 22:53:45 -05:00
Jimmy Brisson
f9c25ee769
Correct string usage in version checking
2018-07-15 22:53:45 -05:00
Mirela Chirica
0d52fc3a20
Cellular: More unit tests for ATHandler's read routines
2018-07-15 22:53:45 -05:00
Mirela Chirica
de2290aed6
Cellular: Fix for ATHandler's read string and hexstring NULL termination
2018-07-15 22:53:44 -05:00
Jimmy Brisson
acf278af52
Add aliases to example exporter options
2018-07-15 22:53:44 -05:00
Jimmy Brisson
63a075f497
Correct -E help
2018-07-15 22:53:44 -05:00
Jimmy Brisson
d6d3b51939
Correct argv usage
2018-07-15 22:53:44 -05:00
Jimmy Brisson
05bcc160c2
Simplify main function
2018-07-15 22:53:44 -05:00
Jimmy Brisson
cfcf9a1a18
Reformat part of project.py
2018-07-15 22:53:44 -05:00
Jimmy Brisson
3f0391984f
Move exporter alias handling into CLI
2018-07-15 22:53:44 -05:00
Jens Alfke
b0f31e38b5
Recognize ".cc" and ".hh" source file extensions
...
".cc" --> C++ source code
".hh" --> header
This change allows existing source code with this naming
convention (e.g. my company's) to be used in mbed.os projects.
2018-07-15 22:53:44 -05:00
bcostm
0f9a956799
save/restore timer registers before/after deepsleep
2018-07-15 22:53:31 -05:00
bcostm
c6ad478492
Use elapsed time only for 16bit timer
2018-07-15 22:53:31 -05:00
bcostm
f2d824adb4
Re-enable IT CC1 after deepsleep
2018-07-15 22:53:31 -05:00
bcostm
5bfabde855
HAL_GetTick returns elapsed time
2018-07-15 22:53:31 -05:00
bcostm
878ce6f72a
Use us_ticker_read while SDK is not ready
2018-07-15 22:53:31 -05:00
Brendan McDonnell
a65e92ea95
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-15 22:53:31 -05:00
Mahesh Mahadevan
fa73e7db49
MXRT1050: Ensure the pins are in input mode for analogin
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-15 22:53:31 -05:00
ccli8
98b0621377
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-15 22:53:31 -05:00
Mahesh Mahadevan
94a36b5a01
MIMXRT1050_EVK: Move clock enable after check of pin
...
Enable clock could return an error if pin is NC
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-15 22:53:31 -05:00
Mahesh Mahadevan
d8f9c98590
MIMXRT1050_EVK: Fix the GPIO IRQ number assignements
...
Use the GPIO_Combined IRQ array
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-15 22:53:31 -05:00
Kevin Bracey
b110ef4c1c
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-15 22:53:31 -05:00
Mika Leppänen
6cc1de13eb
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-15 22:53:31 -05:00
Senthil Ramakrishnan
3a01d3f469
Fix wrong config binding
2018-07-15 22:53:31 -05:00
Marcus Chang
dc297a3d0e
Fix target definition for NRF52 series
...
* Removed RTC, NRF52840 doesn't support RTC API.
* Reorganized DEVICE_HAS order for NRF52832.
2018-07-15 22:53:31 -05:00
Marcus Chang
7b7d9ccca6
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-15 22:53:31 -05:00
jeromecoutant
b77da51c2f
DISCO STM32L4 : Add TWO_RAM_REGIONS macro
2018-07-15 22:53:31 -05:00
PHST
9d1b292e8f
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-15 22:53:31 -05:00
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