summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f3discovery/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-08 14:42:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-08 14:42:18 +0000
commit1442e62637fa138626671be49b51d5329c6536c3 (patch)
tree37cca4e1b7020da95999bce0c162a6ba2069305c /nuttx/configs/stm32f3discovery/include
parent0017d65ee25f15e67e5376ac59340e5835032867 (diff)
downloadpx4-nuttx-1442e62637fa138626671be49b51d5329c6536c3.tar.gz
px4-nuttx-1442e62637fa138626671be49b51d5329c6536c3.tar.bz2
px4-nuttx-1442e62637fa138626671be49b51d5329c6536c3.zip
More stm32f3discovery updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5624 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f3discovery/include')
-rw-r--r--nuttx/configs/stm32f3discovery/include/board.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/nuttx/configs/stm32f3discovery/include/board.h b/nuttx/configs/stm32f3discovery/include/board.h
index f57e0ba32..b8f1555ec 100644
--- a/nuttx/configs/stm32f3discovery/include/board.h
+++ b/nuttx/configs/stm32f3discovery/include/board.h
@@ -246,31 +246,15 @@
* (See the README.txt file for other options)
*/
-#define GPIO_USART2_RX GPIO_USART2_RX_1
-#define GPIO_USART2_TX GPIO_USART2_TX_1
+#define GPIO_USART2_RX GPIO_USART2_RX_2
+#define GPIO_USART2_TX GPIO_USART2_TX_2
-/* PWM
- *
- * The STM32F3Discovery has no real on-board PWM devices, but the board can be
- * configured to output a pulse train using TIM4 CH2 on PD13.
- */
-
-#define GPIO_TIM4_CH2OUT GPIO_TIM4_CH2OUT_2
-
-/* SPI - There is a MEMS device on SPI1 using these pins: */
+/* SPI - There is a ST MEMS L3GD20 device on SPI1 using these pins: */
#define GPIO_SPI1_MISO GPIO_SPI1_MISO_1
#define GPIO_SPI1_MOSI GPIO_SPI1_MOSI_1
#define GPIO_SPI1_SCK GPIO_SPI1_SCK_1
-/* Timer Inputs/Outputs (see the README.txt file for options) */
-
-#define GPIO_TIM2_CH1IN GPIO_TIM2_CH1IN_2
-#define GPIO_TIM2_CH2IN GPIO_TIM2_CH2IN_1
-
-#define GPIO_TIM8_CH1IN GPIO_TIM8_CH1IN_1
-#define GPIO_TIM8_CH2IN GPIO_TIM8_CH2IN_1
-
/************************************************************************************
* Public Data
************************************************************************************/