Commit Graph

331 Commits

Author SHA1 Message Date
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
patacongo
f04860aa46 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
1d90504a84 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
d9d77a531f 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
8b160cf7a7 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
dc9915baf2 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
34828e4de5 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
1f6aa873ee 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
530e4ff928 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
d1bfc3e67c 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
740c39b21a 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
ae005eb968 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
c8c888555f RIDE uses pre-built NuttX start file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2121 42af7a65-404d-4744-a932-0658087f49c3
2009-10-04 18:22:50 +00:00
patacongo
be56be9dcc 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
bc305bdf6a 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
ecd36206e9 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
605b91fae8 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
aa5bfdb853 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
7f2d809e3e 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
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
58aecde928 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
f3437783a5 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
dabc8f51e5 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
86ce2c9491 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
d15e6a56d5 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
dc1f5265a1 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
ae4e26c2e0 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
8901d7a482 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
b5d5a26350 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
a66667c99d 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
ac96bd553a 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
6bd27cc477 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
a7942e1bbe 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
4494689a22 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
5c473f9b67 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
6f03c76aff 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
1a364b49b5 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
f2c635e7b3 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
a5a64211bc 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