summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-27 11:15:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-27 11:15:18 -0600
commit020af6336bcf71173c7758f31b04066e425b4988 (patch)
treef9549e96e2bf88ac985e8523353fd605b240c46c
parent859eae00cfa9b72fc8cb33e89862ddbfecc393ef (diff)
downloadnuttx-020af6336bcf71173c7758f31b04066e425b4988.tar.gz
nuttx-020af6336bcf71173c7758f31b04066e425b4988.tar.bz2
nuttx-020af6336bcf71173c7758f31b04066e425b4988.zip
Fix naming of STM32 F3 SPI2 MOSI and MISO pins. From Brian Webb
-rw-r--r--nuttx/ChangeLog2
-rw-r--r--nuttx/arch/arm/src/stm32/chip/stm32f30xxx_pinmap.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 072089303..d1d588821 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -6319,4 +6319,6 @@
(2013-12-26).
* configs/viewtool-stm32f107: Updates to USB for F103 and USB OTG FS
for F107 (2013-12-16).
+ * arch/arm/src/stm32/chip/stm32f3xxxx_pinmap.h: Fix pin definitioni names
+ for SPI2 MOSI and MISO. Noted by Brian Webb (2013-12-27).
diff --git a/nuttx/arch/arm/src/stm32/chip/stm32f30xxx_pinmap.h b/nuttx/arch/arm/src/stm32/chip/stm32f30xxx_pinmap.h
index 24ab01d1f..cd213f08c 100644
--- a/nuttx/arch/arm/src/stm32/chip/stm32f30xxx_pinmap.h
+++ b/nuttx/arch/arm/src/stm32/chip/stm32f30xxx_pinmap.h
@@ -174,8 +174,8 @@
#define GPIO_SPI1_SCK_1 (GPIO_ALT|GPIO_AF5|GPIO_PORTA|GPIO_PIN5)
#define GPIO_SPI1_SCK_2 (GPIO_ALT|GPIO_AF5|GPIO_PORTB|GPIO_PIN3)
-#define GPIO_SPI2_MISO_1 (GPIO_ALT|GPIO_AF5|GPIO_PORTB|GPIO_PIN14)
-#define GPIO_SPI2_MOSI_2 (GPIO_ALT|GPIO_AF5|GPIO_PORTB|GPIO_PIN15)
+#define GPIO_SPI2_MISO (GPIO_ALT|GPIO_AF5|GPIO_PORTB|GPIO_PIN14)
+#define GPIO_SPI2_MOSI (GPIO_ALT|GPIO_AF5|GPIO_PORTB|GPIO_PIN15)
#define GPIO_SPI2_NSS_1 (GPIO_ALT|GPIO_AF5|GPIO_PORTB|GPIO_PIN12)
#define GPIO_SPI2_NSS_2 (GPIO_ALT|GPIO_AF6|GPIO_PORTD|GPIO_PIN15)
#define GPIO_SPI2_SCK_1 (GPIO_ALT|GPIO_AF5|GPIO_PORTB|GPIO_PIN13)