From e44b6242b70e3fc94b71ab3a463a0cf6b4dba280 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 15 Aug 2022 18:55:21 +0100 Subject: [PATCH] Migrate more F4x1 board files (#18054) --- keyboards/acheron/apollo/87h/gamma/config.h | 2 -- keyboards/acheron/apollo/87h/gamma/mcuconf.h | 13 ------------- keyboards/acheron/apollo/87h/gamma/rules.mk | 1 + .../charybdis/3x5/keymaps/drashna/rules.mk | 1 + .../dactyl_manuform/6x6/blackpill_f411/rules.mk | 1 + .../onekey/blackpill_f411_tinyuf2/rules.mk | 1 + keyboards/mechwild/bbs/rules.mk | 1 + keyboards/mlego/m60_split/rev1/rules.mk | 1 + keyboards/phoenix/rules.mk | 1 + keyboards/xelus/rs108/rules.mk | 1 + keyboards/xelus/rs60/rev2/rules.mk | 1 + keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk | 1 + keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk | 1 + 13 files changed, 11 insertions(+), 15 deletions(-) diff --git a/keyboards/acheron/apollo/87h/gamma/config.h b/keyboards/acheron/apollo/87h/gamma/config.h index 451071f8695446806b3126a03cd35721180699d1..89f9a85d24b01348e3b1c662579918211d9895b4 100644 --- a/keyboards/acheron/apollo/87h/gamma/config.h +++ b/keyboards/acheron/apollo/87h/gamma/config.h @@ -44,8 +44,6 @@ along with this program. If not, see . #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE -#define STM32_HSECLK 8000000 - // RGB Matrix defines #define DRIVER_ADDR_1 0b0110000 diff --git a/keyboards/acheron/apollo/87h/gamma/mcuconf.h b/keyboards/acheron/apollo/87h/gamma/mcuconf.h index 5983bdde901258c371e67b910df08efda36272fa..0113e7137844a47cc7434c4e740c6219ebc0544c 100644 --- a/keyboards/acheron/apollo/87h/gamma/mcuconf.h +++ b/keyboards/acheron/apollo/87h/gamma/mcuconf.h @@ -17,19 +17,6 @@ #pragma once #include_next -#undef STM32_PLLM_VALUE -#undef STM32_PLLN_VALUE -#undef STM32_PLLP_VALUE -#undef STM32_PLLQ_VALUE -#undef STM32_PPRE1 -#undef STM32_PPRE2 - -#define STM32_PLLM_VALUE 4 -#define STM32_PLLN_VALUE 96 -#define STM32_PLLP_VALUE 2 -#define STM32_PLLQ_VALUE 4 -#define STM32_PPRE1 STM32_PPRE1_DIV2 -#define STM32_PPRE2 STM32_PPRE2_DIV1 #undef STM32_I2C_USE_I2C1 #define STM32_I2C_USE_I2C1 TRUE diff --git a/keyboards/acheron/apollo/87h/gamma/rules.mk b/keyboards/acheron/apollo/87h/gamma/rules.mk index fde739dac714b92d81a0e0135726ecab6aac7250..4ba14045bbbe3edbe7260f557a47a0112c493dc2 100644 --- a/keyboards/acheron/apollo/87h/gamma/rules.mk +++ b/keyboards/acheron/apollo/87h/gamma/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F411 +BOARD = GENERIC_STM32_F411XE # Bootloader selection BOOTLOADER = stm32-dfu diff --git a/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/rules.mk b/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/rules.mk index 0cff2a7a2e9770a661c8526f00add1ebc44530ef..1369213cf2df4aaef8a6edcd928427d6fd177926 100644 --- a/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/rules.mk +++ b/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F411 +BOARD = BLACKPILL_STM32_F411 # Bootloader selection # BOOTLOADER = stm32-dfu diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk index af3cc492960b5b99644d874ed11df2ed966c79d3..d929a3516d75f036855e5cd304390e5d7e35d817 100644 --- a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk +++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk @@ -3,6 +3,7 @@ # MCU name MCU = STM32F411 +BOARD = BLACKPILL_STM32_F411 # Bootloader selection BOOTLOADER = tinyuf2 diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk index 70180ee790b5b92045f7afe0737d0f64dd7bf681..2c38e9b580bf93e01d5cd25c1dc919a3c93a5db9 100755 --- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk +++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F411 +BOARD = BLACKPILL_STM32_F411 # Bootloader selection BOOTLOADER = tinyuf2 diff --git a/keyboards/mechwild/bbs/rules.mk b/keyboards/mechwild/bbs/rules.mk index 0e59cba428d31c4cb0accb1a02d146f87c4e7242..519b77b437be9700a3ad9dcc85fcff2c9b5cbc4b 100644 --- a/keyboards/mechwild/bbs/rules.mk +++ b/keyboards/mechwild/bbs/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F401 +BOARD = BLACKPILL_STM32_F401 # Bootloader selection BOOTLOADER = stm32-dfu diff --git a/keyboards/mlego/m60_split/rev1/rules.mk b/keyboards/mlego/m60_split/rev1/rules.mk index 14022f20865b307e5856b79d8f0f3cd37d0f5cad..1a09f141b7bd750cfc0a70649ddcdc94fd9cbf1e 100644 --- a/keyboards/mlego/m60_split/rev1/rules.mk +++ b/keyboards/mlego/m60_split/rev1/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F401 +BOARD = BLACKPILL_STM32_F401 # Bootloader selection BOOTLOADER = tinyuf2 diff --git a/keyboards/phoenix/rules.mk b/keyboards/phoenix/rules.mk index f895b3d316b466a875024ea6855ba42c447625dc..c155cd0988cce17d76f5e11a0eeaab77b41f385c 100644 --- a/keyboards/phoenix/rules.mk +++ b/keyboards/phoenix/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F401 +BOARD = BLACKPILL_STM32_F401 # Bootloader selection BOOTLOADER = stm32-dfu diff --git a/keyboards/xelus/rs108/rules.mk b/keyboards/xelus/rs108/rules.mk index 86ab82cc61d6cfcb9470901f49f4cec1ceb8cb1b..46df2e4e8ea89e32e213edd0ea178889b32afd5e 100644 --- a/keyboards/xelus/rs108/rules.mk +++ b/keyboards/xelus/rs108/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F401 +BOARD = GENERIC_STM32_F401XC # Bootloader selection BOOTLOADER = stm32-dfu diff --git a/keyboards/xelus/rs60/rev2/rules.mk b/keyboards/xelus/rs60/rev2/rules.mk index 95c0f0bc6049211d6ea730d0c1157e63f6707d83..3bf99c0be77f37dc57fe6db2c35eaaf8ddabac7d 100644 --- a/keyboards/xelus/rs60/rev2/rules.mk +++ b/keyboards/xelus/rs60/rev2/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F401 +BOARD = GENERIC_STM32_F401XC # Bootloader selection BOOTLOADER = stm32-dfu diff --git a/keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk b/keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk index ba22afdc26960e8097710c2f204ba522fc1b0c64..0747b349ab66d43890383f82814a1bf7933a1dd1 100644 --- a/keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk +++ b/keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F411 +BOARD = GENERIC_STM32_F401XC # Bootloader selection BOOTLOADER = stm32-dfu diff --git a/keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk b/keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk index 72dda3e6f8711d13a17095f26bd6108122de5bad..6b2ee6520dd8e5df624709df3c18b0540c8484ca 100644 --- a/keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk +++ b/keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F401 +BOARD = GENERIC_STM32_F401XC # Bootloader selection BOOTLOADER = stm32-dfu