Commit Graph

187 Commits

Author SHA1 Message Date
patacongo
dbda581f26 Add infrastructure to support poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1258 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 18:48:29 +00:00
patacongo
4d24e3c482 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1253 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:54 +00:00
patacongo
f2b7c5e6b4 Flush dirty cache on close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1250 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 01:57:16 +00:00
patacongo
193bfbd032 semaphore not being initialized; wrong offset used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1245 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 19:18:32 +00:00
patacongo
d6aa80bbd0 NSH dd command test with block devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1242 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 16:36:32 +00:00
patacongo
386b7f12cd Add loop teardown logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1238 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:20:34 +00:00
patacongo
6aeb99bc51 Add Block-to-character device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1237 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:18:23 +00:00
patacongo
f47adddbb2 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1236 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:17:53 +00:00
patacongo
9f05f24615 Block-to-character driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1235 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:14:05 +00:00
patacongo
ff7c75a90d Add function headers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1233 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 15:10:31 +00:00
patacongo
eb3a385f82 Add loop device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1231 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 03:07:54 +00:00
patacongo
e9b004b360 updated comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1220 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 14:46:10 +00:00
patacongo
7c60be1954 Add comments; note potential bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1215 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 01:02:56 +00:00
patacongo
bd856e9212 Eliminate warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1181 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 14:16:12 +00:00
patacongo
875ea61fa6 Fix list empty checks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1159 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:08:41 +00:00
patacongo
0fb782537a Fixes to windows path logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1156 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 19:31:35 +00:00
patacongo
a71dd2b18e Handler compiler differences
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1155 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 19:11:27 +00:00
patacongo
368ef1c0e8 Make sure z16f still builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1154 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 18:16:01 +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
de5c6ffcdc Allow block drivers without mountpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1063 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 22:02:44 +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
867d3c471c Need to clear mediachanged indication after it is sampled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1049 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 22:52:42 +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
2f9e5e067d Add debug capabilities
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1047 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 19:15:53 +00:00
patacongo
e9d4e43d16 Fix integration bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1045 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 17:26:39 +00:00
patacongo
11284029df Add simple SPI-based MMC/SD block driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1043 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 14:19:46 +00:00
patacongo
a7111547c6 MMC/SD support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1042 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 14:18:17 +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
fed5871039 Fixe open count error + O_NONBLOCK function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1013 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 19:20:02 +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
3ade50f7e4 Need to improve error detection
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@992 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 20:44:00 +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
934f010333 Fix network path broken in earlier checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@989 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 19:03:44 +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
299a3ead2a Add USB trace logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@964 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 12:24:11 +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
patacongo
56ec9aa133 uart_semtake was static
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@951 42af7a65-404d-4744-a932-0658087f49c3
2008-09-24 21:05:53 +00:00
patacongo
12d9e69757 Separate byte-oriented interrupt handling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@950 42af7a65-404d-4744-a932-0658087f49c3
2008-09-24 15:42:13 +00:00
patacongo
aacdfb11b6 ARM architecture supports lowconsole
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@930 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 14:48:26 +00:00
patacongo
b0d5432f8b Add ioctl's to support XIP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@913 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 14:34:06 +00:00
patacongo
6a5e4f302d ROMFS filesystem support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@903 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 19:29:24 +00:00
patacongo
5e49d8063a Fixes for Z16F compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@808 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 16:57:15 +00:00
patacongo
e2dd36627a Added test for mkfatfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@807 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 16:36:33 +00:00
patacongo
4c89703789 Fix detection of final close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@787 42af7a65-404d-4744-a932-0658087f49c3
2008-07-27 19:26:57 +00:00
patacongo
3aaad0504c fix pipe cleanup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@786 42af7a65-404d-4744-a932-0658087f49c3
2008-07-27 14:58:36 +00:00
patacongo
7a555278f0 Fix counting error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@785 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 20:47:39 +00:00
patacongo
33e6d3e45d Fix FIFO interlock errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@784 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 20:40:49 +00:00
patacongo
28db0e083a O_RDONLY open on FIFO blocks until writer opens
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@781 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 14:24:17 +00:00
patacongo
759ba256e8 Minor pipe updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@780 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 14:02:46 +00:00
patacongo
b918dac0c3 Add pipe()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@779 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 13:12:11 +00:00
patacongo
2296bfca96 Add support for O_NONBLOCK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@777 42af7a65-404d-4744-a932-0658087f49c3
2008-07-22 10:58:07 +00:00
patacongo
0b22d6a034 Debugging FIFO logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@774 42af7a65-404d-4744-a932-0658087f49c3
2008-07-22 00:52:07 +00:00
patacongo
d05f4750cb Add mkfifo()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@773 42af7a65-404d-4744-a932-0658087f49c3
2008-07-20 20:58:32 +00:00
patacongo
714c61c361 Add RAM disk support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@765 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 20:08:20 +00:00
patacongo
da700355ed Clean compilation with console enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@712 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 20:44:30 +00:00
patacongo
432da54d46 Fix DM320 serial configuration problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@661 42af7a65-404d-4744-a932-0658087f49c3
2008-02-08 17:25:29 +00:00
patacongo
0fca25b777 Add a generic CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@660 42af7a65-404d-4744-a932-0658087f49c3
2008-02-08 00:56:16 +00:00
patacongo
174a9f77c6 Fix /dev/zero
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@616 42af7a65-404d-4744-a932-0658087f49c3
2008-02-02 15:04:39 +00:00
patacongo
09af7cf6ce Added lseek()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@612 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 22:19:20 +00:00
patacongo
1e52a8f36a Add pascal test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@606 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 20:47:32 +00:00
patacongo
c55f4a3783 Use mdelay vs inaccurate udelay
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@586 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 12:55:11 +00:00
patacongo
89c63fc635 Added low-level console driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@585 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 00:59:17 +00:00
patacongo
16aff5292e Basic Z16F serial driver functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@577 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 22:03:49 +00:00
patacongo
3616465288 Structure serial driver interface to support different interrupt architectures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@571 42af7a65-404d-4744-a932-0658087f49c3
2008-01-26 23:46:09 +00:00
patacongo
0e4924079a Clean operations are now toolchain specific
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@542 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 13:38:13 +00:00
patacongo
d8b91b19e5 Make logic reorganized for non-GNU toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@528 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 17:06:21 +00:00