diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-22 23:25:36 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-22 23:25:36 +0000 |
commit | 86185d0e6f459ae82c0d65a1f4886aee9cc580a8 (patch) | |
tree | 52605533c379c2969611100bbff892912b9d109d /nuttx | |
parent | d667350987f9a9696d5b07f8ad79e1a4620debf7 (diff) | |
download | px4-nuttx-86185d0e6f459ae82c0d65a1f4886aee9cc580a8.tar.gz px4-nuttx-86185d0e6f459ae82c0d65a1f4886aee9cc580a8.tar.bz2 px4-nuttx-86185d0e6f459ae82c0d65a1f4886aee9cc580a8.zip |
Fix SPI2/3 base addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2079 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rwxr-xr-x | nuttx/arch/arm/src/stm32/stm32_memorymap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_memorymap.h b/nuttx/arch/arm/src/stm32/stm32_memorymap.h index 4ef67a3a1..44996b932 100755 --- a/nuttx/arch/arm/src/stm32/stm32_memorymap.h +++ b/nuttx/arch/arm/src/stm32/stm32_memorymap.h @@ -68,10 +68,10 @@ #define STM32_WWDG_BASE 0x40002C00 /* 0x40002C00 - 0x40002fff: Window watchdog (WWDG) */
#define STM32_IWDG_BASE 0x40003000 /* 0x40003000 - 0x400033ff: Independent watchdog (IWDG) */
/* 0x40003400 - 0x400037ff: Reserved */
-#define STM32_SPI1_BASE 0x40003800 /* 0x40003800 - 0x40003bff: SPI1/I21 */
-#define STM32_I2S1_BASE 0x40003800
-#define STM32_SPI2_BASE 0x40003c00 /* 0x40003c00 - 0x40003fff: SPI2/I2S */
-#define STM32_I2S2_BASE 0x40003c00
+#define STM32_SPI2_BASE 0x40003800 /* 0x40003800 - 0x40003bff: SPI2/I22 */
+#define STM32_I2S2_BASE 0x40003800
+#define STM32_SPI3_BASE 0x40003c00 /* 0x40003c00 - 0x40003fff: SPI3/I23 */
+#define STM32_I2S3_BASE 0x40003c00
/* 0x40004000 - 0x400043ff: Reserved */
#define STM32_USART2_BASE 0x40004400 /* 0x40004400 - 0x400047ff: USART2 */
#define STM32_USART3_BASE 0x40004800 /* 0x40004800 - 0x40004bff: USART3 */
|