summaryrefslogtreecommitdiff
path: root/chip/stm32/registers-stm32g4.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/registers-stm32g4.h')
-rw-r--r--chip/stm32/registers-stm32g4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/registers-stm32g4.h b/chip/stm32/registers-stm32g4.h
index 4d0b09c7be..ee7fd7e7ea 100644
--- a/chip/stm32/registers-stm32g4.h
+++ b/chip/stm32/registers-stm32g4.h
@@ -117,7 +117,7 @@
/* Peripheral base addresses */
#define STM32_PERIPH_BASE (0x40000000UL)
/* Peripheral memory map */
-#define STM32_APB2PERIPH_BASE (STM32_PERIPH_BASE + 0x00000000UL)
+#define STM32_APB1PERIPH_BASE (STM32_PERIPH_BASE + 0x00000000UL)
#define STM32_APB2PERIPH_BASE (STM32_PERIPH_BASE + 0x00010000UL)
#define STM32_AHB1PERIPH_BASE (STM32_PERIPH_BASE + 0x00020000UL)
#define STM32_AHB2PERIPH_BASE (STM32_PERIPH_BASE + 0x08000000UL)