Commit Graph

366 Commits

Author SHA1 Message Date
Gregory Nutt
d8c31bdf20 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
3233c043f2 Add logic to register the hub class to all board logic that initialize USB host 2015-04-28 11:53:26 -06:00
Gregory Nutt
86bfc4be75 Port hub support to LPC31 from SAMA5; Updated Olimex-LPC-H3131 for hub support and refresh configurations 2015-04-26 12:18:08 -06:00
Gregory Nutt
2a843b4496 Another hub-related interface change: Need to pass speed to EP0 2015-04-26 09:53:43 -06:00
Gregory Nutt
8c7371032c Olimex LPC1766STK: Refresh configuration, update README 2015-04-26 09:05:09 -06:00
Gregory Nutt
60c3061f7b Merge remote-tracking branch 'origin/master' into usbhub 2015-04-23 14:06:18 -06:00
Gregory Nutt
49415e7cc8 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -06:00
Gregory Nutt
0209aa3ca9 Merge from master 2015-04-23 07:17:28 -06:00
Gregory Nutt
eccc8e1304 Fix USB host polling; fix a typo in LPC17 HCD 2015-04-23 07:13:31 -06:00
Gregory Nutt
770b7f9e3c Update paths to CodeSourcery tools 2015-04-23 07:01:13 -06:00
Gregory Nutt
d5101f46ca USB hub: Change to connection interface so that applications can deal with external hubs 2015-04-22 12:28:19 -06:00
Gregory Nutt
44ac65e8ed Add USB hub initialization logic to a couple of board configurations 2015-04-21 13:44:14 -06:00
Gregory Nutt
db59d0a2e5 Fix name of misnamed file 2015-04-21 13:18:06 -06:00
Gregory Nutt
68a97a53ac Make some file section headers more consistent with standard 2015-04-08 09:15:17 -06:00
Gregory Nutt
afd812ae7a Update several defconfig files. Make sure that every defconfig file that requires external graphics initialization also approprietly initializes boardctl(). 2015-03-31 16:29:40 -06:00
Gregory Nutt
afe76e9b07 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
fdfe38ea0d 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
15b90de919 NSH initialization now calls boardctl(BOARDIOC_INIT) instead of board_app_initaliaze. Modify all configurations: Make sure that CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do that operation 2015-03-31 12:14:16 -06:00
Gregory Nutt
103a17d4f1 Rename arch_nshinitialize() to board_app_initialize() 2015-03-31 10:21:31 -06:00
Gregory Nutt
7583c94252 Move board_ prototypes from arch.h to board.h 2015-02-27 20:02:03 -06:00
Gregory Nutt
42327117a3 configs/: board function prototypes are now in include/nuttx/board.h. Remove from board header file; Add inclusion of nuttx/board.h to all files referencing board functions 2015-02-27 18:49:24 -06:00
Gregory Nutt
49e050f698 LPC17xx: Add IPv6 support to the LPC17 Ethernet driver. Untested... I no longer have a proper environment for LPC17 debug. 2015-02-10 14:04:08 -06:00
Gregory Nutt
764b5075bc Network: Add an IPv4 configuration option. Hardcoded to =y for now, but I would like to be able to select IPv4 and/or IPv6 in the future 2015-01-14 10:51:09 -06:00
Gregory Nutt
3715040386 Change CONFIG_NET_RECEIVE_WONDOW to CONFIG_NET_ETH_TCP_RECVWNDO or CONFIG_NET_SLIP_TCP_RECVWNDO in all defconfig files 2014-11-16 10:49:33 -06:00
Gregory Nutt
66f49ae9b4 Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU in all configs/ README.txt files 2014-11-16 08:18:56 -06:00
Gregory Nutt
fa0512a766 Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU is all configuration files 2014-11-16 08:07:16 -06:00
Gregory Nutt
127642d676 Network: Update SLIP configuration; Fix compile issues when building SLIP only 2014-11-15 14:36:49 -06:00
Gregory Nutt
f4e696f10f ARP: Add support for the case where there are multiple networks: One being Etherenet and the other not (say slip or perhaps someday PPP). In that case, we need to suppress ARP-related operations on the SLIP/PPP interface only 2014-11-14 18:25:33 -06:00
Gregory Nutt
f31dca368b Remove CONFIG_MAX_TASK_ARGS from all Kconfigs and defconfigs 2014-11-12 18:02:19 -06:00
Gregory Nutt
ca57ef9fac Change naming of HP work queue configuration varaibles to be symmetric with LP work queue naming 2014-10-11 17:03:44 -06:00
Gregory Nutt
857d0b8e76 Remove non-standard, conditional syslog_enable(), instead only the required, standard setlogmask() 2014-10-09 06:09:03 -06:00
Gregory Nutt
a9fa023ae1 All USB MSC-related files under nuttx/configs changed to use the corrected syslog interfaces 2014-10-08 14:59:10 -06:00
Gregory Nutt
4d851b150d All NSH-related files under nuttx/configs changed to use the corrected syslog interfaces 2014-10-08 14:28:55 -06:00
Gregory Nutt
4aa785a503 Rename CONFIG_EXAMPLES_NXCONSOLE to CONFIG_EXAMPLES_NXTERM; rename CONFIG_NXWM_NXCONSOLE to CONFIG_NXWM_NXTERM 2014-09-20 14:25:51 -06:00
Gregory Nutt
1a1ed4a112 Rename CONFIG_NXCONSOLE* to CONFIG_NXTERM* 2014-09-20 14:18:08 -06:00
Gregory Nutt
e09923cd8e Every defconfig file should now have a valid setting for CONFIG_WDOG_INTRESERVE 2014-09-03 06:55:06 -06:00
Gregory Nutt
3dd8c08714 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt
f15246ec6c Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported 2014-08-31 10:54:55 -06:00
Gregory Nutt
1b2a96c965 Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support 2014-08-24 06:42:11 -06:00
Gregory Nutt
49deb059d4 Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems 2014-08-07 13:42:47 -06:00
Gregory Nutt
7edc6a5666 Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
bb6ba5198b Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN 2014-07-16 16:31:31 -06:00
Gregory Nutt
cbe4d3573d Rename apps/examples/uip to apps/examples/webserver 2014-07-03 17:31:17 -06:00
Gregory Nutt
285f66a2c1 NET: Rename uiplib/UIPLIB to netlib/NETLIB 2014-07-02 16:04:25 -06:00
Gregory Nutt
bbcdf15eea TCP Read-Ahead: Convert to use I/O buffer chains 2014-06-24 15:38:00 -06:00
Gregory Nutt
f3df5f2bb5 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
2dbaed4779 The alternate console device CONFIG_NSH_CONDEV must not be defined unconditionally. This causes errors when using Telnet sessions. This was solved by adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables the feature then, if enabled, CONFIG_NSH_CONDEV provides the alternative console device name 2014-05-05 08:52:02 -06:00
Gregory Nutt
e9b40ac791 olimex-lpc1766stk: Refreshed all configurations 2014-04-19 09:00:53 -06:00
Gregory Nutt
8417705388 Remove other traces of network interrupt prioritization 2014-04-19 08:12:22 -06:00
Gregory Nutt
51950d7850 Undefine IRQPRIO in all configurations it should not be set 2014-04-16 08:29:39 -06:00
Gregory Nutt
ec6a588735 examples/touchscreen: Add a configuration option to indicate that there is or is not an architecture-specific initialization function 2014-04-14 12:26:49 -06:00
Gregory Nutt
ab5b37189b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
069ea487ae Long needed clean up of DNS resolver for coding style and naming conventions 2014-04-11 12:25:32 -06:00
Gregory Nutt
6cf9895b95 configs/*/defconfig: Increase the number of pre-allocated watchdogs in configurations that use networking or USB 2014-04-09 10:57:56 -06:00
Gregory Nutt
0cefef9cb5 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
cc440d478f LPC17 USB Host: Minor clean-up after performing some regressin testing 2014-03-19 08:33:15 -06:00
Gregory Nutt
b0c49a71a0 Refresh configuration files 2014-03-06 17:16:46 -06:00
Gregory Nutt
7050b91155 Removed the CONFIG_NUTTX_NEWCONFIG setting from every defconfig file 2014-03-06 12:23:26 -06:00
Gregory Nutt
d7d856e504 Use common naming for all buildroot toolchains 2014-03-05 15:37:07 -06:00
Gregory Nutt
f6b32dce82 configs/olimex-lpc1766stk/slip-httpd: Configuration converted to use the kconfig-frontends tools 2014-03-04 17:30:37 -06:00
Gregory Nutt
b209a85dc9 configs/olimex-lpc1766stk/thttpd: Configuration converted to use the kconfig-frontends tools 2014-03-04 13:08:11 -06:00
Gregory Nutt
b4329b4122 configs/olimex-lpc1766stk/usbmsc: Configuration converted to use the kconfig-frontends tool 2014-03-03 14:27:35 -06:00
Gregory Nutt
237ef891d0 Make network buffering sizes consistent in all configurations 2014-03-03 12:24:43 -06:00
Gregory Nutt
b9246061fb configs/olimex-lpc1766stk/nx converted to use the kconfig-frontends 2014-03-02 12:26:52 -06:00
Gregory Nutt
f32456d562 configs/eagle100/nsh converted to use the kconfig-frontends tools 2014-03-01 14:12:05 -06:00
Gregory Nutt
58eed436e9 Removed almost all ostest configurations 2014-02-28 19:19:11 -06:00
Gregory Nutt
de80fe2e04 configs/*/defconfig: If CONFIG_NSH_LIBRARY is set, make sure that CONFIG_NSH_READLINE is also set or the configuration will use the CLE the next time it is reconfigured 2014-02-28 07:45:51 -06:00
Gregory Nutt
f1ae3f4c76 Comment out all CONFIG_APPS_DIR settings in all defconfig files. We con't know where the apps/ dir will be be until install time 2014-02-21 15:35:53 -06:00
Gregory Nutt
95dda8aa1d SAM4E: Add support for PIO and peripheral clocks 2014-02-21 12:34:04 -06:00
Gregory Nutt
fc490f3ff8 Fix some errors that crept into the conversion of an Olimex-LPC1766STK configuration 2014-02-21 11:30:12 -06:00
Gregory Nutt
0968c7c21a Olimex LPC1766STK: FTPC configure changed to use the kconfig-fronteds tools by Alan Carvalho de Assis 2014-02-20 15:34:59 -06:00
Gregory Nutt
a9f5fdd35d HID mouse can now support some while mice. Problems with Microsoft mice 2014-02-10 11:53:37 -06:00
Gregory Nutt
8b988d77b0 Add a mouse interface that is similar to the touchscreen interface except that it can handle multple buttons and continuously reports positional data so that it can control a cursor 2014-02-10 10:14:22 -06:00
Gregory Nutt
ded32fca06 The USB HID mouse driver is now functional. There are some usage issues as described in the top-level TODO list 2014-02-09 17:40:23 -06:00
Gregory Nutt
d39603808d LP1766-STK: Add a configuration to test the USB HID mouse 2014-02-09 16:00:57 -06:00
Gregory Nutt
12befe10ed Rename Olimex LPC1766-STK files to conform with current naming standards 2014-02-09 15:57:02 -06:00
Gregory Nutt
b58bac3909 Rename Olimex LPC1766-STK files to conform with current naming standards 2014-02-09 15:56:20 -06:00
Gregory Nutt
4e5d89dd3c Add support for a USB HID mouse. Untested on initial check-in 2014-02-09 13:49:31 -06:00
Gregory Nutt
42a86a9cba rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
f797601f19 Rename up_irqbutton() to board_button_irq() 2014-01-24 14:04:07 -06:00
Gregory Nutt
f4d84ecd7e Rename up_buttons() to board_buttons() 2014-01-24 13:59:24 -06:00
Gregory Nutt
e5bfdcf36c Rename up_buttoninit to board_button_intialize 2014-01-24 13:50:23 -06:00
Gregory Nutt
efbf03ad76 The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
58562d0dec Refresh the Olimex LPC1766STK NSH configuration 2014-01-20 17:02:22 -06:00
Gregory Nutt
97146e7ab1 Update paths to more recent CodeSourcery toolchain 2014-01-20 16:59:13 -06:00
Gregory Nutt
b517ccdb99 Misc changes from Richard Cochran 2014-01-15 11:05:15 -06:00
Gregory Nutt
ac8ace08f1 Change how TCP read-ahead is selected to better integrate with TCP write buffering 2014-01-13 13:55:51 -06:00
Gregory Nutt
91052a1029 Finishes separation of debug symbols and optimization selections 2013-12-20 13:23:42 -06:00
Gregory Nutt
0a11d8767f Make naming consistent for USB host initialiation functions 2013-11-29 14:31:44 -06:00
Gregory Nutt
3b5689da2b examples/hidkbd now expects an architecture-specific USB HOST initialization function 2013-11-29 14:31:38 -06:00
Gregory Nutt
33e3bbefd5 Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested 2013-09-25 18:50:14 -06:00
Gregory Nutt
229c5748c5 Move apps/examples/cdcacm to apps/system/cdcacm 2013-09-25 17:23:03 -06:00
Gregory Nutt
024cb72187 Move apps/examples/usbmsc to apps/system/usbmsc 2013-09-25 16:54:39 -06:00
Gregory Nutt
6c78acdd84 A consequence of previous change: Configurations that select a PHY also need to set CONFIG_NETDEVICES or PHY configuration will be lost on the next reconfiguration 2013-09-17 17:13:20 -06:00
Gregory Nutt
c233db1327 Add prefex ETH0 to all PHY configurations to support multiple NICs 2013-09-17 10:44:23 -06:00
Gregory Nutt
9638bff522 Rename examples/usbstorage to examples/usbmsc. From CCTSAO 2013-09-05 08:07:03 -06:00
Gregory Nutt
f19af5572d Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
8134ab2d3d Clean up some LP17xx and STM32 USB host configuration compilation errors due to the massive changes to the USB host interfaces needed to support the SAMA5 2013-08-13 17:43:19 -06:00
Gregory Nutt
567c513046 Separate wait() and enumerate() methods from struct usbhost_driver_s and move to new interface, struct usbhost_connection_s. This is part of the necessary restructuring of the USB host interface to support multiple root hub ports. 2013-08-13 15:03:46 -06:00
Gregory Nutt
3fbe4dd685 First of several changes needed to support multiple USB host root hubs 2013-08-12 14:44:06 -06:00