From 0d30565bb7506d6d5c25d8fb28684859434493eb Mon Sep 17 00:00:00 2001 From: Zykrah Date: Thu, 7 Jul 2022 15:44:21 +1000 Subject: [PATCH] Fix/waka60 audio (#17561) --- keyboards/mechwild/waka60/f401/{eeprom => }/config.h | 0 keyboards/mechwild/waka60/{f411/eeprom => f401}/halconf.h | 3 +++ keyboards/mechwild/waka60/f401/{eeprom => }/mcuconf.h | 5 +++++ keyboards/mechwild/waka60/f411/{eeprom => }/config.h | 0 keyboards/mechwild/waka60/{f401/eeprom => f411}/halconf.h | 3 +++ keyboards/mechwild/waka60/f411/{eeprom => }/mcuconf.h | 5 +++++ 6 files changed, 16 insertions(+) rename keyboards/mechwild/waka60/f401/{eeprom => }/config.h (100%) rename keyboards/mechwild/waka60/{f411/eeprom => f401}/halconf.h (90%) rename keyboards/mechwild/waka60/f401/{eeprom => }/mcuconf.h (83%) rename keyboards/mechwild/waka60/f411/{eeprom => }/config.h (100%) rename keyboards/mechwild/waka60/{f401/eeprom => f411}/halconf.h (90%) rename keyboards/mechwild/waka60/f411/{eeprom => }/mcuconf.h (83%) diff --git a/keyboards/mechwild/waka60/f401/eeprom/config.h b/keyboards/mechwild/waka60/f401/config.h similarity index 100% rename from keyboards/mechwild/waka60/f401/eeprom/config.h rename to keyboards/mechwild/waka60/f401/config.h diff --git a/keyboards/mechwild/waka60/f411/eeprom/halconf.h b/keyboards/mechwild/waka60/f401/halconf.h similarity index 90% rename from keyboards/mechwild/waka60/f411/eeprom/halconf.h rename to keyboards/mechwild/waka60/f401/halconf.h index b57977316a..25309fc70f 100644 --- a/keyboards/mechwild/waka60/f411/eeprom/halconf.h +++ b/keyboards/mechwild/waka60/f401/halconf.h @@ -17,6 +17,9 @@ #pragma once #define HAL_USE_I2C TRUE +#define HAL_USE_PWM TRUE +#define HAL_USE_PAL TRUE +#define HAL_USE_GPT TRUE #include_next diff --git a/keyboards/mechwild/waka60/f401/eeprom/mcuconf.h b/keyboards/mechwild/waka60/f401/mcuconf.h similarity index 83% rename from keyboards/mechwild/waka60/f401/eeprom/mcuconf.h rename to keyboards/mechwild/waka60/f401/mcuconf.h index da43021663..95339690cf 100644 --- a/keyboards/mechwild/waka60/f401/eeprom/mcuconf.h +++ b/keyboards/mechwild/waka60/f401/mcuconf.h @@ -20,3 +20,8 @@ #undef STM32_I2C_USE_I2C1 #define STM32_I2C_USE_I2C1 TRUE + +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE +#undef STM32_GPT_USE_TIM4 +#define STM32_GPT_USE_TIM4 TRUE \ No newline at end of file diff --git a/keyboards/mechwild/waka60/f411/eeprom/config.h b/keyboards/mechwild/waka60/f411/config.h similarity index 100% rename from keyboards/mechwild/waka60/f411/eeprom/config.h rename to keyboards/mechwild/waka60/f411/config.h diff --git a/keyboards/mechwild/waka60/f401/eeprom/halconf.h b/keyboards/mechwild/waka60/f411/halconf.h similarity index 90% rename from keyboards/mechwild/waka60/f401/eeprom/halconf.h rename to keyboards/mechwild/waka60/f411/halconf.h index b57977316a..25309fc70f 100644 --- a/keyboards/mechwild/waka60/f401/eeprom/halconf.h +++ b/keyboards/mechwild/waka60/f411/halconf.h @@ -17,6 +17,9 @@ #pragma once #define HAL_USE_I2C TRUE +#define HAL_USE_PWM TRUE +#define HAL_USE_PAL TRUE +#define HAL_USE_GPT TRUE #include_next diff --git a/keyboards/mechwild/waka60/f411/eeprom/mcuconf.h b/keyboards/mechwild/waka60/f411/mcuconf.h similarity index 83% rename from keyboards/mechwild/waka60/f411/eeprom/mcuconf.h rename to keyboards/mechwild/waka60/f411/mcuconf.h index da43021663..f903d8880f 100644 --- a/keyboards/mechwild/waka60/f411/eeprom/mcuconf.h +++ b/keyboards/mechwild/waka60/f411/mcuconf.h @@ -20,3 +20,8 @@ #undef STM32_I2C_USE_I2C1 #define STM32_I2C_USE_I2C1 TRUE + +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE +#undef STM32_GPT_USE_TIM4 +#define STM32_GPT_USE_TIM4 TRUE