From b50eedcdb46c7baee5479ba20ca7d326702ac5a4 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Tue, 17 Jan 2012 15:44:17 +0100 Subject: [PATCH] Some L1 flash address was off by 0x10, but is never used --- src/stlink-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stlink-common.c b/src/stlink-common.c index 28be2d2..2d495a8 100644 --- a/src/stlink-common.c +++ b/src/stlink-common.c @@ -59,7 +59,7 @@ #define STM32L_FLASH_PRGKEYR (STM32L_FLASH_REGS_ADDR + 0x10) #define STM32L_FLASH_OPTKEYR (STM32L_FLASH_REGS_ADDR + 0x14) #define STM32L_FLASH_SR (STM32L_FLASH_REGS_ADDR + 0x18) -#define STM32L_FLASH_OBR (STM32L_FLASH_REGS_ADDR + 0x0c) +#define STM32L_FLASH_OBR (STM32L_FLASH_REGS_ADDR + 0x1c) #define STM32L_FLASH_WRPR (STM32L_FLASH_REGS_ADDR + 0x20)