From 93fb69fbdaafb20dbee7e4e5bea1d785b0cb4bee Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 15 Aug 2022 00:25:40 +0100 Subject: Migrate more F4x1 board files (#18046) --- keyboards/4pplet/perk60_iso/rev_a/config.h | 2 -- keyboards/4pplet/perk60_iso/rev_a/mcuconf.h | 13 ------------- keyboards/4pplet/perk60_iso/rev_a/rules.mk | 1 + 3 files changed, 1 insertion(+), 15 deletions(-) (limited to 'keyboards/4pplet') diff --git a/keyboards/4pplet/perk60_iso/rev_a/config.h b/keyboards/4pplet/perk60_iso/rev_a/config.h index 53ff93cc1c..bd24723df0 100644 --- a/keyboards/4pplet/perk60_iso/rev_a/config.h +++ b/keyboards/4pplet/perk60_iso/rev_a/config.h @@ -36,8 +36,6 @@ along with this program. If not, see . #define DRIVER_LED_TOTAL 62 #define ISSI_PWM_FREQUENCY 0b010 -#define STM32_HSECLK 8000000 - #define RGB_MATRIX_STARTUP_VAL 80 #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/4pplet/perk60_iso/rev_a/mcuconf.h b/keyboards/4pplet/perk60_iso/rev_a/mcuconf.h index 97f2ee51ee..dd68a8c1e7 100644 --- a/keyboards/4pplet/perk60_iso/rev_a/mcuconf.h +++ b/keyboards/4pplet/perk60_iso/rev_a/mcuconf.h @@ -22,19 +22,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 168 -#define STM32_PLLP_VALUE 4 -#define STM32_PLLQ_VALUE 7 -#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/4pplet/perk60_iso/rev_a/rules.mk b/keyboards/4pplet/perk60_iso/rev_a/rules.mk index 697898ae8e..8182d9e7e2 100644 --- a/keyboards/4pplet/perk60_iso/rev_a/rules.mk +++ b/keyboards/4pplet/perk60_iso/rev_a/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F411 +BOARD = GENERIC_STM32_F411XE # Bootloader selection BOOTLOADER = stm32-dfu -- cgit v1.2.3