Commit Graph

850 Commits

Author SHA1 Message Date
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
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
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
patacongo
e139abb3af Add timer header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2087 42af7a65-404d-4744-a932-0658087f49c3
2009-09-24 15:18:28 +00:00
patacongo
ed87373196 Advanced, general, basic clocks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2086 42af7a65-404d-4744-a932-0658087f49c3
2009-09-23 23:50:07 +00:00
patacongo
b3a90ff175 Add BKP, DBGMCU, EXTI, and PWR header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2084 42af7a65-404d-4744-a932-0658087f49c3
2009-09-23 19:15:03 +00:00
patacongo
bb8edb04bc Add DMA header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2083 42af7a65-404d-4744-a932-0658087f49c3
2009-09-23 16:05:35 +00:00
patacongo
a83168e622 Add CAN header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2082 42af7a65-404d-4744-a932-0658087f49c3
2009-09-23 15:00:35 +00:00
patacongo
b49d58a259 Add USB header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2081 42af7a65-404d-4744-a932-0658087f49c3
2009-09-23 03:15:40 +00:00
patacongo
68b54a7e4e Add RTC and WDG header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2080 42af7a65-404d-4744-a932-0658087f49c3
2009-09-23 02:09:40 +00:00
patacongo
a0d08790ad Fix SPI2/3 base addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2079 42af7a65-404d-4744-a932-0658087f49c3
2009-09-22 23:25:36 +00:00
patacongo
5d5b3aa47b Add GPIO header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2078 42af7a65-404d-4744-a932-0658087f49c3
2009-09-22 22:32:35 +00:00
patacongo
9ffddbbb63 Add RCC header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2077 42af7a65-404d-4744-a932-0658087f49c3
2009-09-22 18:54:34 +00:00
patacongo
7cf9f7e7bd Add ADC and I2C header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2076 42af7a65-404d-4744-a932-0658087f49c3
2009-09-22 14:29:16 +00:00
patacongo
cee7026b15 Add SPI and UART header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2075 42af7a65-404d-4744-a932-0658087f49c3
2009-09-22 01:54:46 +00:00
patacongo
14dfd164c3 Add stm32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2074 42af7a65-404d-4744-a932-0658087f49c3
2009-09-21 13:53:48 +00:00