Commit Graph

1323 Commits

Author SHA1 Message Date
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
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