Commit Graph

17169 Commits (298f84782117d8da74eacd3dd9da1e4c8e384f9c)

Author SHA1 Message Date
David Saada 714d025f6c Rename text region in ARM linker file for a few NXP CPUs 2018-06-18 17:32:01 +03:00
Edmund Hsu bc6b145c1b Enable COG boards flash algo 2018-06-18 16:31:54 +10:00
Edmund Hsu 6feef97409 Enable COG boards instruction cache 2018-06-18 16:31:15 +10:00
Jan Jongboom 63d1684bbe
Spelling error in fault handler 2018-06-18 10:58:12 +08:00
Jimmy Brisson 86b7adbd30 Force small lib usage when using uARM tc 2018-06-15 10:38:23 -05:00
Qinghao Shi 43242589de add comments about TIMER modes and set TIMER2 off by default 2018-06-15 16:26:00 +01:00
Cruz Monrreal bfb43799af
Merge pull request #7209 from jarlamsa/udpsocket_echo_packetloss
Tolerate packet loss up to 30% in udp echo tests
2018-06-15 10:20:44 -05:00
Cruz Monrreal 74a75d5bb0
Merge pull request #7058 from davidsaada/david_exhaustible_bd_fix
Fix two issues in ExhaustibleBlockDevice
2018-06-15 10:03:54 -05:00
Ari Parkkila 7d006f6f6a Cellular: Target support for AT+CCID and AT+CGSN 2018-06-15 14:28:48 +03:00
Mika Leppänen 9b0cbe064d Disabled STM ethernet driver hardware checksum calculation
No need for driver level hardware IPv4/TCP/UDP/ICMP checksum insertion
since LWIP and nanostack handles those already.

Related to issue: https://github.com/ARMmbed/mbed-os/issues/7227
2018-06-15 14:24:05 +03:00
Anna Bridge d66dfcb13a
Merge pull request #7036 from maciejbocianski/hal_ticker_feature_merging
tests-mbed_hal-sleep fix
2018-06-15 12:12:31 +01:00
Anna Bridge 245a9aab4b
Merge pull request #7128 from davidsaada/david_lpc_flash_api_fix
Fix flash_program_page API in LPC boards.
2018-06-15 11:15:23 +01:00
Anna Bridge 3e2e6a714a
Merge pull request #7195 from jarvte/fixing_easycellular_release_version
Cellular: Semaphore wasn't released in easycellular release build.
2018-06-15 11:13:34 +01:00
Anna Bridge 4d8dd59440
Merge pull request #7196 from theotherjimmy/no-double-header
Tools: Remove second header when every bl config param is used
2018-06-15 11:11:58 +01:00
Juho Eskeli 699601535e Make MTB_ADV_WISE_1570 respect MBED_APP_START & enable bootloader 2018-06-15 13:05:00 +03:00
bcostm 09b8b53b27 Remove text related to channel2 2018-06-15 11:27:52 +02:00
bcostm 1cef655687 Add comments for HAL_InitTick function 2018-06-15 11:19:52 +02:00
Mika Leppänen b7627e823b K64F, K66F: Update the ENET PHY driver
PHY init and autonegotation is split into own functions.
2018-06-15 10:41:31 +03:00
Teppo Järvelin f821b02468 Cellular: fixed unit tests after rebase with latest changes. 2018-06-15 09:51:16 +03:00
Teppo Järvelin 7e1b0480b0 Cellular: Added power and sim greentea and unit tests. 2018-06-15 09:03:08 +03:00
Cruz Monrreal 8d88bb0ba5
Merge pull request #7202 from ARMmbed/cmonr-patch-error_handling-test
Corrected casting issue with an assert within the error_handling test
2018-06-14 19:22:38 -05:00
Cruz Monrreal 10d9f7fda1
Merge pull request #7197 from theotherjimmy/uarm-uvision
Tools: Allow exporting of uARM-only targets to uvision
2018-06-14 17:29:25 -05:00
Vincent Coubard 14e229e00a Cordio: Add tests that validates a cordio port.
The first test focuse on the transport by testing that the reset sequence is
correctly sent to the controller and properly received.

