Commit Graph

450 Commits

Author SHA1 Message Date
patacongo 78a9df89c0 Add cstdint and cstdbool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2332 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 20:04:14 +00:00
patacongo 2880e1d5c2 Add stdbool.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2331 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 19:58:21 +00:00
patacongo 4686cc55fa types blkcnt_t and off_t should not depend on memory model; Remove non-standard type STATUS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2330 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 18:01:46 +00:00
patacongo 9535a28d7a Eliminate some hcs12 compile errors/warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2329 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 15:13:37 +00:00
patacongo 09e97e68e2 Fix hcs12 compile issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2326 42af7a65-404d-4744-a932-0658087f49c3
2009-12-12 17:23:23 +00:00
patacongo 2a8b7fa0cc Update porting guide
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2324 42af7a65-404d-4744-a932-0658087f49c3
2009-12-12 15:16:44 +00:00
patacongo 723f575d1f Need to export FTL interface in mtd.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2308 42af7a65-404d-4744-a932-0658087f49c3
2009-12-06 00:23:42 +00:00
patacongo bea1cb5e0e Add FTL logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2307 42af7a65-404d-4744-a932-0658087f49c3
2009-12-06 00:19:50 +00:00
patacongo 1b5e34b5c8 Add HC12 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2304 42af7a65-404d-4744-a932-0658087f49c3
2009-12-04 19:43:10 +00:00
patacongo aff7cccdf6 Move LPC-specific code from examples/usbstorage to mcu123-lpc214x/src
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2290 42af7a65-404d-4744-a932-0658087f49c3
2009-11-30 15:52:06 +00:00
patacongo 06743c5003 Need a cancel method to stop DMA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2280 42af7a65-404d-4744-a932-0658087f49c3
2009-11-27 13:05:02 +00:00
patacongo 04f6edbaf7 Numerous fixes for basic STM32 SDIO DMA access
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2279 42af7a65-404d-4744-a932-0658087f49c3
2009-11-26 00:18:22 +00:00
patacongo c76c6b0e52 Fix block read/write return values; SDIO error reporting; slow down clock if interrupt mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2278 42af7a65-404d-4744-a932-0658087f49c3
2009-11-25 13:50:26 +00:00
patacongo 081d8a6abc Initial MMC/SD SDIO STM32 bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2272 42af7a65-404d-4744-a932-0658087f49c3
2009-11-18 17:31:49 +00:00
patacongo fd34e51e1c Callbacks need to use worker thread; clean up/document configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2268 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 23:20:08 +00:00
patacongo dcc16a713c Code complete for STM32 SDIO driver and MMC/SD SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2266 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 21:31:56 +00:00
patacongo 29395f7fd1 Finish event wait logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2265 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 18:18:35 +00:00
patacongo 7ef8423ad0 Add basic data transfer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2264 42af7a65-404d-4744-a932-0658087f49c3
2009-11-17 16:24:44 +00:00
patacongo 2142afe747 Add SDIO interrupt handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2263 42af7a65-404d-4744-a932-0658087f49c3
2009-11-16 23:22:36 +00:00
patacongo 2740d04258 Redesign SDIO wait logic; add SDIO DMA logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2261 42af7a65-404d-4744-a932-0658087f49c3
2009-11-16 15:37:11 +00:00
patacongo 498ae01164 Add logic to handle card insertion/removal events
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2259 42af7a65-404d-4744-a932-0658087f49c3
2009-11-15 19:48:08 +00:00
patacongo 529bbb7a2a Add SD card initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2258 42af7a65-404d-4744-a932-0658087f49c3
2009-11-15 18:23:46 +00:00
patacongo fc6a71a647 Add MMC configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2255 42af7a65-404d-4744-a932-0658087f49c3
2009-11-14 18:19:51 +00:00
patacongo ad3467a844 Add IOCTLs and card identification logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2253 42af7a65-404d-4744-a932-0658087f49c3
2009-11-13 23:30:41 +00:00
patacongo 35d260bda4 Finish reponse methods
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2249 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 16:49:39 +00:00
patacongo cd8a7958eb SDIO interface simplication
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2248 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 15:49:48 +00:00
patacongo 9f0c906935 Incremental update to STM32 MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2246 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 22:34:40 +00:00
patacongo 911672589d Incremental progress on STM32 MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2245 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 21:20:49 +00:00
patacongo a1087ace92 Rename mmcsd.c to mmcsd_sdio.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2242 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 00:13:42 +00:00
patacongo eed2313667 Separate SDIO interface from MMCSD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2241 42af7a65-404d-4744-a932-0658087f49c3
2009-11-10 18:32:51 +00:00
patacongo 19fb20b3ef Fixes for Z80 compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2240 42af7a65-404d-4744-a932-0658087f49c3
2009-11-07 00:03:22 +00:00
patacongo cb89120bd4 Fix errors/warnings reported by eZ80 compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2239 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 22:53:47 +00:00
patacongo 783d429d66 Add skeleton of SDIO-based MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2237 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 20:44:16 +00:00
patacongo 860e284bef First cut at SDIO MMC/SD interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2236 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 18:10:32 +00:00
patacongo d9413c1214 Fix confusion between byte and block transfers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2235 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 13:43:21 +00:00
patacongo bf7555cc4a Fix a potential race condition
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2234 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 13:42:49 +00:00
patacongo 64e5bef2f6 Incorporate the work thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2230 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 22:58:36 +00:00
patacongo 86987e3b02 Add beginnings of a work thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2229 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 21:44:33 +00:00
patacongo 6b2827a112 Add generic support for read-ahead buffering and write buffering in block drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2227 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 18:15:06 +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 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 7caea56697 Misc. mosty USB-related updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2167 42af7a65-404d-4744-a932-0658087f49c3
2009-10-22 00:11:53 +00:00
patacongo 7dfface80c Extend SPI interface to better handle multiple devices on same SPI bus
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2162 42af7a65-404d-4744-a932-0658087f49c3
2009-10-20 14:05:56 +00:00
patacongo d754ee2caf Add bulk erase IOCTL; add byte read method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2158 42af7a65-404d-4744-a932-0658087f49c3
2009-10-18 20:58:04 +00:00
patacongo 23683fe846 Add MTD interface; add M25P64/128 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2157 42af7a65-404d-4744-a932-0658087f49c3
2009-10-18 17:45:31 +00:00
patacongo 9b04ee217e Move some drivers to separate subdirectories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2156 42af7a65-404d-4744-a932-0658087f49c3
2009-10-18 13:52:21 +00:00
patacongo 8781f3e998 typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2137 42af7a65-404d-4744-a932-0658087f49c3
2009-10-15 19:43:49 +00:00
patacongo 420409fde7 Add STM32 SPI chip selects
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2110 42af7a65-404d-4744-a932-0658087f49c3
2009-10-01 14:21:29 +00:00
patacongo 59acff806c Use lldbg() instead of dbg() in interrupt level logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2054 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 15:44:14 +00:00
patacongo ca7e2543e7 Add CONFIG_DEBUG_SYMBOLS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2053 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 14:18:15 +00:00