Commit Graph

2120 Commits

Author SHA1 Message Date
Gregory Nutt
8ed11a374d EHCI HCDs will now support cancellation of syncrhonous transfers 2015-05-11 11:43:31 -06:00
Gregory Nutt
7a3fafb67f OHCI HCDs will not support cancellation of syncrhonous transfers 2015-05-11 10:36:17 -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
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
c15cc6e8f0 Add CDC/ACM notification structure. 2015-05-04 13:43:19 -06:00
Gregory Nutt
1f15b552ed Costmetic update to some comments 2015-05-02 14:34:49 -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
5c76c53909 EHCI HUB: Fix some issues related to speed and device addresses 2015-04-28 09:43:06 -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
80ded9de86 Merge remote-tracking branch 'origin/master' into usbhub 2015-04-26 09:06:43 -06:00
Gregory Nutt
0dc464e556 fb.h: Costmetic changes 2015-04-26 08:02:01 -06:00
Gregory Nutt
64fe226669 USB Hub: Cosmetic update to some naming 2015-04-24 18:32:09 -06:00
Gregory Nutt
7d7ab442e1 If asynchronous tranfers are supported, then there must also be a mechanism to cancel the pending transfer 2015-04-24 11:23:52 -06:00
Gregory Nutt
c9da86b4f0 Merge remote-tracking branch 'origin/master' into usbhub 2015-04-24 07:55:02 -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
d11af85ddf Merge remote-tracking branch 'origin/master' into usbhub 2015-04-23 14:06:18 -06:00
Gregory Nutt
0092f79696 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -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
be2ed7eba7 Merge in from Master 2015-04-23 06:34:49 -06:00
Gregory Nutt
9c61847203 USB Hub: Initial implementation asynchronous pipe I/O in the LPC17 HCD needed for hub support 2015-04-22 15:03:25 -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
df4e24ddeb include/assert.h: Wrap definitions of assertion macros in do while. Suggested by orbitalfox 2015-04-22 07:35:35 -06:00
Gregory Nutt
8e9fd9b838 USB HCDs: Add hooks for the async method 2015-04-21 15:43:12 -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
6b27c48068 Merge in from master 2015-04-21 09:32:19 -06:00
Gregory Nutt
4608544f65 time.h: Add localtime prototypes; NSH: Correct test for gmtime_r return value 2015-04-21 09:26:18 -06:00
Gregory Nutt
db3b235fe6 SAMA5 OHCI and EHCI: Now conform to new interfaces to support hubs 2015-04-21 08:59:30 -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
814ce6fd02 Merge from master 2015-04-20 09:56:00 -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
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
a0713bfd1a Merge branch 'master' of ssh://git.code.sf.net/p/nuttx/git into usbhub 2015-04-19 11:45:22 -06:00
Gregory Nutt
80934d147c Oops forgot to add the hub.h file in a preceding commit 2015-04-19 11:44:58 -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
cc134049a9 Fix a few typos 2015-04-19 09:15:07 -06:00
Gregory Nutt
f9fc49aecc Fix some typos, clean up some naming 2015-04-19 09:14:00 -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
98de2f5712 USB Hub: Add USB hub header file from Kaushal Parikh 2015-04-18 11:39:26 -06:00
Gregory Nutt
34d1d2907d MAX_RAND should be RAND_MAX 2015-04-16 09:35:29 -06:00
Gregory Nutt
f087e35676 A little localtime clean-up 2015-04-14 10:46:05 -06:00
Gregory Nutt
7a745c3fa4 Use common macro(s) for calculating link layer header length. From Brennan Ashton. 2015-04-13 13:53:13 -06:00
Gregory Nutt
fc45d5a2b7 SIG_HOLD is not yet implemented 2015-04-09 11:25:15 -06:00
Gregory Nutt
81703e6fad Add sigset() 2015-04-09 10:16:35 -06:00
Gregory Nutt
4c60fe666c Add sighold(), sigrelse(), sigignore(), and sigpause(). 2015-04-09 08:07:09 -06:00
Gregory Nutt
855e40ee7d Make some file section headers more consistent with standard 2015-04-08 07:25:06 -06:00
Gregory Nutt
190c9adef0 Implements CONFIG_TIME_EXTENDED as we discussed relative to providing the last 3 members of the tm struct and support for filling them in and even using the wday in the STM32 RTC. From David Sidrane. 2015-04-08 06:56:43 -06:00
Gregory Nutt
2a82dc66f9 drawline/drawLine should not take a boolean to select non lines caps or capping at both ends. drawline/drawLine also needs to be able to put a line cap on one one end of a line 2015-04-05 16:53:51 -06:00
Gregory Nutt
ae03d56700 Add a 'capped' boolean parameter to all drawline/drawLine functions/methods. The idea is that this will produce better joining between lines 2015-04-05 08:50:01 -06:00
Gregory Nutt
02beb0d449 More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize 2015-04-04 11:49:15 -06:00
Gregory Nutt
b72cf3366c SAMV7: Add SMC register definition header file; SAMV71-Xult: Add an LCD driver. The initial commit is simply the SAVM4E-EK ILI9375 driver will bogus name changes to ILI9488. 2015-04-03 10:28:32 -06:00
Gregory Nutt
da57730440 Remove carriage returns from file 2015-04-03 07:20:28 -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
06866bb2c5 Fix some missing inclusions in include/nuttx/board.h 2015-04-01 18:35:46 -06:00
Gregory Nutt
6667517c24 Header file for the CS2100-CP 2015-04-01 16:56:27 -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
97acb5d9ee Update Documentation 2015-04-01 09:05:43 -06:00
Gregory Nutt
f6e6dacb17 Rename pwm_devinit() to board_pwm_setup(). Add CONFIG_BOARDCTL_PWMTEST that will enable calling board_pwm_setup() from boardctl(). Replace calls to pwm_devinit() in apps/examples/pwm with calls to boardctl(). In all configurations that enable the apps/examples/pwm test, make sure that boardctl() suppoprt is properly enabled. 2015-03-31 16:59:22 -06:00
Gregory Nutt
ded2001121 Rename up_nxdrvinit() to board_graphics_setup(). Add CONFIG_BOARDCTL_GRAPHICS that will enabled calls to board_graphics_setup() from boardctrl(). In apps/ and NxWidgts/, replace all calls to up_nxdrvinit with calls to boardctl(). 2015-03-31 16:20:21 -06:00
Gregory Nutt
4212b9b385 Rename adc_devinit() to board_adc_setup(). Add support to the boardctl() interface so that it can call board_adc_setup() on behalf of an application. Change apps/examples/adc to that is now calls boardctl() instead of adc_devinit() in order to initalize the ADC device. 2015-03-31 15:00:23 -06:00
Gregory Nutt
cf95d1a995 rch_tcinitialize() and arch_tcunitinitialize() renamed to board_tsc_setup() and board_tsc_teardown(). These are not long called directly by applications but only indirectly throught the crappy boardctl() OS interface. 2015-03-31 13:21:25 -06:00
Gregory Nutt
d5eec39096 Fix some problems with a preceding commit 2015-03-31 11:59:16 -06:00
Gregory Nutt
b4b40d338a boardctl(): Add a new non-standard OS interface. This is similar to a driver IOCTL call. But this is an IOCTL call directly on the board logic. This function will eventually replace all of the ad hoc OS interfaces that are current used to perform application specific intialiation and application driver test confifuration. It essentially formalizes and institutionalizes these rogue interface in to at least a single crazy call. 2015-03-31 11:25:52 -06:00
Gregory Nutt
9c0441e2da Rename arch_nshinitialize() to board_app_initialize() 2015-03-31 10:21:31 -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
4945e23772 Trivial update to comments 2015-03-20 18:07:32 -06:00
Gregory Nutt
56e24b561f Add Olimexino-STM32 board support from David Sidrane 2015-03-20 18:00:10 -06:00
Gregory Nutt
6156d5f2fe SAMV71-XULT: Add support for a ConfigData device on the 256 AT24 EEPROM 2015-03-19 14:53:05 -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
8055ba4d03 Pass the umount2() flags to every unbind() implementation. That is where the the decision to umount or not will be made. 2015-03-14 17:22:02 -06:00
Gregory Nutt
f932b26db1 Add umount2(). umount() is now a macro that just calls umount2() with flags = 0. 2015-03-14 16:48:45 -06:00
Gregory Nutt
21d6e41032 Add TUN device. From Max Neklyudov 2015-03-11 06:52:56 -06:00
Gregory Nutt
76007d28f5 Add support for dumping board-specific information on assertion. From David Sidrane 2015-03-04 07:00:29 -06:00
Gregory Nutt
cb5cb96bc9 Fix issues when AES support was added for the STM32L1. From Juha Niskanen 2015-03-04 06:38:03 -06:00
Gregory Nutt
ca35d73586 I2C interface: Add a parmeter to I2C slave callback 2015-03-03 14:48:52 -06:00
Gregory Nutt
81e8524588 SPI: Add a board-specific SPI device value 2015-03-02 10:17:12 -06:00
Gregory Nutt
696e99b69a Update comment and documentation for board interfaces 2015-02-28 06:46:19 -06:00
Gregory Nutt
e7a500003f Remove some prototypes from arch.h that do not belong there 2015-02-27 20:06:11 -06:00
Gregory Nutt
12d61531aa Move board_ prototypes from arch.h to board.h 2015-02-27 20:02:03 -06:00
Gregory Nutt
07a8148538 included/nuttx/board.h: Move all board common prototypes to this header file 2015-02-27 17:17:42 -06:00
Gregory Nutt
bcae42b653 Costmetic updates comments and style; Add NFS dependency on IPv4 2015-02-26 06:04:23 -06:00
Gregory Nutt
5afa3ec59d Add BSD and SYSV types to sys/types to simplify porting. From Max Neklyudov 2015-02-25 14:01:14 -06:00
Gregory Nutt
04d122c31f Adjust microMIPS compile options to enable interlinking with 32-bit code 2015-02-25 09:54:48 -06:00
Gregory Nutt
82fcd4ea0e Add some definitions expected by NFS. Noted by Orbital Fox 2015-02-25 08:59:16 -06:00
Gregory Nutt
dbb281319a netinet/in.h: Add some IPv6 macros 2015-02-25 08:26:40 -06:00
Gregory Nutt
10852dcc25 Extend the fd_set type definition so that it can handle more than 32 descriptors (if so configured). From Max Neklyudov 2015-02-25 08:05:42 -06:00