Commit Graph

882 Commits

Author SHA1 Message Date
patacongo
1efaf770f6 Correct STM32 SPI3 bug reported by Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3343 42af7a65-404d-4744-a932-0658087f49c3
2011-03-06 00:19:59 +00:00
patacongo
167040b9e1 First cut at x86 build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3336 42af7a65-404d-4744-a932-0658087f49c3
2011-03-04 22:25:03 +00:00
patacongo
8a8e7670ba Changes for clean STM32 compile with DEBUG on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3332 42af7a65-404d-4744-a932-0658087f49c3
2011-03-02 22:49:59 +00:00
patacongo
40d85c0eeb Add logic to sleep in lpc17xx idle loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3329 42af7a65-404d-4744-a932-0658087f49c3
2011-03-02 14:43:28 +00:00
patacongo
d467796fb5 Special IDLE for STM32 will execut WFI to sleep until an interrupt occurs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3324 42af7a65-404d-4744-a932-0658087f49c3
2011-02-27 21:27:20 +00:00
patacongo
681c44829c Add support for the ISOTEL NetClamps VSN board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3321 42af7a65-404d-4744-a932-0658087f49c3
2011-02-27 15:42:07 +00:00
patacongo
b283cb1e4f Add beginning of m9s12x GPIO support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3317 42af7a65-404d-4744-a932-0658087f49c3
2011-02-25 23:05:37 +00:00
patacongo
ad68fbaf5a Update comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3275 42af7a65-404d-4744-a932-0658087f49c3
2011-01-23 18:13:49 +00:00
patacongo
911c2f74b3 Correct a crash when keyboard removed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3266 42af7a65-404d-4744-a932-0658087f49c3
2011-01-20 01:09:06 +00:00
patacongo
f8ba6a446f Fix issues detected by CppCheck tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3261 42af7a65-404d-4744-a932-0658087f49c3
2011-01-19 20:02:23 +00:00
patacongo
e4c3823a2d Add logic to map keyboard scancodes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3257 42af7a65-404d-4744-a932-0658087f49c3
2011-01-18 02:17:49 +00:00
patacongo
a7c0da9a2e More HID keyboard progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3256 42af7a65-404d-4744-a932-0658087f49c3
2011-01-17 13:52:33 +00:00
patacongo
39c428afc2 More HID keyboard support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3255 42af7a65-404d-4744-a932-0658087f49c3
2011-01-16 19:08:16 +00:00
patacongo
e7207f8788 Make space for int/isoc endpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3254 42af7a65-404d-4744-a932-0658087f49c3
2011-01-16 14:02:42 +00:00
patacongo
a8ddd74948 Many changes in preparation for HID keyboard
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3253 42af7a65-404d-4744-a932-0658087f49c3
2011-01-15 22:30:23 +00:00
patacongo
f8e8f1dec3 TD's no longer hard allocated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3252 42af7a65-404d-4744-a932-0658087f49c3
2011-01-15 17:46:55 +00:00
patacongo
54354db02a Extend the ED and get the transfer type into the ED
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3251 42af7a65-404d-4744-a932-0658087f49c3
2011-01-14 18:38:46 +00:00
patacongo
263884e68a Add support for lowspeed devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3244 42af7a65-404d-4744-a932-0658087f49c3
2011-01-12 04:03:27 +00:00
patacongo
9e4d5b87eb Improve endpoint management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3240 42af7a65-404d-4744-a932-0658087f49c3
2011-01-11 01:41:06 +00:00
patacongo
6992701370 Basic USB host functionality in place
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3236 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 15:35:08 +00:00
patacongo
62fc52a04b Remove some unnecessary tests
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3235 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 02:42:02 +00:00
patacongo
1716aa6ee6 Fix misc race conditions and use of stale pointer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3234 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 02:15:30 +00:00
patacongo
3819a76c46 Mostly debug stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3233 42af7a65-404d-4744-a932-0658087f49c3
2011-01-04 03:04:06 +00:00
patacongo
d8a4685f86 FunctionAddress no longer hard-coded
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3231 42af7a65-404d-4744-a932-0658087f49c3
2011-01-02 20:05:28 +00:00
patacongo
fd1139cef9 Handle case where USB device inserted at power up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3230 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 20:57:50 +00:00
patacongo
7b3f0baf8f Don't duplicate structures in ohci.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3228 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 15:43:53 +00:00
patacongo
fca2367741 Misc debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3227 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 15:08:18 +00:00
patacongo
627312338f Initial debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3226 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 20:59:23 +00:00
patacongo
5ab2aef5d5 Address should not be shifted in SET_ADDRESS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3225 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 18:50:39 +00:00
patacongo
6f7f8e122d Correct logic that turns on USB host power
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3224 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 17:25:24 +00:00
patacongo
7df554e50c Handling missing RHSC interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3223 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 23:08:46 +00:00
patacongo
6dcd866171 mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3222 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 02:25:14 +00:00
patacongo
f3bea2a996 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3221 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 01:15:40 +00:00
patacongo
56904cac23 Remove some garbage left in the file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3220 42af7a65-404d-4744-a932-0658087f49c3
2010-12-28 03:11:25 +00:00
patacongo
653e97e0ee Separate enumeration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3219 42af7a65-404d-4744-a932-0658087f49c3
2010-12-28 02:22:11 +00:00
patacongo
829ed392e5 Update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3216 42af7a65-404d-4744-a932-0658087f49c3
2010-12-22 03:12:55 +00:00
patacongo
993e2a1c96 First debug changes for USB host
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3215 42af7a65-404d-4744-a932-0658087f49c3
2010-12-22 02:02:14 +00:00
patacongo
5d831782b3 Mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3214 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 19:51:41 +00:00
patacongo
7a63ef241a Add logic to get info from the device descriptor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3213 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 17:29:03 +00:00
patacongo
118bbc7e57 misc resource utilization fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3212 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 15:57:40 +00:00
patacongo
2760b554ea Init TDSTATUS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3211 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:26:34 +00:00
patacongo
4ba5fc781b Need to init IO buffer free list
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3210 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:13:16 +00:00
patacongo
c623494f6d Add some range checking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3209 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:05:25 +00:00
patacongo
30f1331d9d Correct some initialization sequence issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3208 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 11:44:51 +00:00
patacongo
ec80cc2e27 Clean up comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3207 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 11:21:07 +00:00
patacongo
9c199de133 Add USB host support to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3206 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 02:36:11 +00:00
patacongo
3fa31701e5 backward comparison
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3205 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:45:08 +00:00
patacongo
91fe0544dc Separate waiting for a device and enumerating a device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3204 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:41:03 +00:00
patacongo
b0536844c6 Final cleanup before testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3203 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:10:29 +00:00
patacongo
5a16745519 Finishes first cut
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3202 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 21:48:16 +00:00
patacongo
f9c678f4d0 Add a little more
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3201 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 20:59:12 +00:00
patacongo
55a5671383 minor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3200 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 16:51:15 +00:00
patacongo
4b7b96c759 Add class binding logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3198 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 19:18:29 +00:00
patacongo
b82df87c67 More descriptor stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3197 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 17:49:53 +00:00
patacongo
9d232b5204 Make number of user endpoints configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3196 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 15:58:45 +00:00
patacongo
62a7c1eeac Finishes first cut at USB host MS class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3195 42af7a65-404d-4744-a932-0658087f49c3
2010-12-18 17:35:54 +00:00
patacongo
28dbae0dd0 Changes to get USB host driver compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3184 42af7a65-404d-4744-a932-0658087f49c3
2010-12-16 00:33:12 +00:00
patacongo
9667566a3a update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3181 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 12:09:57 +00:00
patacongo
96e143f568 Need to set global power
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3180 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 04:20:55 +00:00
patacongo
ebccf53570 Add start of USB host controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3176 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 02:03:21 +00:00
patacongo
5c1b9f0cd5 Create include/nuttx/usb directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3170 42af7a65-404d-4744-a932-0658087f49c3
2010-12-14 03:33:39 +00:00
patacongo
950f02ef11 LCD bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3166 42af7a65-404d-4744-a932-0658087f49c3
2010-12-07 03:06:19 +00:00
patacongo
2971ed66c0 Add NX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3165 42af7a65-404d-4744-a932-0658087f49c3
2010-12-06 05:15:14 +00:00
patacongo
8be8139d19 USB class drivers need to call DEV_CONNECT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3159 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 17:35:19 +00:00
patacongo
59d25457d1 P14201 driver now uses new SPI cmddata method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3158 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 01:56:50 +00:00
patacongo
45434cd49d Add cmddata method to the SPI interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3157 42af7a65-404d-4744-a932-0658087f49c3
2010-12-03 01:37:56 +00:00
patacongo
8ffd2fe4ef Fix dma-related register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3152 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 22:31:28 +00:00
patacongo
b9437abff4 Back out last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3151 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 21:20:21 +00:00
patacongo
a92f128b34 Minor usb-related
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3150 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 19:35:24 +00:00
patacongo
8822ca3aba Misc USB fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3149 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 16:52:07 +00:00
patacongo
42c9324644 Debuggin SPI-based MicroSD card
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3147 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 01:55:22 +00:00
patacongo
5ce035e199 Enable network and SD/MMC card support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3145 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 17:26:08 +00:00
patacongo
dcf1a752c4 Make size of LPC1766 EMAC RAM configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3142 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 13:37:41 +00:00
patacongo
e3d544b780 Files needed to make LPC17xx EMAC RAM more configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3141 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 01:04:11 +00:00
patacongo
c4482055d2 uip_arp_ipin needs a struct uip_driver_s as an input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3132 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 20:55:46 +00:00
patacongo
2978ada510 Enable Broadcast RX unconditionally
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3127 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 02:44:23 +00:00
patacongo
f56992821c Misc receive improvements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3125 42af7a65-404d-4744-a932-0658087f49c3
2010-11-24 01:47:22 +00:00
patacongo
82519b509d Now get RX message
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3124 42af7a65-404d-4744-a932-0658087f49c3
2010-11-24 00:43:08 +00:00
patacongo
02cd4e9afc expand a comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3123 42af7a65-404d-4744-a932-0658087f49c3
2010-11-21 15:48:25 +00:00
patacongo
7a8f6fd6fd Fix final PHY configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3122 42af7a65-404d-4744-a932-0658087f49c3
2010-11-21 14:49:48 +00:00
patacongo
753e871807 Dumping wrong GPIO regs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3121 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 19:18:59 +00:00
patacongo
9dbc296256 Fixed debug logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3120 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 18:32:37 +00:00
patacongo
a031ddc39f Fix Cortex-M3 nested interrupt hard fault
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3119 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 00:39:29 +00:00
patacongo
8c0e236c6f Add logic to clear pending EMAC interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3118 42af7a65-404d-4744-a932-0658087f49c3
2010-11-18 01:36:04 +00:00
patacongo
26687ad87f misc updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3116 42af7a65-404d-4744-a932-0658087f49c3
2010-11-17 03:16:26 +00:00
patacongo
b003840d5d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3115 42af7a65-404d-4744-a932-0658087f49c3
2010-11-16 03:48:55 +00:00
patacongo
cb9ded19c7 Initial debug fixes for LPC1766 ethernet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3114 42af7a65-404d-4744-a932-0658087f49c3
2010-11-16 02:50:52 +00:00
patacongo
c43ead1a49 Fix bugs/typos from code review
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3113 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 22:58:48 +00:00
patacongo
72a5fdfdd9 Fix some cloning errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3112 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 21:12:59 +00:00
patacongo
99e6693dc4 Fix compile errors with debug on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3111 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 02:25:06 +00:00
patacongo
3bbbecd347 Clean-up and document LP17xx ethernet driver configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3109 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 17:33:45 +00:00
patacongo
06ab352a16 Finishes first cut of lpc17xx Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3108 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 15:32:48 +00:00
patacongo
5c508e5f15 Add Rx logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3107 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 14:33:47 +00:00
patacongo
22d47d2263 Add ethernet interrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3106 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 19:31:01 +00:00
patacongo
ab6ca23572 Finish Ethernet initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3105 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 18:35:30 +00:00
patacongo
1f423c1c68 Add tx/rx descriptor initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3104 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 17:55:38 +00:00
patacongo
e5e5d8f404 ifup() is partially complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3103 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 03:53:14 +00:00
patacongo
451bfc3f93 mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3102 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 23:15:30 +00:00
patacongo
a63db19e0e Tinkering with PHY init
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3101 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 05:48:28 +00:00
patacongo
c4d8a83238 Add PHY init logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3100 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 04:21:23 +00:00