Commit Graph

16852 Commits (6e71c4ceba8b07766353ea17ec0b0e9749ead62c)

Author SHA1 Message Date
Jimmy Brisson 6e71c4ceba Search all stdout for version regex; check > 1 matches 2018-06-29 17:10:17 +01:00
Jimmy Brisson efcba8830e Improve ARM compiler regex 2018-06-29 17:10:17 +01:00
Jimmy Brisson c17a5d9c1b Use Non-blocking Error and LooseVersion 2018-06-29 17:10:17 +01:00
Jimmy Brisson 53083b7456 Check version of Mbed CLI compile 2018-06-29 17:10:17 +01:00
Boting Ren 5570782b04 fix LED_RED mapping on NUCLEO_F429ZI 2018-06-29 17:10:17 +01:00
Teppo Järvelin 90f67902ba Cellular: review fixes for cellularinformation tests. 2018-06-29 17:10:17 +01:00
Teppo Järvelin 789a1c1720 Cellular: added greentea tests for CellularInformation. 2018-06-29 17:10:17 +01:00
Teppo Järvelin 7e82eb5647 Cellular: added more CellularInformation unit tests. 2018-06-29 17:10:17 +01:00
Cruz Monrreal II 85352128d3 Moved the sourcing of the astyle archive to AWS from SourceForge. SF has been failing intermitantly, and appears to not explicitly allow the automatic downloading of archives. 2018-06-29 17:10:17 +01:00
Christopher Haster 69ed638e2e Fixed issue with MBR init asserting on bad partition size 2018-06-29 17:10:17 +01:00
TomoYamanaka 8528353acc Modify RAM size definition of ARMCC for GR-LYCHEE
I modified RAM size of ARMCC compiler for GR-LYCHEE.
In case of GR-LYCHEE, RAM size is 3M Byte(including Non-Cache area), but there was a typo at MACRO definition.
2018-06-29 17:10:17 +01:00
Vincent Coubard a5df9176a9 Nordic BLE: Fix return value verification 2018-06-29 17:10:17 +01:00
Vincent Coubard 2d97c91561 Nordi BLE: Fix formatting 2018-06-29 17:10:17 +01:00
Vincent Coubard 5711b295da Nordic BLE:
Cancel pairing if the device fail to allocate the resources necessary for the pairing operation.
2018-06-29 17:10:17 +01:00
Vincent Coubard 01f5c456f3 Nordic BLE: Fix pairing cancellation.
Depending on the role and the current state of the local device; pairing cancelation should be made with a call to a specific function. Normally the Nordic stack would reject invalid calls if the device is not in the correct state; therefore it was assumed that it was possible to detect the state from sd errors. Unfortunatelly this is not true with the latest softdevices as some calls succeed even if the device is not in the right state.

To solve that issue cancelation looks at the current state of the device first to select the right function that will trigger the pairing cancellation.

Note: the call to sd_ble_gap_authenticate was missing in the previous algorithm
2018-06-29 17:10:17 +01:00
Vincent Coubard e8b783b702 Nordic BLE: Store locally role for a given connection. 2018-06-29 17:10:17 +01:00
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