Commit Graph

15070 Commits (311e8b7d0d88ff3795bf674e22c7a93daa07f38f)

Author SHA1 Message Date
Russ Butler 311e8b7d0d Change USBDevice read handling
Remove the USBDevice function read_start and automatically start all
reads internally in USBDevice. This patch also renames the function
read_finish to read.
2018-03-27 14:31:59 +02:00
Russ Butler 4aba910249 Add and assert USB callback completion
Assert that when a callback is completed it is the active callback.
2018-03-27 14:31:59 +02:00
Russ Butler 7a55c94c0f Update Kinetis USB to match the USBPhy API
Copy the Kinetis USB driver files from
mbed-os\features\unsupported\USBDevice\targets\TARGET_Freescale
and update them to match the new USBPhy API.
2018-03-27 14:31:59 +02:00
Russ Butler f91805d3ab Add Kinetis USB files 2018-03-27 14:31:59 +02:00
Russ Butler 8287e3ab28 Remove mbed 2 USB tests from Travis
Remove the mbed 2 USB tests since USB support will be part of mbed 5.
2018-03-27 14:31:58 +02:00
Russ Butler cccbcdee0d Add USBPhy for the LPC17xx
Move the LPC17xx USB driver files from
mbed-os\features\unsupported\USBDevice\targets\TARGET_NXP
and update them to match the new USBPhy API.
2018-03-27 14:31:58 +02:00
Russ Butler 17bc923eb6 Add USBDevice test code
Add a USB test and the class USBTester.cpp to go along with it.
2018-03-27 14:31:58 +02:00
Russ Butler 1440603b1f Update USBDevice and configure to use a USBPhy
Update the USBDevice class API so it matches mbed-os's naming
conventions, has a more robust API and uses USBPhy as its backend.
2018-03-27 14:31:58 +02:00
Russ Butler b6a2141645 Update USB licenses and format code
Update USB licenses from MIT to Apache 2 and run astyle on the code.
2018-03-27 14:31:58 +02:00
Russ Butler a64f663a43 Copy USBDevice from unsupported
Copy the USBDevice code out of unsupported and into a top level USB
folder in preparation for development.

