Commit Graph

280 Commits

Author SHA1 Message Date
patacongo
37d2dbf0d4 Lots of re-organization -- getting ready to support a composite USB device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4329 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 21:51:26 +00:00
patacongo
ee04a259db ADS7843E driver is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4018 42af7a65-404d-4744-a932-0658087f49c3
2011-10-04 17:08:59 +00:00
patacongo
c4b3e3185f Cosmetic changes to fat and mass storage device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3985 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 01:46:31 +00:00
patacongo
4b04e5e54e A couple of files were not added
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3984 42af7a65-404d-4744-a932-0658087f49c3
2011-09-27 22:04:44 +00:00
patacongo
be64d255fc Move MSC descriptors to a separate file; File 13 char long file names.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3983 42af7a65-404d-4744-a932-0658087f49c3
2011-09-27 22:04:03 +00:00
patacongo
1be465a419 Separate all CDC ACM descriptors into a separate C file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3982 42af7a65-404d-4744-a932-0658087f49c3
2011-09-27 20:11:14 +00:00
patacongo
884f9e2533 CDC ACM fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3981 42af7a65-404d-4744-a932-0658087f49c3
2011-09-27 17:05:24 +00:00
patacongo
3ea96865fa Add examples/usbterm
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3976 42af7a65-404d-4744-a932-0658087f49c3
2011-09-26 16:52:20 +00:00
patacongo
a961af1303 A little progress with CDC ACM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3959 42af7a65-404d-4744-a932-0658087f49c3
2011-09-16 18:42:54 +00:00
patacongo
a19d172611 More CDC serial updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3954 42af7a65-404d-4744-a932-0658087f49c3
2011-09-15 13:26:00 +00:00
patacongo
a96e7ec9d5 Add CDC ACM serial class device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3953 42af7a65-404d-4744-a932-0658087f49c3
2011-09-13 19:04:13 +00:00
patacongo
6fc0c99569 Working toward CDC serial USB device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3952 42af7a65-404d-4744-a932-0658087f49c3
2011-09-12 23:16:16 +00:00
patacongo
fc7db01820 Correct USB mass storage memory leak
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3820 42af7a65-404d-4744-a932-0658087f49c3
2011-07-26 17:27:57 +00:00
patacongo
37b42d4259 Fix AVR warnings; FAT FS needs to use off_t instead of size_t
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3728 42af7a65-404d-4744-a932-0658087f49c3
2011-06-20 20:54:45 +00:00
patacongo
1ba2240762 Add initial CC1101 wireless logic from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3617 42af7a65-404d-4744-a932-0658087f49c3
2011-05-16 15:09:39 +00:00
patacongo
0374d16b98 I2C fixes from Uros; USB serial fix from Sheref; + A little more kernel mode stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3479 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 21:22:06 +00:00
patacongo
12afb230bf Fixes for kernel stub builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3473 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 16:40:47 +00:00
patacongo
fa8015b26e Rename usb_storage.h to storage.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3243 42af7a65-404d-4744-a932-0658087f49c3
2011-01-12 02:12:41 +00:00
patacongo
148e5c46ce typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3192 42af7a65-404d-4744-a932-0658087f49c3
2010-12-18 00:31:38 +00:00
patacongo
3f103dacc9 USB host MS class compiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3186 42af7a65-404d-4744-a932-0658087f49c3
2010-12-16 01:29:51 +00:00
patacongo
e6cfd5a84d Add drivers/usbhost
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3171 42af7a65-404d-4744-a932-0658087f49c3
2010-12-14 03:39:31 +00:00
patacongo
304380c2f0 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
fbd11d66b3 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
9df7fba149 Fix compile error in usbdev_serial.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2867 42af7a65-404d-4744-a932-0658087f49c3
2010-08-18 23:27:36 +00:00
patacongo
7b7d120995 Important fixed to USB storage and SCSI state machine from David Hewson
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2571 42af7a65-404d-4744-a932-0658087f49c3
2010-04-04 16:21:13 +00:00
patacongo
4b613104d0 Fix compilation bugs when DUALSPEED is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2564 42af7a65-404d-4744-a932-0658087f49c3
2010-03-28 21:41:49 +00:00
patacongo
9634f25391 Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2343 42af7a65-404d-4744-a932-0658087f49c3
2009-12-15 14:25:14 +00:00
patacongo
1e85cbd2b0 Should not returned queued read requests on a reset
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2294 42af7a65-404d-4744-a932-0658087f49c3
2009-12-01 15:28:33 +00:00
patacongo
cbe4bf2e2d Extend USB trace logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2212 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 20:11:50 +00:00
patacongo
e80850b3c0 Extend USB trace logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2211 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 20:09:47 +00:00
patacongo
dbfaa18d76 typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2202 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 16:03:18 +00:00
patacongo
addb81775d Fixes for DEBUG=ON compilation problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2186 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 19:25:42 +00:00
patacongo
3a89153f23 More USB macros; fix warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2178 42af7a65-404d-4744-a932-0658087f49c3
2009-10-27 02:08:26 +00:00
patacongo
e72dce9e1b Consolidate buffer dumping; fix all occurrences of 'the the'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1951 42af7a65-404d-4744-a932-0658087f49c3
2009-06-25 17:44:35 +00:00
patacongo
6ad27ed177 Reserved word 'private' in C header files is a problem for C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1890 42af7a65-404d-4744-a932-0658087f49c3
2009-06-16 23:23:31 +00:00
patacongo
bb2fb9e065 Same as last check-in, just implemented more sanely
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1880 42af7a65-404d-4744-a932-0658087f49c3
2009-06-12 00:29:07 +00:00
patacongo
2d9e8251ca eliminate some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1879 42af7a65-404d-4744-a932-0658087f49c3
2009-06-11 23:38:19 +00:00
patacongo
c14ec89a4f Add poll method to serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1268 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:22:27 +00:00
patacongo
74df6cdc38 Fix naming of header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1118 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 17:10:44 +00:00
patacongo
d54fb01136 Fix bad trace data storage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1094 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:20:37 +00:00
patacongo
9da805f7a6 Don't send final packet if length is zero
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1093 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:20:09 +00:00
patacongo
eb2b208d71 Integrate USB tracing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1091 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 01:18:37 +00:00
patacongo
2098fcf3e8 Eliminate uninitialized variable warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1090 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 01:18:14 +00:00
patacongo
7117e29e2a Remove compile warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1089 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 00:41:50 +00:00
patacongo
642e2fd884 Add SCSI read format capacities command -- WinXP needs it
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1088 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 00:31:22 +00:00
patacongo
49390ac335 Correct handling of GETMAXLUN request
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1087 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 00:30:42 +00:00
patacongo
bca6c1e63d Fix errors in list handling + request buffer size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1085 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 22:40:10 +00:00
patacongo
6c75ab8efe Finish missing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1084 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 16:41:12 +00:00
patacongo
d4c083a955 Make trace data enable-able by id
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1080 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 13:13:09 +00:00
patacongo
8423870bde Remove unused field
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1078 42af7a65-404d-4744-a932-0658087f49c3
2008-10-25 14:40:55 +00:00
patacongo
77c22b0d7f Fix to handler transfers larger than one request
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1077 42af7a65-404d-4744-a932-0658087f49c3
2008-10-25 14:40:37 +00:00
patacongo
a6944dfe49 Add USB storage class driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1075 42af7a65-404d-4744-a932-0658087f49c3
2008-10-24 22:42:28 +00:00
patacongo
9247dc69ac Need write-able block drivers even if no write-able FS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1070 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:53:39 +00:00
patacongo
61af3cf5a4 Building environment for USB storage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1061 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 16:20:18 +00:00
patacongo
a9c15f4dde Add SCSI definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1058 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 00:44:08 +00:00
patacongo
21ac6d0865 Add SCSI definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1057 42af7a65-404d-4744-a932-0658087f49c3
2008-10-20 20:42:48 +00:00
patacongo
cd2ae14200 typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1056 42af7a65-404d-4744-a932-0658087f49c3
2008-10-20 20:42:27 +00:00
patacongo
7c021b542b Add support for class driver states
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1055 42af7a65-404d-4744-a932-0658087f49c3
2008-10-20 20:41:58 +00:00
patacongo
0c8c5d247d Remove some duplicate logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1054 42af7a65-404d-4744-a932-0658087f49c3
2008-10-17 23:07:39 +00:00
patacongo
430198df4c Add SCSI commands that will be needed for USB storage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1053 42af7a65-404d-4744-a932-0658087f49c3
2008-10-17 17:55:18 +00:00
patacongo
995be717bf Fix uninitialized variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1051 42af7a65-404d-4744-a932-0658087f49c3
2008-10-17 17:53:46 +00:00
patacongo
8acf7cecba typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1048 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 19:16:49 +00:00
patacongo
5eb4cc2cdd reorder macros, reduce size of request buffer for EP0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1032 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 19:38:58 +00:00
patacongo
a4621ede1c cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1023 42af7a65-404d-4744-a932-0658087f49c3
2008-10-10 16:44:26 +00:00
patacongo
0a3edb4702 Another place where the request size is set
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1021 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 22:52:34 +00:00
patacongo
08b3a8917e Add option to used different request buffer sizes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1019 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 21:47:45 +00:00
patacongo
c9d3adb0b9 Correct emulation of UART RX disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1016 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 20:24:56 +00:00
patacongo
175c69a462 Missed decoding one trace value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1012 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 19:19:33 +00:00
patacongo
d1c08b6853 Add last option to configure method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1010 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 15:14:17 +00:00
patacongo
3fee480186 Need to select endpoints actually supported by hardware
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1007 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 12:49:11 +00:00
patacongo
62fa0a4dd1 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1005 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 21:52:38 +00:00
patacongo
2d32df87c9 Restructure so that it does not try to malloc from interrupt level
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1001 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 20:19:04 +00:00
patacongo
a97678e7f3 Add more trace codes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@999 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 20:16:44 +00:00
patacongo
8c9fe4533a test and integration updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@998 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:19:27 +00:00
patacongo
493677de2d Misc fixes from test and integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@997 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:09:33 +00:00
patacongo
14072a7991 Add another trace code for class driver calls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@995 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:06:57 +00:00
patacongo
c538e14adf Fix interrupt EP interval
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@991 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 19:05:35 +00:00
patacongo
7996949c97 Add USB serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@984 42af7a65-404d-4744-a932-0658087f49c3
2008-10-06 23:12:09 +00:00
patacongo
75c2fb5635 Add debug output if trace disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@973 42af7a65-404d-4744-a932-0658087f49c3
2008-10-03 17:31:39 +00:00
patacongo
1f8cc4383a USBDEV trace
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@962 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 00:50:22 +00:00