Vincent Coubard
a6eefdfdcf
Nordic BLE: Add default parameter to get the local instance of nrF5xn
2018-06-29 17:10:17 +01:00
Vincent Coubard
c4ecbfb796
Nordic BLE: Improve return of nRF5xn::getGap.
...
Return the derived type instead of the abstract one. This is legal as C++ supports covariant returns.
2018-06-29 17:10:17 +01:00
Senthil Ramakrishnan
06b1ae5129
Limit error filename capture to 64 chars, wrapping tests with right configs and astyle fixes.
2018-06-29 17:10:17 +01:00
Senthil Ramakrishnan
25124032e5
Update exception handling code to remove dedicated fault safe printfs and use mbed_error_printf to optimize memory usage. Dedicated safe printfs were originally developed to print data over serial with minimal resources. But this adds more code space, so we are switching to use mbed_error_printf.
2018-06-29 17:10:17 +01:00
Senthil Ramakrishnan
f3406d24fc
Updates to configuration flags used in error handling implementation. The new configuration make Error history tracking switched off by default and enabled by using the config flag MBED_CONF_PLATFORM_ERROR_HIST_ENABLED. Config flag MBED_CONF_PLATFORM_ERROR_ALL_THREADS_INFO enables printing info of all threads. This will be turned off by default.
2018-06-29 17:10:17 +01:00
Teppo Järvelin
9527ab33a8
Cellular: fixed unit tests after rebasing with master.
2018-06-29 17:10:17 +01:00
Teppo Järvelin
0e4ca1c46b
Cellular: Added network unit tests.
2018-06-29 17:10:17 +01:00
Teppo Järvelin
440c10ad88
Cellular: added greentea tests for CellularNetwork.
2018-06-29 17:10:17 +01:00
TomoYamanaka
e2c2e3590c
Update arm pack manager for GR-PEACH
...
I changed the information("sectors" and "memory") of GR-PEACH for supporting bootloader in index.json file of arm pack manager.
2018-06-29 17:10:17 +01:00
TomoYamanaka
350980aedc
Fix definitions of IAR exporter for GR-PEACH and GR-LYCHEE
2018-06-29 17:10:17 +01:00
TomoYamanaka
10e9819c33
Add the process for Cortex-A in mbed_applicaion
...
I added the process for Cortex-A in mbed_application.c because this process was for only Cortex-M.
Also I enabled the macro of MBED_APPLICATION_SUPPORT for Cortex-A.
2018-06-29 17:10:17 +01:00
TomoYamanaka
c927369ee9
Update arm pack manager for GR-LYCHEE
...
I added the information of GR-LYCHEE for supporting bootloader in index.json file of arm pack manager.
2018-06-29 17:10:17 +01:00
TomoYamanaka
16f09712ee
Support Bootloader for GR-PEACH and GR-LYCHEE
...
The mainly changes is below:
- Update scatter file, linker file for bootloader support
- Update the file for RZ/A1 serial flash boot loader
- Add "device name" and "bootloader_supported" in targets.json
2018-06-29 17:10:17 +01:00
TomoYamanaka
a08c3ec5db
Support Flash iAP for GR-PEACH and GR-LYCHEE
...
The mainly changes is below:
- Add flash_api.c
- Add the definition of SPI multi I/O Bus controller that is used for flash access
- Add "FLASH" as device feature
- Add the macro regarding information of the incorporated Flash
- Add the processing to expand code to RAM
2018-06-29 17:10:17 +01:00
Deepika
1e92f0e8aa
Add names to idle/timer thread
2018-06-29 17:10:17 +01:00
Kari Haapalehto
b955eb7e49
Add binary drivers for MTB_USI_WM_BN_BM_22 and MTB_ADV_WISE_1530
2018-06-29 17:10:17 +01:00
Mahesh Mahadevan
f3207adac1
MIMXRT1050: Update to EVK Rev B
...
1. Add the IVT header to the binary as this is required for boot up
This was earlier added by the DAPLink firmware. As it is no longer
handled in DAPLink, the header needs to be added inside mbed.
2. Update drivers
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-06-29 17:10:17 +01:00
paul-szczepanek-arm
a0b20720dd
reuse existing call
2018-06-29 17:10:17 +01:00
paul-szczepanek-arm
338a8fc696
use sets to apply limits
2018-06-29 17:10:17 +01:00
paul-szczepanek-arm
c17c674c82
add setScanParams overload
2018-06-29 17:10:17 +01:00
Amanda Butler
e60566e85e
Copy edit CellularConnectionFSM.h
...
Copy edit for consistent tense and comma usage.
2018-06-29 17:10:17 +01:00
Teppo Järvelin
83fbeea304
Cellular: fixed defect where SIM interface was closed too early causing crash with certain configurations.
2018-06-29 17:10:17 +01:00
aqib nasim
27a5e47b8e
adding USTICKER label for C027
2018-06-29 17:10:17 +01:00
ccli8
17203413dc
Move RTX_NO_MULTITHREAD_CLIB from RTX_Config.h to mbed_rtx_conf.h
...
This is to avoid change to RTX code base.
2018-06-29 17:10:17 +01:00
ccli8
3618b20bba
Add comment with RTX_NO_MULTITHREAD_CLIB movement
2018-06-29 17:10:17 +01:00
ccli8
9ff9823834
Support thread-safety with ARMC6
...
1. Define RTX_NO_MULTITHREAD_CLIB to provide Mbed-specific multi-thread support for ARM/ARMC6
2. All overridden _mutex_xxx functions are declared with __USED to avoid excluded by linker
NOTE: Microlib doesn't support multi-thread
2018-06-29 17:10:17 +01:00
Cruz Monrreal II
a76d7bb0df
Compiling Cortex-A cores in uVision is not supported. Reference: http://www2.keil.com/mdk5/selector
2018-06-29 17:10:17 +01:00
Melvin van den berg
4d84c0329c
- Fixed coding style - Set default pull mode to PullNone in gpio_irq_init
2018-06-29 17:10:17 +01:00
Melvin van den berg
f59655629e
Fixed broken InterruptIn.mode() in NRF5x target which didn't do anything: interruptIn always remained with pullup resistor enabled.
2018-06-29 17:10:17 +01:00
Marcus Chang
4a5e6a9d7d
Fix SPI initialization for NRF52 series
...
New changes to Mbed error reporting in 5.9 exposed bug in SPI
driver where an instance was uninitialized twice which triggered
an ASSERT.
This fix keeps track of which instance has been initialized and
only calls uninit when it is safe.
2018-06-29 17:10:17 +01:00
Juha Ylinen
4affb4dbc5
Update Greentea netsocket and wifi tests
...
Increase timeout for netsocket TCP and UDP tests. Old timeout
(240 seconds) was not enough for slower devices to complete the
tests.
Accept error codes NSAPI_ERROR_CONNECTION_TIMEOUT and
NSAPI_ERROR_NO_CONNECTION when running test wifi_connect_secure_fail
2018-06-29 17:10:17 +01:00
ccli8
7339fa0dea
Enlarge wait time for flushing serial buffer in Greentea test code
...
Original wait time is not enough for UART to flush out before deepsleep on some targets.
2018-06-29 17:10:17 +01:00
Martin Kojtal
79f55ee6a3
Travis: fix mongodb key expired error
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
6048944f98
us_ticker_set_interrupt: fix bit-shift operation
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
6b9f91a519
Use lp_ticker.c for NRF51 and NRF52 boards
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
b3de87b62e
Use common_rtc.h for NRF51 and NRF52 boards
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
1f0f9c2257
NRF5x: Increase lp us ticker interrupt priority
...
Set the second highest user level, leaving the highest for UART (we are having constant overflows) and two levels below for everything else.
This should increase the timer accuracy.
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
1e49e4d45c
NRF5x: Add bug fix for the first timer read.
...
It has been noticed that first read value can not be trusted.
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
d6b7367bac
Use common us_ticker.c for NRF51 and NRF52 boards
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
80b100eef5
NRF51, NRF52: Implement us_ticker_free() function.
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
9ecbc5b02b
common_rtc_set_interrupt: Wrap <ticks_count> before comparisons
...
RTC counter is 24-bit. Upper layer handles counter size and wraps ticks count when interrupt is to be fired before passing it to common_rtc_set_interrupt(), but for consistency and safety reasons we can wrap it again in the NRF driver.
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
97b4f65216
NRF5x: Remove duplicate lp ticker initialization from I2C, flash, trng.
2018-06-29 17:10:17 +01:00
Przemyslaw Stekiel
ae5848e29a
NRF52_DK: Use 32 bit counter for us ticker (instead 16 bit counter)
2018-06-29 17:10:17 +01:00
Qinghao Shi
fa8ceef3bb
add comments about TIMER modes and set TIMER2 off by default
2018-06-29 17:10:17 +01:00
Qinghao Shi
e23bde94ac
change us_ticker_inited to static
2018-06-29 17:10:17 +01:00
Qinghao Shi
341f4b45e3
add disable interrupt function in us_ticker_free()
2018-06-29 17:10:17 +01:00
Qinghao Shi
e6c3ad43bb
update us_ticker driver and revert CMSDK headers changes
2018-06-29 17:10:17 +01:00
Qinghao Shi
537afa388c
Enable new HAL us_ticker API on fast model MPS2 platform
2018-06-29 17:10:17 +01:00
Kari Haapalehto
1b18393b21
Add binary drivers for MTB_MXCHIP_EMW3166
2018-06-29 17:10:17 +01:00
ben
518ac5adb7
update pack index
2018-06-29 17:10:17 +01:00