Fix SPI2/3 base addresses

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2079 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-09-22 23:25:36 +00:00
parent 315d3ff066
commit d9aac9c6d5
1 changed files with 4 additions and 4 deletions

View File

@ -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 */