summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-09-26 02:21:14 +0000
committerQMK Bot <hello@qmk.fm>2023-09-26 02:21:14 +0000
commitfc25b92e0fa5405c846aa01357487ea2be044790 (patch)
tree7430cec7c0534bfadc21244ef9c90247ec1ecb67 /platforms
parent1acecc38e9975cc2fd8f2b17c52c5255943d6b45 (diff)
parent8d9c770a8181d0bcc59b89a57e6835735356da91 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'platforms')
-rw-r--r--platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h4
-rw-r--r--platforms/chibios/boards/GENERIC_STM32_G431XB/configs/config.h7
2 files changed, 7 insertions, 4 deletions
diff --git a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h
index 90a41326a1..cbb98f9098 100644
--- a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h
+++ b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h
@@ -14,10 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* Address for jumping to bootloader on STM32 chips. */
-/* It is chip dependent, the correct number can be looked up by checking against ST's application note AN2606.
- */
-
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif
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