aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32
diff options
context:
space:
mode:
authorUwe Hermann2010-01-15 01:43:44 +0100
committerUwe Hermann2010-01-15 01:43:44 +0100
commit6c66a41f27c8c68e996e9e1b54195f381eff12b3 (patch)
tree32f1a369dce9af9fd7dc97066d61867b43611724 /include/libopenstm32
parent8d196a2a1fa90588c4da3eaa2758000bff0350ce (diff)
Use FLASH_MEM_INTERFACE_BASE (not FLASH_BASE).
The latter does not exist in the repo.
Diffstat (limited to 'include/libopenstm32')
-rw-r--r--include/libopenstm32/flash.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libopenstm32/flash.h b/include/libopenstm32/flash.h
index 9d7bb2a..49e5b95 100644
--- a/include/libopenstm32/flash.h
+++ b/include/libopenstm32/flash.h
@@ -31,14 +31,14 @@
/* --- FLASH registers ----------------------------------------------------- */
-#define FLASH_ACR MMIO32(FLASH_BASE + 0x00)
-#define FLASH_KEYR MMIO32(FLASH_BASE + 0x04)
-#define FLASH_OPTKEYR MMIO32(FLASH_BASE + 0x08)
-#define FLASH_SR MMIO32(FLASH_BASE + 0x0C)
-#define FLASH_CR MMIO32(FLASH_BASE + 0x10)
-#define FLASH_AR MMIO32(FLASH_BASE + 0x14)
-#define FLASH_OBR MMIO32(FLASH_BASE + 0x1C)
-#define FLASH_WRPR MMIO32(FLASH_BASE + 0x20)
+#define FLASH_ACR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x00)
+#define FLASH_KEYR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x04)
+#define FLASH_OPTKEYR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x08)
+#define FLASH_SR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x0C)
+#define FLASH_CR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x10)
+#define FLASH_AR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x14)
+#define FLASH_OBR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x1C)
+#define FLASH_WRPR MMIO32(FLASH_MEM_INTERFACE_BASE + 0x20)
/* --- FLASH_ACR values ---------------------------------------------------- */