Commit Graph

740 Commits

Author SHA1 Message Date
patacongo
4da26a9817 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
c0675a0711 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
041200d562 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
b5ec25b919 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
93b36a90b9 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
3c24e1beeb 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
84deab6932 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
b1ea58fd14 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
40040fe9fe 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
92925d0b9d 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
146a21e630 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
ef96b697d0 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
f70dba1600 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
5c78a1d644 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
624c01ed82 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
2fe96d8442 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
3336fa811f 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
6183474b2c 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
281d987dba 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
1f2493af82 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
5a73f2fb40 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
c1cd3b3a42 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
0cca961169 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
18e8d5310d 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
9d82aac055 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
525cf07fce 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
6fee183e3a 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
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
f240cc6e9b 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
249da292da 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
709e5a63ea 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
695206713a 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
e89affe3a2 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
e5c14e1207 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
49e9656261 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
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
6014fefe16 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
2dc7bcfb5e 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
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
ea4ab4fad8 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
f924e30fbd 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
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
a2f69e06e1 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
94fca00261 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
1ff8e5dda9 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
b0fa795ddf 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
741baf98d3 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
b7ebdd1cd8 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
e2e0025e35 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
0132b1ed6d 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