aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/Kconfig')
-rw-r--r--src/stm32/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig
index 13cf8d84..dac884a0 100644
--- a/src/stm32/Kconfig
+++ b/src/stm32/Kconfig
@@ -220,6 +220,15 @@ config STM32F103GD_DISABLE_SWD
and PA14 pins from being available. Selecting this option
disables SWD at startup and thus makes these pins available.
+config STM32_DFU_ROM_ADDRESS
+ hex
+ default 0 if !USB
+ default 0x1fffc400 if MACH_STM32F042
+ default 0x1fffc800 if MACH_STM32F072
+ default 0x1fff0000 if MACH_STM32F4 || MACH_STM32G0 || MACH_STM32G4 || MACH_STM32L4
+ default 0x1ff09800 if MACH_STM32H7
+ default 0
+
######################################################################
# Bootloader