squash
2018-03-27 14:31:58 +02:00
Russ Butler 9c4611faae Add USBPhy, USB HAL and Utility class
Add the USBPhy and USBPhyEvents abstract classes, the HAL header using
this class and the EndpointResolver utility class.
2018-03-27 14:31:58 +02:00
Cruz Monrreal 062164eaad
Merge pull request #6452 from ARMmbed/revert-6086-gatt-client-unit-tests
Revert "BLE: Gatt client unit tests"
2018-03-26 14:33:52 -05:00
Cruz Monrreal 26737580ce
Merge pull request #6313 from SeppoTakalo/doxygen
Add missing Doxygen descriptions for Nanostack
2018-03-26 14:28:51 -05:00
Cruz Monrreal 57b48f6e05
Merge pull request #6416 from kjbracey-arm/lwip_netconntype_fix
lwIP: fix some IPv6 errors, eg TCP keepalive
2018-03-26 14:27:09 -05:00
Cruz Monrreal e9b234b876
Merge pull request #6424 from OpenNuvoton/m487_v3
Nuvoton: Support M487 v3.0 pin map
2018-03-26 14:26:32 -05:00
Cruz Monrreal c291b4ad32
Merge pull request #6428 from theotherjimmy/many-source-export
Avoid incorrect config errors on export with many --source
2018-03-26 14:25:53 -05:00
Cruz Monrreal 50773b1b75
Merge pull request #6440 from theotherjimmy/remove-supertarget
Remove supertarget
2018-03-26 14:21:53 -05:00
Anna Bridge d97d55a0c7
Merge pull request #6450 from 0xc0170/fix_#6449
Realtek: serial - line ending fix
2018-03-26 16:27:29 +01:00
Martin Kojtal afeb3066c3
Revert "BLE: Gatt client unit tests" 2018-03-26 11:51:29 +01:00
Martin Kojtal f4fc5e6fc3 Realtek: serial - line ending fix
One line had a window line ending
2018-03-26 08:50:32 +01:00
Cruz Monrreal 0a0cc58934
Merge pull request #6434 from cmonr/correct-apt-get-retrying
Modified apt-get retry logic with Travis CI retry feature
2018-03-23 14:23:09 -05:00
Cruz Monrreal cffa1c055e
Merge pull request #6437 from OpenNuvoton/nuvoton_fix_flash
Nuvoton: Fix NVSTORE test failed
2018-03-23 12:02:44 -05:00
Cruz Monrreal 801f27efcf
Merge pull request #6239 from bmcdonnell-ionx/interrupt-in-pin-mode
Interrupt in pin mode
2018-03-23 12:00:36 -05:00
Cruz Monrreal 6dc0c9d6c3
Merge pull request #6388 from davidsaada/david_nvstore_set_alloc_key
NVStore: key management enhancements
2018-03-23 11:03:53 -05:00
Cruz Monrreal e79060f9cf
Merge pull request #6427 from AGlass0fMilk/SWO-mbed-namespace
Added SerialWireOutput to mbed namespace
2018-03-23 11:03:29 -05:00
Cruz Monrreal 4a5f4aa063
Merge pull request #6419 from theotherjimmy/fix-get-config
Correct get_config imports
2018-03-23 11:01:03 -05:00
Cruz Monrreal 387027dddb
Merge pull request #6086 from pan-/gatt-client-unit-tests
BLE: Gatt client unit tests
2018-03-23 10:56:09 -05:00
Cruz Monrreal ddf70f1dc9
Merge pull request #6377 from scartmell-arm/feature-deep-sleep-tracing-filename-fix
Replace runtime strip_path function with compiler intrinsic equivalents
2018-03-23 10:28:25 -05:00
Cruz Monrreal 26e1275589
Merge pull request #6415 from M-ichae-l/rtl8195am-fix-logUART-Tx-interrupt-crash-
rtl8195am: fix LogUART Tx interrupt crash
2018-03-23 10:06:36 -05:00
Jimmy Brisson bac1f00e2e Remove supertarget 2018-03-23 09:52:24 -05:00
Jimmy Brisson cd31272d4b Avoid incorrect config errors on export 2018-03-23 09:28:49 -05:00
Cruz Monrreal II fa8020ee6c Modified apt-get retry logic with Travis CI retry feature 2018-03-22 15:08:21 -05:00
George Beckstein d3ab5c7e59
Added SerialWireOutput to mbed namespace 2018-03-22 12:35:54 -04:00
Cruz Monrreal 9932b4c983
Merge pull request #6309 from deepikabhavnani/peek_api
Peek API to view data of buffer without popping
2018-03-22 11:28:15 -05:00
Cruz Monrreal 7c272fa3e8
Merge pull request #6412 from jeromecoutant/PR_L4_ADC
STM32L4 ADC correct internal channel management
2018-03-22 11:27:50 -05:00
Cruz Monrreal 04a3635eba
Merge pull request #6399 from jeromecoutant/PR_L4_TEMP
STM32L4 ADC Internal Channel : correct sampling time
2018-03-22 11:27:30 -05:00
cyliangtw efe57a00b4 [M487] Support v3.0 pin map 2018-03-22 20:09:09 +08:00
ccli8 f0865f8546 [Nuvoton] Fix page size in flash IAP
In Mbed OS, page size is program unit, which is different than FMC definition.
After fixing page size, we can pass NVSTORE test (mbed-os-features-nvstore-tests-nvstore-functionality).
2018-03-22 16:45:01 +08:00
Cruz Monrreal 816890d646
Merge pull request #6348 from 0xc0170/fix_pr_template
Fix PR template
2018-03-21 17:21:59 -05:00
Cruz Monrreal 3ddca11395
Merge pull request #6368 from kjbracey-arm/atomic_volatile
Sort out volatiles in the atomic functions
2018-03-21 17:03:27 -05:00
Cruz Monrreal 58f57954ca
Merge pull request #6378 from geky/events-travis-prof
equeue: Added profiling reports to Travis
2018-03-21 16:24:33 -05:00
Jimmy Brisson a27dd66f92 Correct get_config imports 2018-03-21 10:50:56 -05:00
Brendan McDonnell 8d2214fa6e linebreaks 2018-03-21 11:18:54 -04:00
Brendan McDonnell 895e19ae0f Restore single-param InterruptIn ctor, to maintain binary compatibility (for Wi-Fi drivers).
Revert "simplify InterruptIn - default parameter instead of multiple constructors"; add comment.

This reverts commit d28dbf6702.
2018-03-21 11:18:42 -04:00
Martin Kojtal 7b325f30a0
Merge pull request #6168 from hug-dev/cm3ds-memory
CM3DS Maintenance Pull Request: Memory changes (2/4)
2018-03-21 14:16:16 +01:00
Martin Kojtal 7125c8ad0b
Merge pull request #6344 from tung7970/fix-tools
armcc - remove fromelf output before regenerating one
2018-03-21 14:12:00 +01:00
Martin Kojtal 0f2659bdce
Merge pull request #6392 from OpenNuvoton/nuvoton_fix_uart
Nuvoton: Remove unnecessary UART INT in UART DMA transfer
2018-03-21 14:10:44 +01:00
Seppo Takalo fbea6f15e2 Add missing Doxygen descriptions for Nanostack
Fix couple of parameter issues as well.
2018-03-21 14:15:28 +02:00
Martin Kojtal e2d0eaf1cc PR template: do not use task list 2018-03-21 11:56:38 +00:00
Kevin Bracey b3eb51acef lwIP: fix some IPv6 errors, eg TCP keepalive
Glue code was inspecting lwIP's netconn "type", checking directly for
NETCONN_UDP and NETCONN_TCP.

Unfortunately the type byte has some flag bits like
"IPv6", which means the tests fail if it's an IPv6 socket. So, for
example, TCP socket options were rejected for IPv6.

Add the necessary NETCONNTYPE_GROUP macros to fix this.
2018-03-21 13:40:25 +02:00