Commit Graph

4857 Commits

Author SHA1 Message Date
Gregory Nutt
05c245fc2d SAML21: Add pin multiplexing definitions 2015-05-15 11:45:56 -06:00
Gregory Nutt
0f1eef72fe SAML21: Flesh out SAML21 memory map 2015-05-15 09:30:25 -06:00
Gregory Nutt
d2a7a1ad9c SAMA5 OHCI: Fix errors introduced with blind changes to match changes to LPC17 OHCI. Fix some handling for the case where we get a falso alarm transfer completion after disconnection/cancellation 2015-05-15 09:02:17 -06:00
Gregory Nutt
95ae90a246 LPC17 USB host: Fix some OHCI done head handling when a tranfer is cancelled 2015-05-15 08:29:45 -06:00
Gregory Nutt
9061809e2d OHCI drivers: Try disabling bulk list when cancelling bulk transfers 2015-05-15 07:31:13 -06:00
Gregory Nutt
4dc10dbe85 Oop.. remove duplicate #else 2015-05-14 14:13:43 -06:00
Gregory Nutt
5ba5b5e24b SAML21: Add configuration logic and placeholders for memory man and pin configruation header files 2015-05-14 14:02:50 -06:00
Gregory Nutt
ec2e922d17 Fix a missed renaming in a Kconfig file 2015-05-14 12:33:42 -06:00
Gregory Nutt
3ec627b02d Rename SAMD directories and configuration variables to SAMDL so that the same build environment can support the SAML 2015-05-14 12:25:09 -06:00
Gregory Nutt
f1c51eea57 SAMA5D OHCI: Missing D-Cache flush 2015-05-14 11:10:15 -06:00
Gregory Nutt
0883ea1af0 USB host drivers: Cannot take semaphores in cancel() method 2015-05-14 09:58:21 -06:00
Gregory Nutt
5fad63c28a STM32/EFM32 USB host drivers. Remove some detritus left from previous change 2015-05-14 07:55:55 -06:00
Gregory Nutt
77e6e913bf LM3S Ethernet: More semicolons needed after modified DEBUGASSERT macro. From Brennen Ashton 2015-05-14 06:35:40 -06:00
Gregory Nutt
f56260f1e1 Update README 2015-05-13 13:30:26 -06:00
Gregory Nutt
99734ee2ff Fix several defien -> define. Thanks Pierre 2015-05-13 06:33:17 -06:00
Gregory Nutt
14d99a0ef2 SAMV7 TWIHS: Fix logic that performs multi-message tranfers with and without repeated starts. This change is the final piece that was required to get the maXTouch Xplained Pro workding. 2015-05-12 17:56:35 -06:00
Gregory Nutt
178321fb0e KL: Fix offset to the TPM status register. From Michael Hope. 2015-05-12 07:08:33 -06:00
Gregory Nutt
10bfcaf939 Fix typo in arch/arm/include/kl/chip.h header file. From Michael Hope 2015-05-12 07:05:29 -06:00
Gregory Nutt
11b79e6714 EHCI HCDs: Check for transfer in progress before attempting cancellation 2015-05-11 12:12:19 -06:00
Gregory Nutt
c2c7dadf0f The USB host cancellation now applies to all transfers and so it no longer conditional 2015-05-11 12:04:03 -06:00
Gregory Nutt
cac9879ad2 EHCI HCDs will now support cancellation of syncrhonous transfers 2015-05-11 11:43:31 -06:00
Gregory Nutt
3f092b8f9c STM32 and EFM32 host will now support cancellation of synchronous methods 2015-05-11 11:15:28 -06:00
Gregory Nutt
102554adfe OHCI HCDs will not support cancellation of syncrhonous transfers 2015-05-11 10:36:17 -06:00
Gregory Nutt
0536435ff8 Correct an error recently introduced in the STM32 and EFM32 USB host controller drivers.
The test for data partially transferred is incorrectec: chan->xfrd != xfrlen
Should be chan->xfrd > 0

