diff options
-rw-r--r-- | nuttx/ChangeLog | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/chip/stm32f30xxx_pinmap.h | 4 |
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) |