summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-09-26 12:20:32 +1000
committerGitHub <noreply@github.com>2023-09-26 12:20:32 +1000
commit8d9c770a8181d0bcc59b89a57e6835735356da91 (patch)
tree4ac4452cee1125c55406603158f8357a2ada0c72 /platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h
parent6eb2e43a8d61694b05016e9a6c95303ff9d5e761 (diff)
Fix entry into bootloader for STM32G431. (#22138)
Diffstat (limited to 'platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h')
-rw-r--r--platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h b/platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h
new file mode 100644
index 0000000000..2f23d400bb
--- /dev/null
+++ b/platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h
@@ -0,0 +1,7 @@
+// Copyright 2023 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
+# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
+#endif