The second test validates that the reset sequence fullfill the right state
of the stack and ensure that bluetooth initialization succeed.
2018-06-14 18:24:23 +01:00
Cruz Monrreal a588d15ab4
Merge pull request #7194 from mikaleppanen/lwip_debug_stack
Increased LWIP main worker thread stack size for debug builds
2018-06-14 11:01:47 -05:00
Cruz Monrreal baf563709a
Merge pull request #7090 from jorisa/usbserial-write-nonblocking
Add non-blocking write function for USBCDC
2018-06-14 10:20:26 -05:00
Cruz Monrreal ac107e955f
Merge pull request #6962 from jarvte/release_resources_cellular_statemachine
Cellular: release resources in state machine.
2018-06-14 10:19:12 -05:00
Cruz Monrreal 276588f9fa
Merge pull request #7098 from SeeedJP/feature-cellular-mux
[Wio 3G] Adding platform
2018-06-14 10:17:19 -05:00
Cruz Monrreal c82af3dbe9
Merge pull request #7102 from jarvte/adding_cellular_tests
Adding cellular tests
2018-06-14 10:16:58 -05:00
Cruz Monrreal c3e639aad2
Merge pull request #7123 from paul-szczepanek-arm/fix-generate-whitelist
BLE: check flags to make sure the IRK has been stored before retrieving it
2018-06-14 10:15:15 -05:00
Cruz Monrreal dabb112ebd
Merge pull request #7117 from OpenNuvoton/nuvoton_fix_armc6_memtrace2
Fix compile error with MBED_MEM_TRACING_ENABLED and ARMC6
2018-06-14 10:14:46 -05:00
Cruz Monrreal 3280ebb318
Merge pull request #7139 from toyowata/fix_rtx53_ca9
Fix greentea test failure on Renesas Cortex-A9 targets
2018-06-14 10:10:03 -05:00
Melvin van den berg 5fadb26f14 Fixed broken InterruptIn.mode() in NRF5x target which didn't do anything: interruptIn always remained with pullup resistor enabled. 2018-06-14 16:54:03 +02:00
Hasnain Virk d335f82440 Remaining style fixes 2018-06-14 14:52:46 +03:00
Hasnain Virk 27290bb12f Adding valid frequency check for RXParamSetup cmd
We must check for a valid value of a frequency being sent
by the network server.
2018-06-14 14:52:46 +03:00
Hasnain Virk ffb0698ce7 Adding port in trace & streamlining continuous RX2 2018-06-14 14:52:45 +03:00
Hasnain Virk eab2bad593 Queuing the automatic uplink
If the automatic uplink is sent directly the call-stack becomes larger than 1K
which may cause serious problems in debug builds. Just to have a respite between
RX and TX we queue an event for the automatic uplink rather than directly undergoing
an automatic uplink.
2018-06-14 14:52:38 +03:00
Ari Parkkila 44365bccd0 Cellular: Added AT+CCID and AT+CGSN 2018-06-14 13:47:17 +03:00
Jarno Lamsa 6bdefd3041 Tolerate packet loss up to 30% in udp echo tests 2018-06-14 10:16:26 +03:00
Cruz Monrreal e93aaabff3
Only exclude RTOS-specifc tests in error_handling
Allows for other tests to run if no RTOS is present.
2018-06-13 10:33:37 -05:00
Vincent Coubard 92fa40b1c7 Nordic BLE: Accept connection parameter update
A peer device that sends a connection parameter update may get block if it doesn't receive a response.

This patch accept the peer request unconditionnally. At some point this event will be managed by the application.
2018-06-13 15:54:51 +01:00
Jimmy Brisson 34792e60c6 Correct "defalut" typo 2018-06-13 09:51:50 -05:00
Jimmy Brisson 92abbb7599 Use memories passed in when getting memory specs 2018-06-13 09:33:39 -05:00
Cruz Monrreal 5fe241bac9
Wrapped test around MBED_CONF_RTOS_PRESENT
Wrapping a #define to prevent test from being run when no RTOS is present.
2018-06-13 09:28:53 -05:00
Vincent Coubard 5237c3ec40 Nordic BLE:
Cancel pairing if the device fail to allocate the resources necessary for the pairing operation.
2018-06-13 15:11:13 +01:00
Vincent Coubard f0c3f14887 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-13 15:10:10 +01:00
Vincent Coubard 301e527af7 Nordic BLE: Store locally role for a given connection. 2018-06-13 15:03:43 +01:00
Vincent Coubard 5c7b8c8ea4 Nordic BLE: Add default parameter to get the local instance of nrF5xn 2018-06-13 15:02:45 +01:00
Vincent Coubard 8e7936d327 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-13 15:02:07 +01:00
Cruz Monrreal 799ba08017
Merge pull request #7131 from klaas019/master
new mdot bootloader
2018-06-13 08:48:10 -05:00
Cruz Monrreal 0a528ff558
Merge pull request #6831 from mprse/hal_crc_test
Add HAL CRC test and header file
2018-06-13 08:47:11 -05:00