From 50daf0ef1ed1a3a13562c2816352bc3a3cc30439 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 4 Dec 2013 22:20:40 +0000 Subject: [PATCH] [stm32f3] Fix USART1 memory base address Thanks to Uwe Bonnes on the mailing list. Confirmed in the f37x and f30 ref manuals --- include/libopencm3/stm32/f3/memorymap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libopencm3/stm32/f3/memorymap.h b/include/libopencm3/stm32/f3/memorymap.h index 98aaee4e..f8b7909f 100644 --- a/include/libopencm3/stm32/f3/memorymap.h +++ b/include/libopencm3/stm32/f3/memorymap.h @@ -72,7 +72,7 @@ #define TIM16_BASE (PERIPH_BASE_APB2 + 0x4400) #define TIM15_BASE (PERIPH_BASE_APB2 + 0x4000) /* PERIPH_BASE_APB2 + 0x3C00 (0x4001 3C00 - 0x4001 3FFF): Reserved */ -#define USART1_BASE (PERIPH_BASE_APB2 + 0x1000) +#define USART1_BASE (PERIPH_BASE_APB2 + 0x3800) #define TIM8_BASE (PERIPH_BASE_APB2 + 0x3400) #define SPI1_BASE (PERIPH_BASE_APB2 + 0x3000) #define TIM1_BASE (PERIPH_BASE_APB2 + 0x2C00)