Gregory Nutt
513344a084
Fix some missing quotes in a Kconfig file
2015-05-08 08:32:50 -06:00
Gregory Nutt
947fd7a5af
USB host CDC/ACM: Improve RX responsiveness
2015-05-07 11:27:51 -06:00
Gregory Nutt
214aeeff57
USB host CDC/ACM: Add a bulk-only mode mostly for test, fix two bad assertions. Correct some loop termination logic in RX data receipt
2015-05-07 11:16:03 -06:00
Gregory Nutt
53bb938f23
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
691d7c9819
Rename usbhost_storageinit() to usbhost_msc_initialize(). Add calls to usbhost_cdcacm_initialize() is CONFIG_USBHOST_CDCACM is selected.
2015-05-06 14:11:29 -06:00
Gregory Nutt
737fd7dcec
drivers/usbhost: Add initial implementatino of a host-side CDC/ACM driver. Completely untested on initial commit (2015-05-06).
2015-05-06 12:49:00 -06:00
Gregory Nutt
4a8fbd8817
USB host: More fixes from last changes.. MSC block read and write must again return number of blocks on success. Fix numerous places where the assumption the ret == OK means success. Since the transfer method now returns the number of byte transfered, the correct test for success is ret >= 0
2015-05-05 15:48:48 -06:00
Gregory Nutt
9296eca193
USB Host function address calculation needs to reset the 'next' address when an address is released
2015-05-05 14:59:03 -06:00
Gregory Nutt
47a112974d
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
81ab453f6a
Fix a mistatement in a comment
2015-05-04 13:44:49 -06:00
Gregory Nutt
ea17bc3b68
USB hub class: Was not using the configured poll delay value
2015-05-04 13:44:12 -06:00
Gregory Nutt
e903259476
Hub: Use usleep instead of up_mdelay
2015-05-04 07:46:13 -06:00
Gregory Nutt
435d088182
SAMA5 EHCI: Mostly cosmetic
2015-05-03 08:51:44 -06:00
Gregory Nutt
c2a3f936aa
USB host: Need to include the port structure when disconnecting, otherwise may destroy a root hub port
2015-05-02 10:44:18 -06:00
Gregory Nutt
e4f538446b
USB hub: Minor fix to reduce the amount of debug garbage on console in certain configurations
2015-04-30 13:03:28 -06:00
Gregory Nutt
1380945a13
USB hub: Add a configuration option to fallback to polling mode if the the HCD async method does not work. Don't call DRVR_CANCEL twice, and certainly not from the interrupt level. Add so checks so that we do not do some normal asynchronous actions if the hub has been disconnected
2015-04-30 11:30:01 -06:00
Gregory Nutt
b909ad04d8
USB HUB: Fix a deadlock that can occur if the HCD and the HUB try to share the high priority work queue. Now how work must be done on the low priority work queue.
2015-04-29 08:32:17 -06:00
Gregory Nutt
6e20a466ac
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-27 12:27:43 -06:00
Gregory Nutt
cec90e144a
Another missing semicolon in a DEBUGASSERT statement
2015-04-27 12:26:40 -06:00
Gregory Nutt
d88d10830e
USB host: Fix an attempt to take a semaphore from an interrupt handler
2015-04-26 10:05:15 -06:00
Gregory Nutt
397f31f061
Another hub-related interface change: Need to pass speed to EP0
2015-04-26 09:53:43 -06:00
Gregory Nutt
3bae38a2d9
USB HID mouse/keyboard: Fix a reference counting problem
2015-04-25 17:05:30 -06:00
Gregory Nutt
329ae78583
Fix a recently introduced deadlock in some class drivers
2015-04-25 15:57:57 -06:00
Gregory Nutt
4de9bc7b6c
Trivial improvement of debug output
2015-04-25 14:52:36 -06:00
Gregory Nutt
e46cb394f9
Fixes some crashes when the hub is removed and/or reinserted
2015-04-25 12:16:22 -06:00
Gregory Nutt
38e0a4a1cb
Fix a race condition when a mouse or keyboard device is removed from a hub
2015-04-25 11:17:57 -06:00
Gregory Nutt
e7792435c7
Add missing logic to destroy a class when the device is no longer connected to the hub port
2015-04-25 11:17:37 -06:00
Gregory Nutt
ed5287855f
LPC17 USB host: Direction bit being set wrong from allocated control endpoints
2015-04-24 19:46:00 -06:00
Gregory Nutt
64fe226669
USB Hub: Cosmetic update to some naming
2015-04-24 18:32:09 -06:00
Gregory Nutt
becfe4ef9d
HUB class must cancel any pending interrupt IN transfers before destroying the endpoint
2015-04-24 12:18:25 -06:00
Gregory Nutt
2768f13153
USB hub: Fixes for some port status change handling
2015-04-24 09:57:59 -06:00
Gregory Nutt
c9da86b4f0
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-24 07:55:02 -06:00
Gregory Nutt
8ab4ea531e
Update README
2015-04-24 07:48:53 -06:00
Gregory Nutt
a8a3790139
RA8875 LCD driver contributed by Marten Svanfeldt
2015-04-24 07:46:03 -06:00
Gregory Nutt
2586bc3fcc
USB hub fixes. Mostly dealing with setting the hub function address at the right time and powering up downstream ports
2015-04-23 16:42:53 -06:00
Gregory Nutt
9752e12b11
USB HUB: Fix bugs, stray ampersand. Need to perfrom class destruction on the worker thread
2015-04-23 13:56:38 -06:00
Gregory Nutt
34e4edfd1a
USB hub: Fix some port power enable logic
2015-04-23 11:24:05 -06:00
Gregory Nutt
adb50640c0
Correct errors in hub class destructor logic
2015-04-23 10:07:53 -06:00
Gregory Nutt
ab17603ceb
Fix USB hub bugs: Don't allocate port EP0 until needed, otherwise run out of endpoints; using wrong pointer to access child endpoint array in a few places
2015-04-23 09:42:58 -06:00
Gregory Nutt
167f406050
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-23 07:29:54 -06:00
Gregory Nutt
da04b29a68
Yet another missing semicolon on DEBUGASSERT
2015-04-23 07:29:15 -06:00
Gregory Nutt
64496a635c
USB hub: Add some hub-related configuration settings
2015-04-22 17:16:35 -06:00
Gregory Nutt
f7ec9b0831
USB hub: Change to connection interface so that applications can deal with external hubs
2015-04-22 12:28:19 -06:00
Gregory Nutt
5c16454cdf
Add USB hub initialization logic to a couple of board configurations
2015-04-21 13:44:14 -06:00
Gregory Nutt
fde0bf650e
USB host: Integrate logic to assign device function address
2015-04-21 12:17:49 -06:00
Gregory Nutt
d6b963a62e
USB host: Update skeleton driver file
2015-04-21 09:54:11 -06:00
Gregory Nutt
d62aa8c158
USB host: Remove getdevinfo() method. Rename hub structure to hubport structure. Get port and function address from hub port structure vs. parameters and other structures.
2015-04-21 07:26:28 -06:00
Gregory Nutt
2ea7a83bf5
USB hub: Move port index out of hub structure and into class structure
2015-04-20 16:50:32 -06:00
Gregory Nutt
4aeb5e549c
Get USB host HID mouse driver to build. Error connect method prototypes.
2015-04-20 16:21:13 -06:00
Gregory Nutt
f7f3a7f74d
USB hub: Decouple class and hub structures
2015-04-20 12:06:47 -06:00
Gregory Nutt
356292b60e
Some trivial USB-related changes
2015-04-20 09:51:58 -06:00
Gregory Nutt
fa778aec07
USB hub: Add EP0 to all control transfers. There can be multiple EP0's with a hub
2015-04-20 09:35:43 -06:00
Gregory Nutt
9e0b239c37
Clean compile errors from last commit
2015-04-20 08:53:21 -06:00
Gregory Nutt
8e23ad72b5
USB hub: Add asych HCD interface
2015-04-20 08:41:33 -06:00
Gregory Nutt
0a014e0364
USB host: Cosmetic changes
2015-04-20 07:46:05 -06:00
Gregory Nutt
a6d9f0622c
USB hub: First steps to make interfaces backward compatible
2015-04-20 07:45:11 -06:00
Gregory Nutt
8c1c365ae7
Reorder structure members for better packing
2015-04-19 15:58:09 -06:00
Gregory Nutt
8a23c52650
USB Hub: Change an the usbhost_ctrlxfer interface; move some functions around
2015-04-19 14:26:17 -06:00
Gregory Nutt
820bc08c34
USB Hub: Fix a few compilation errors
2015-04-19 12:01:47 -06:00
Gregory Nutt
1971ea3d4e
Clean up some debug output
2015-04-19 11:24:06 -06:00
Gregory Nutt
de182f2a3a
Merge remote-tracking branch 'origin/master' into usbhub
...
Conflicts:
nuttx/include/nuttx/usb/usbhost.h
2015-04-19 10:55:20 -06:00
Gregory Nutt
7fcfca40b5
Bring in more logic from https://github.com/kaushalparikh/nuttx
2015-04-19 08:55:48 -06:00
Gregory Nutt
6bd7cfa823
Bring in USB hub-related files from https://github.com/kaushalparikh/nuttx . This is the work of Kaushal Parikh. This initial commit is incomplete. This is quite a bit more hub logic that needs to come in before the port is complete.
2015-04-18 16:20:02 -06:00
Gregory Nutt
726dadffb4
Add CONFIG_CDCACM_IFLOWCONTROL. Just hooks for now
2015-04-16 12:24:56 -06:00
Gregory Nutt
7bf9be7c33
Add hooks to CDC/ACM driver to support RX flow control
2015-04-16 09:11:51 -06:00
Gregory Nutt
a0866c0753
drivers/input/max11802.c: Fix possible unmatched IRQ restore. Noted by Juha Niskanen
2015-04-14 07:22:02 -06:00
Gregory Nutt
2aa80e06f5
Remove executable flag from more .c and .h files
2015-04-09 08:20:57 -06:00
Gregory Nutt
e4d2822af8
Make some file section headers more consistent with standard
2015-04-08 07:15:32 -06:00
Gregory Nutt
bf7b5746a5
Correct typos in comments
2015-04-03 08:01:39 -06:00
Gregory Nutt
e9e386ac6e
Add ILI9488 header file
2015-04-03 07:12:11 -06:00
Gregory Nutt
e78e762dd6
Add a very basic driver for the CS2100-CP Fractional-N Multipler chip.
2015-04-02 13:00:10 -06:00
Gregory Nutt
0ec67181c9
Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/.
2015-04-01 12:37:44 -06:00
Gregory Nutt
312ae5713e
PIC32MZ Ethernet: Add support for LAN8740A PHY
2015-03-29 07:05:30 -06:00
Gregory Nutt
469827640b
Add support for LAN8740
2015-03-23 15:34:10 -06:00
Gregory Nutt
495f420978
Extend the AT24 EEPROM driver so that it supports: (1) the byte-oriented read() method, (2) parts with extended memory regions, and (3) parts with 8-bit addressing.
2015-03-17 14:27:27 -06:00
Gregory Nutt
32aadd9cc2
SAMV7: Quick'n'dirty port of the SAMA5D4 Ethernet MAC driver to the SAMV7. Still some unresovled issues with DCache handling
2015-03-16 13:51:37 -06:00
Gregory Nutt
8783526a5f
Fix some bad logic when file system debug is turned on: Arguments to syslog were missing so that garbage was being printed.
2015-03-15 09:34:07 -06:00
Gregory Nutt
b83cea4f99
Back out 70cb75adaf3243478276cebf367c5f47c4725715
2015-03-13 10:40:09 -06:00
Gregory Nutt
c5953bd0e9
Debugging and manuals (this one https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf
...
and this one https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf ) shows that ACMD23
must be preceeded with CMD55 command as any other ACMD commands.
Also, after the block reading wait loop must be inserted before writing the next block of data to
the sd card
From Dmitry Nikolaev via Jussi Kivilinna
2015-03-13 07:26:16 -06:00
Gregory Nutt
3473bb1635
drivers/serial: Report correct number of bytes free in serial buffer with FIONWRITE. From Jussi Kivilinna.
2015-03-13 07:22:43 -06:00
Gregory Nutt
0a939ff218
Pipes: Fix zero-lenth writes. From Jussi Kivilinna
2015-03-13 07:21:06 -06:00
Gregory Nutt
dba41a7048
chdev_driver: Avoid NULL pointer dereference when bch->refs == 255. From Juha Niskanen
2015-03-12 07:58:36 -06:00
Gregory Nutt
26b9b5a252
usbdev: usbmsc_scsi: Add NULL pointer check. From Juha Niskanen
2015-03-12 07:55:53 -06:00
Gregory Nutt
21d6e41032
Add TUN device. From Max Neklyudov
2015-03-11 06:52:56 -06:00
Gregory Nutt
b5bfb6762d
Fix some BBRAM return values (from David Sidrane). Also some MTD-related cosmetic changes
2015-03-05 08:08:11 -06:00
Gregory Nutt
e41d78e848
Add missing CONFIG_SPI_CALLBACK selection to the drivers/spi/Kconfig. Noted by Freddie Chopin
2015-03-04 07:23:46 -06:00
Gregory Nutt
82251ccf28
Cosmetic updates from code review
2015-03-04 06:51:56 -06:00
Gregory Nutt
fada63014d
Review and bring closer to nuttx coding style
2015-03-02 10:18:25 -06:00
Gregory Nutt
e2e7c791c1
Refreshed Spark Configurations
2015-02-28 15:44:58 -06:00
Gregory Nutt
6cc74fecc8
Refresh configuration
2015-02-25 07:22:58 -06:00
Gregory Nutt
1c4863c24e
Trivial update to some comments
2015-02-24 06:41:28 -06:00
Gregory Nutt
4320b1b1a3
CAN driver: Another Ooops... Cannot save the updated driver open count if the we fail to initialize the CAN driver, causing the open to fail
2015-02-23 20:14:39 -06:00
Gregory Nutt
f4a2ebc220
CAN driver: Oop. unlink method does not exist if there operaions on the pseudo filesystem are disabled
2015-02-23 19:49:19 -06:00
Gregory Nutt
ebe289725b
in nuttx/drivers/can.c can_open function:
...
this line "dev->cd_ocount = tmp;" needs to be moved a few lines down otherwise the open count will only be incremented from 0 to 1. This causes problems when trying to open the can bus from two different tasks.
SourceForge Patch #46 from Anonymous
2015-02-23 19:28:52 -06:00
Gregory Nutt
63ab39b274
VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.
2015-02-18 09:34:58 -06:00
Gregory Nutt
e2336a07bb
The RTC ioctl() method is now a configuration option
2015-02-18 08:23:10 -06:00
Gregory Nutt
f94e601981
Add an IOCTL method to the RTC interface
2015-02-18 08:05:31 -06:00
Gregory Nutt
d6704a1cd7
Suffer the consequences of moving struct timeval to its correct location
2015-02-15 15:18:35 -06:00
Gregory Nutt
5cb233f712
RTC: A little more clean-up of the RTC driver
2015-02-15 08:19:23 -06:00
Gregory Nutt
fcadc2d8e4
Add an RTC upper half driver. This is the driver that is documented in include/nutt/rtc.h
2015-02-13 11:49:04 -06:00