From Ronly XLN.
2015-05-11 09:04:25 -06:00
Gregory Nutt
32a4131f92 Fix a cut'n'paste error in the last commit 2015-05-10 10:23:23 -06:00
Gregory Nutt
9e07b2deb1 OHCI: Fix length calculation in all OHCI drivers: CBP==0 means that the entire buffer was transferred, not that a null packet was tranaferred 2015-05-10 10:01:22 -06:00
Gregory Nutt
6e5a4e8b5e Add EXTI line definitions for the STM32L family. 2015-05-09 09:03:14 -06:00
Gregory Nutt
4250bb5138 STM32 F3: Add DBGMCU register definitions for the F3 family. From Greg Meiste. 2015-05-09 06:05:17 -06:00
Gregory Nutt
aaaa8f2e9d Adds support for STM32F302K8 and STM32F302K6. From Ben Dyer via PX4/David Sidrane. 2015-05-08 14:10:55 -06:00
Gregory Nutt
780c81f130 USB host CDC/ACM fixes. Still kind of buggy 2015-05-08 10:58:41 -06:00
Gregory Nutt
b8483aea40 In go_os_start that sets the IDLE thread stack coloration, mov does not set condition codes which are tested by the following beq. Need to use movs instead. Noted by David Sidrane 2015-05-07 20:36:08 -06:00
Gregory Nutt
2325f2c529 kl: enable the clocks to UART1 and UART2. The previous version would cause a hard fault on startup due to the modules not being clocked. Also drop the GPIO configuration as it's done during kl_start(). From Michael Hope. 2015-05-07 17:17:54 -06:00
Gregory Nutt
292cb9fe2f kl: fix PWM debugging. TPM1 and TPM2 have two channels instead of six and will hard fault if you try to read the missing channels. From Michael Hope. 2015-05-07 17:17:53 -06:00
Gregory Nutt
d1da52a018 Misc improvements to the CDC/ACM host driver, mostly related to parsing the configuration descriptor. Still does not work. 2015-05-07 10:02:51 -06:00
Gregory Nutt
8062555384 Add support for the KL25Z64. The KL25Z64 is a lower memory variant of the KL25Z128 and is used on the Teensy LC. From Michael as SourceForge patch 50. 2015-05-07 06:47:17 -06:00
Gregory Nutt
afafe84050 LPC17 USB host: Fix some compile errors when bulk endpoints + USB debug enabled. Refresh a configuration 2015-05-06 16:15:12 -06:00
Gregory Nutt
5f113517f6 Fix a few typos in comments 2015-05-06 15:26:07 -06:00
Gregory Nutt
a813d9438c SAMA5 OHCI: Remove a DEBUGASSERT that was firing if a a spurious interrupt was received 2015-05-06 07:44:37 -06:00
Gregory Nutt
14837ed20e Fix some bugs introduced with the last set of big commits 2015-05-05 14:59:29 -06:00
Gregory Nutt
8f959373e1 USB host: Modify the transfer() and asynch() methods so that the actual size of the transfer is returned. Unverified on initial commit. 2015-05-05 13:14:22 -06:00
Gregory Nutt
93b251b372 Cosmetic changes 2015-05-05 06:42:58 -06:00
Gregory Nutt
12bf2aa3be Correct description of some input parameters. Suggested by Pelle Windestam 2015-05-05 06:26:59 -06:00
Gregory Nutt
5381479cbb SAMA5D OHCI: Remove a local variable that is unused when debug is disabled; refresh a configuration. Update a README 2015-05-04 07:34:29 -06:00
Gregory Nutt
eac8bcf910 Olimex LPC1766STK: The USB host waiter stack should be configurable because it needs to be a lot depending when using a hub 2015-05-03 16:14:08 -06:00
Gregory Nutt
ef2ef35600 EHCI: Fix backward arguments to memalign in previous alignment fix; extend fix to OHCI too 2015-05-03 14:31:16 -06:00
Gregory Nutt
ca8fd8c964 LPC31 and SAMA5Dx EHCI drivers: Fix cache related problem. All buffers are now aligned with the cache line size in both starting address and in length. This cause major problems in unlucky builds where the USB host buffers where unaligned and abbutting other data. The cache flush and invalidate operations could be subverted by acceses to adjacent data or could have unexpected side effects. This bug has been in the ECHI drivers forever, but was only revealed due to unlucky memory allocations during the integration of the hub feature. 2015-05-03 13:20:15 -06:00
Gregory Nutt
1828d14c08 Fix trivial typo 2015-05-03 10:48:42 -06:00
Gregory Nutt
5577b55cf5 SAMA5 EHCI: Mostly cosmetic 2015-05-03 08:51:44 -06:00
Gregory Nutt
00fd848209 SAMA5 EHCI: Fix some compile issues when hub support is enabled 2015-05-02 14:00:12 -06:00
Gregory Nutt
d824979cec Merge remote-tracking branch 'origin/master' into usbhub 2015-05-02 11:39:08 -06:00