Commit Graph

17120 Commits (f0c4e949c5254cf3d3ef8073a26f3d0ce3b3b51f)

Author SHA1 Message Date
jeromecoutant 7fa433d75d TARGET_STM32F7 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant b6cbec8a30 TARGET_STM32F4 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant f5830bf143 TARGET_STM32F3 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant b3292e2b2a TARGET_STM32F2 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 56975a54fe TARGET_STM32F1 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant a4970221bf TARGET_STM32F0 astyle 2018-06-29 17:11:50 +01:00
jeromecoutant 91c3b4dc8f TARGET_STM astyle 2018-06-29 17:11:50 +01:00
Kari Haapalehto f01cd413fa Cleaning MTB_USI_WM_BN_BM_22, MTB_ADV_WISE_1530 and MTB_MXCHIP_EMW3166 targets These wiced targets are not supported at mbed-os 2 release, so removing "2" from release_versions. LWIP feature flag removed, since it isn't needed anymore. EMAC removed from device_has_add, since it isn't needed with these targets. "network-default-interface-type": "WIFI" has been added. 2018-06-29 17:11:50 +01:00
Teppo Järvelin 92eab0f99f Cellular: improved observing of disconnect for callbacks. 2018-06-29 17:10:17 +01:00
Marcus Chang 00a0c81217 Improve serial performance for NRF52 series
Time sensitive user callbacks are called through lowest priority
SWI handlers instead of the highest priority UART handler.
2018-06-29 17:10:17 +01:00
Marcus Chang f4aa4ff082 Make serial_putc non-blocking for the NRF52 series
Previous implementation would block until character had been
completely sent, which is not what the API specifies.
2018-06-29 17:10:17 +01:00
Marcus Chang e2ab561e3d Remove whitespace from NRF52 serial_api.c 2018-06-29 17:10:17 +01:00
Antti Yli-Tokola 88798899ae Update mbed-coap to version 4.5.0
Fix error:  IIOTCLT-2769 - mbed-coap: extra response received after registration

Added own flag to enable blockwise support, without setting default blockwise
payload size. This allows to receive blockwise messages while still sending
without blockwise.

Fix CoAP request blockwise response handling
When request is sent, response can have blockwise option set. All requests must
be stored to the linked list.
2018-06-29 17:10:17 +01:00
Jimmy Brisson f73f8d5a53 Test and correct GCC version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson e36bd9fe0f Test IAR version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson 9f74d641f0 Test and correct ARMCC version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson 7122a538c3 Check for no match in version check 2018-06-29 17:10:17 +01:00
Jimmy Brisson 081fc8eac2 Escape '.' in regex 2018-06-29 17:10:17 +01:00
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