Commit Graph

521 Commits

Author SHA1 Message Date
patacongo
e89a17197d Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2424 42af7a65-404d-4744-a932-0658087f49c3
2009-12-25 00:03:57 +00:00
patacongo
3263648855 Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2423 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 19:50:32 +00:00
patacongo
98f23026aa Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2422 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 16:45:38 +00:00
patacongo
30aa0162de Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2421 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 16:29:33 +00:00
patacongo
7bba788c98 Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2420 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 15:19:32 +00:00
patacongo
7cc82498ee Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2419 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 15:01:38 +00:00
patacongo
d563743ccf Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2418 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 14:52:46 +00:00
patacongo
08fb07ce51 Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2417 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 01:35:06 +00:00
patacongo
74712eaae8 Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2416 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 01:04:46 +00:00
patacongo
a21aa42214 Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2415 42af7a65-404d-4744-a932-0658087f49c3
2009-12-24 00:12:54 +00:00
patacongo
7a22fde22b Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2414 42af7a65-404d-4744-a932-0658087f49c3
2009-12-23 20:46:41 +00:00
patacongo
c4cec2091e Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2413 42af7a65-404d-4744-a932-0658087f49c3
2009-12-23 02:29:34 +00:00
patacongo
eff7cf787b Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2411 42af7a65-404d-4744-a932-0658087f49c3
2009-12-23 01:00:23 +00:00
patacongo
8c5354fb02 Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2410 42af7a65-404d-4744-a932-0658087f49c3
2009-12-22 22:25:37 +00:00
patacongo
a8ab7cd4bb Add LPC313X header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2409 42af7a65-404d-4744-a932-0658087f49c3
2009-12-22 16:15:47 +00:00
patacongo
6d5f497b01 Add LPC313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2407 42af7a65-404d-4744-a932-0658087f49c3
2009-12-21 22:10:13 +00:00
patacongo
d3550aa325 Add LPC313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2406 42af7a65-404d-4744-a932-0658087f49c3
2009-12-21 18:36:13 +00:00
patacongo
39c5565d0e Argument to up_udelay() should be type useconds_t
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2400 42af7a65-404d-4744-a932-0658087f49c3
2009-12-20 22:24:02 +00:00
patacongo
6d82da8efb Fixing LM3S httpd example (still broken)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2390 42af7a65-404d-4744-a932-0658087f49c3
2009-12-18 22:21:20 +00:00
patacongo
196744a3ee Fix compile issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2377 42af7a65-404d-4744-a932-0658087f49c3
2009-12-17 20:28:00 +00:00
patacongo
e604f89bb7 Remove warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2375 42af7a65-404d-4744-a932-0658087f49c3
2009-12-17 19:51:19 +00:00
patacongo
c23f8334c8 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@2359 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 20:05:51 +00:00
patacongo
3504ad6140 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
d55f676435 Working on HCS12 build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2323 42af7a65-404d-4744-a932-0658087f49c3
2009-12-12 14:29:05 +00:00
patacongo
c4f0d1c298 Add some STM32F107VC definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2319 42af7a65-404d-4744-a932-0658087f49c3
2009-12-10 01:07:39 +00:00
patacongo
1f39b57d7e Add more HC12 common files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2306 42af7a65-404d-4744-a932-0658087f49c3
2009-12-04 22:28:06 +00:00
patacongo
d177854b7e More init logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2303 42af7a65-404d-4744-a932-0658087f49c3
2009-12-03 23:08:07 +00:00
patacongo
c3d9748e71 Fix a problem with TX status on resume from stall
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2295 42af7a65-404d-4744-a932-0658087f49c3
2009-12-01 21:14:56 +00:00
patacongo
ca99ea0191 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
14ea59ddbe 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
b419ea40e9 SDIO now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2287 42af7a65-404d-4744-a932-0658087f49c3
2009-11-29 15:46:13 +00:00
patacongo
06f9c5c40b Extend SDIO debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2286 42af7a65-404d-4744-a932-0658087f49c3
2009-11-28 18:17:53 +00:00
patacongo
4810f93392 Fix compile errors with DMA debug off
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2284 42af7a65-404d-4744-a932-0658087f49c3
2009-11-28 15:05:21 +00:00
patacongo
51b0612d65 Less intrusive DMA debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2281 42af7a65-404d-4744-a932-0658087f49c3
2009-11-27 13:09:32 +00:00
patacongo
5df8a7a194 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
f702470d68 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
ee72943b08 Fix problems when DMA2 is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2277 42af7a65-404d-4744-a932-0658087f49c3
2009-11-21 17:43:59 +00:00
patacongo
a5128b6fc6 Fix SCR data transfer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2276 42af7a65-404d-4744-a932-0658087f49c3
2009-11-21 15:45:50 +00:00
patacongo
a4b109eaa2 Progress integrating SD on STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2275 42af7a65-404d-4744-a932-0658087f49c3
2009-11-20 00:24:11 +00:00
patacongo
c53dda6fe8 Now correctly handles SD card ACMD41 busy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2274 42af7a65-404d-4744-a932-0658087f49c3
2009-11-19 00:52:40 +00:00
patacongo
0d5e2e701b Correct identifies v1.x SD card
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2273 42af7a65-404d-4744-a932-0658087f49c3
2009-11-18 23:12:23 +00:00
patacongo
014944fe6e 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
445b47fcd8 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
e00ff41565 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
094394fc15 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
d97d3d5a61 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
373959f7db 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
79ad2c60d8 Addition DMA setup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2262 42af7a65-404d-4744-a932-0658087f49c3
2009-11-16 15:58:05 +00:00
patacongo
a472c7c26c 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
b7a3e6e45f 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
fe9b2c9355 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
15e7af4e97 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
5d816174df Add to STM32 SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2252 42af7a65-404d-4744-a932-0658087f49c3
2009-11-13 15:16:33 +00:00
patacongo
1f7c83b035 Separate STM32F103ZE pin-mapping into a separate header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2251 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 23:13:18 +00:00
patacongo
41bf4a4c5e Add SDIO GPIO initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2250 42af7a65-404d-4744-a932-0658087f49c3
2009-11-12 17:44:52 +00:00
patacongo
ad761213f2 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
6f4c6dc9fe 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
e980495cb7 Incremental update to STM32 MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2247 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 23:52:48 +00:00
patacongo
105fa683df 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
7088acf110 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
d170816334 Add skeleton file that will hold the STM32 SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2244 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 13:19:23 +00:00
patacongo
970720336e Add skeleton file that will hold the STM32 SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2243 42af7a65-404d-4744-a932-0658087f49c3
2009-11-11 12:32:45 +00:00
patacongo
257f3b6afe 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
27ee67893f Add SDIO register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2238 42af7a65-404d-4744-a932-0658087f49c3
2009-11-06 21:59:49 +00:00
patacongo
c7b07b4868 Add support for GPIO interrupts & STM3210E-EVAL board buttons
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2226 42af7a65-404d-4744-a932-0658087f49c3
2009-11-05 14:07:41 +00:00
patacongo
5ec648709f Fix handling of pending OUT transfers; if we clear CTR_RX first, we lose size of OUT transfer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2218 42af7a65-404d-4744-a932-0658087f49c3
2009-11-04 02:57:32 +00:00
patacongo
f1de52049b Status not being set when transfer started via epsubmit()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2217 42af7a65-404d-4744-a932-0658087f49c3
2009-11-03 16:11:55 +00:00
patacongo
f57ba50c9b If SETUP received, that also means the end of a previous TX
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2215 42af7a65-404d-4744-a932-0658087f49c3
2009-11-03 00:52:16 +00:00
patacongo
7b612c7fea Non-standard requests handled by class caused controller errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2214 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 22:32:22 +00:00
patacongo
98a2dd5d71 Fix EP configure switch value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2213 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 20:49:23 +00:00
patacongo
33ce084daa Fix case where both RX and TX enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2210 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 20:09:25 +00:00
patacongo
b5e3ef6cb5 Sometimes RX status is not NAK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2209 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 18:14:41 +00:00
patacongo
c7d9c978c8 Fix RX status setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2208 42af7a65-404d-4744-a932-0658087f49c3
2009-11-02 15:04:47 +00:00
patacongo
e1f1ff8516 Fix compilation error with register debug off
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2207 42af7a65-404d-4744-a932-0658087f49c3
2009-11-01 20:13:47 +00:00
patacongo
ff92a5567e Need to send ZLP at end of no-data setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2206 42af7a65-404d-4744-a932-0658087f49c3
2009-11-01 19:12:46 +00:00
patacongo
026fdc7e41 Fix endian-ness issue in SETUP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2205 42af7a65-404d-4744-a932-0658087f49c3
2009-11-01 17:29:41 +00:00
patacongo
54d8372694 Fix direction logic in the submit method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2204 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 19:14:00 +00:00
patacongo
4f239a2fa7 Fix PMA addressing issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2203 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 18:34:54 +00:00
patacongo
67767c433a Integration updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2201 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 16:02:00 +00:00
patacongo
a3a05f9b3a arch/arm/src/stm32/stm32_usbdev.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2200 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 15:54:10 +00:00
patacongo
aeaf19473f Fix size of BTABLE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2199 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 02:32:46 +00:00
patacongo
e8b481d5e3 Enhanced debug; need a delay after removing PWDN
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2198 42af7a65-404d-4744-a932-0658087f49c3
2009-10-31 00:49:51 +00:00
patacongo
995e1e32d9 Misc integration fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2197 42af7a65-404d-4744-a932-0658087f49c3
2009-10-30 23:06:30 +00:00
patacongo
b93ccc37a7 USB integration in progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2195 42af7a65-404d-4744-a932-0658087f49c3
2009-10-30 17:33:54 +00:00
patacongo
93e30e4632 BUG: mixing else causes bad IRQ settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2194 42af7a65-404d-4744-a932-0658087f49c3
2009-10-30 13:51:07 +00:00
patacongo
abe17ffe92 Fix typo introduced in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2192 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 22:23:52 +00:00
patacongo
6f25e63da7 Fix default NVIC priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2191 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 22:02:10 +00:00
patacongo
d86e004c1f cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2190 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 21:55:50 +00:00
patacongo
d5eafc909e timeout loop variable should be volatile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2188 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 21:16:57 +00:00
patacongo
1a446309bd Initial USB debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2187 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 20:30:46 +00:00
patacongo
d2dc960cab 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
6b1ee8f178 Add STM32 USBDEV driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2185 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 18:50:05 +00:00
patacongo
2c98ebd70b Need to config CTS/RTS pins for USART2/3 even if not using flow control
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2184 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 02:47:10 +00:00
patacongo
b9e8a3bfc5 Fix types in stm32 serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2182 42af7a65-404d-4744-a932-0658087f49c3
2009-10-29 02:18:09 +00:00
patacongo
4453cf8152 Debug output from certain files causes crashes with new context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2181 42af7a65-404d-4744-a932-0658087f49c3
2009-10-27 19:51:19 +00:00
patacongo
b8824028b1 Improved certain Cortex-M3 context switch times
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2177 42af7a65-404d-4744-a932-0658087f49c3
2009-10-25 02:24:40 +00:00
patacongo
cc347e43c3 Misc USB-related fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2169 42af7a65-404d-4744-a932-0658087f49c3
2009-10-23 01:16:46 +00:00
patacongo
0eb685e65f corrections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2168 42af7a65-404d-4744-a932-0658087f49c3
2009-10-22 03:50:56 +00:00
patacongo
012a246105 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
e9381613d5 FSMC header file cleanup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2165 42af7a65-404d-4744-a932-0658087f49c3
2009-10-20 22:38:02 +00:00
patacongo
e27f1e2c72 Add FSMC support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2163 42af7a65-404d-4744-a932-0658087f49c3
2009-10-20 20:31:45 +00:00
patacongo
5f08d86694 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
31c28b1f59 Need to set SSM and SSI to prevent MODF errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2160 42af7a65-404d-4744-a932-0658087f49c3
2009-10-18 21:55:10 +00:00
patacongo
571bbc2402 Wait conditions backward
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2159 42af7a65-404d-4744-a932-0658087f49c3
2009-10-18 21:36:25 +00:00
patacongo
4f97ee6dc0 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
fa008a467d Boots with SYSTICK source = HCLK, not HCLK/8
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2151 42af7a65-404d-4744-a932-0658087f49c3
2009-10-17 21:45:39 +00:00
patacongo
c321920754 Fix major bug in STM32 interrupt enable/disable logic; NSH now works on STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2149 42af7a65-404d-4744-a932-0658087f49c3
2009-10-17 20:42:37 +00:00
patacongo
a2763cf4fc SPI DMA design simplification
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2148 42af7a65-404d-4744-a932-0658087f49c3
2009-10-17 16:11:55 +00:00
patacongo
2e8f38671b Completes 1st cut of SPI DMA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2147 42af7a65-404d-4744-a932-0658087f49c3
2009-10-17 00:50:01 +00:00
patacongo
19f1028342 A little more SPI DMA support (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2146 42af7a65-404d-4744-a932-0658087f49c3
2009-10-16 20:51:36 +00:00
patacongo
54432b6812 Hooks for SPI DMA support (incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2145 42af7a65-404d-4744-a932-0658087f49c3
2009-10-16 19:46:32 +00:00
patacongo
842fe8c9ab Add function to 1) wait for a free channel, and 2) free a DMA channel
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2144 42af7a65-404d-4744-a932-0658087f49c3
2009-10-16 18:31:15 +00:00
patacongo
522251ef65 Fix DMA channel mapping
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2143 42af7a65-404d-4744-a932-0658087f49c3
2009-10-16 18:17:13 +00:00
patacongo
1732989711 First cut at DMA code
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2142 42af7a65-404d-4744-a932-0658087f49c3
2009-10-16 17:23:28 +00:00
patacongo
ed8c1e6568 Add structure for future DMA support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2141 42af7a65-404d-4744-a932-0658087f49c3
2009-10-16 13:05:01 +00:00
patacongo
b3800e7dea Fix warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2140 42af7a65-404d-4744-a932-0658087f49c3
2009-10-15 23:22:53 +00:00
patacongo
0b21bbf818 Fix SPI compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2139 42af7a65-404d-4744-a932-0658087f49c3
2009-10-15 23:16:14 +00:00
patacongo
424bfdd3ff Add basic SPI driver (untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2138 42af7a65-404d-4744-a932-0658087f49c3
2009-10-15 20:05:39 +00:00
patacongo
aeed62a126 Fix GPIOF base address
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2134 42af7a65-404d-4744-a932-0658087f49c3
2009-10-14 20:41:27 +00:00
patacongo
d43612e7a1 Fix NSH-related compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2133 42af7a65-404d-4744-a932-0658087f49c3
2009-10-14 20:41:09 +00:00
patacongo
8019b3ba13 Misc GPIO-related changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2132 42af7a65-404d-4744-a932-0658087f49c3
2009-10-14 19:31:44 +00:00
patacongo
00856c8cae When running from DFU load, need to set NVIC vector address
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2129 42af7a65-404d-4744-a932-0658087f49c3
2009-10-13 23:37:06 +00:00
patacongo
f0ba036abe typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2128 42af7a65-404d-4744-a932-0658087f49c3
2009-10-13 23:35:08 +00:00
patacongo
4e9c298c2d Basic USART setup works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2126 42af7a65-404d-4744-a932-0658087f49c3
2009-10-11 19:52:20 +00:00
patacongo
cfc85ed8c6 Misc clocking fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2119 42af7a65-404d-4744-a932-0658087f49c3
2009-10-04 16:58:10 +00:00
patacongo
cd98e3f69d Fix GPIO alternate pin name space issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2117 42af7a65-404d-4744-a932-0658087f49c3
2009-10-03 16:28:53 +00:00
patacongo
39f8940b11 Add more GPIO pin mappings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2116 42af7a65-404d-4744-a932-0658087f49c3
2009-10-03 15:54:33 +00:00
patacongo
48fa9c0fb7 Add SPI2 setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2114 42af7a65-404d-4744-a932-0658087f49c3
2009-10-02 02:23:11 +00:00
patacongo
57370e31da Support part/full remap; Fix register addressing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2112 42af7a65-404d-4744-a932-0658087f49c3
2009-10-01 15:36:25 +00:00
patacongo
3a1ccef72e Configure USART GPIO Rx/Tx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2111 42af7a65-404d-4744-a932-0658087f49c3
2009-10-01 15:05:35 +00:00
patacongo
1ac8a064f7 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
3b0601cd68 Misc setup changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2109 42af7a65-404d-4744-a932-0658087f49c3
2009-10-01 00:06:57 +00:00
patacongo
458d6b127b Add LED support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2108 42af7a65-404d-4744-a932-0658087f49c3
2009-09-30 15:03:25 +00:00
patacongo
2c7f341df8 Add GPIO dump logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2107 42af7a65-404d-4744-a932-0658087f49c3
2009-09-29 19:18:19 +00:00
patacongo
73727ef887 Fix PU/PD config; improve MODE/CNF setting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2106 42af7a65-404d-4744-a932-0658087f49c3
2009-09-29 18:56:20 +00:00
patacongo
80688bbff1 Add GPIO logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2105 42af7a65-404d-4744-a932-0658087f49c3
2009-09-29 16:38:36 +00:00
patacongo
79e713a545 Add GPIO file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2104 42af7a65-404d-4744-a932-0658087f49c3
2009-09-29 12:52:25 +00:00
patacongo
e3d0fc2035 Clean-up redundant conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2103 42af7a65-404d-4744-a932-0658087f49c3
2009-09-29 02:08:26 +00:00
patacongo
3830f4ff39 Fixes for clean compile/link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2102 42af7a65-404d-4744-a932-0658087f49c3
2009-09-28 23:33:51 +00:00
patacongo
f9d25c3ee8 Add RCC support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2101 42af7a65-404d-4744-a932-0658087f49c3
2009-09-28 19:14:37 +00:00
patacongo
9ea290b8be IRQ numbering fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2100 42af7a65-404d-4744-a932-0658087f49c3
2009-09-26 21:21:59 +00:00
patacongo
0968f6fec1 Add IRQ and SYSTICK logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2099 42af7a65-404d-4744-a932-0658087f49c3
2009-09-26 20:35:45 +00:00
patacongo
7b2b2774e9 Add UART4/5 register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2096 42af7a65-404d-4744-a932-0658087f49c3
2009-09-26 19:03:46 +00:00
patacongo
c708897b46 USART driver implementation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2095 42af7a65-404d-4744-a932-0658087f49c3
2009-09-26 18:59:09 +00:00
patacongo
a71055cddd Add framework (only) for STM32 USART support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2094 42af7a65-404d-4744-a932-0658087f49c3
2009-09-26 00:09:17 +00:00
patacongo
342ab7a6e3 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2093 42af7a65-404d-4744-a932-0658087f49c3
2009-09-25 20:20:14 +00:00
patacongo
052bcd7107 Fixes for compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2092 42af7a65-404d-4744-a932-0658087f49c3
2009-09-25 17:26:47 +00:00
patacongo
c595d1e144 Fix comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2091 42af7a65-404d-4744-a932-0658087f49c3
2009-09-25 16:32:16 +00:00
patacongo
c75c8bd312 Add STM32 interrupt vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2089 42af7a65-404d-4744-a932-0658087f49c3
2009-09-25 15:13:58 +00:00
patacongo
8f6bd7b343 Add start-up logic and irq.h header
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2088 42af7a65-404d-4744-a932-0658087f49c3
2009-09-25 14:17:18 +00:00