summaryrefslogtreecommitdiff
path: root/keyboards/acheron/apollo/87htsc
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.augusto.volpato@gmail.com>2022-09-20 15:43:49 -0300
committerGitHub <noreply@github.com>2022-09-20 11:43:49 -0700
commitb0f824755a1239a5ee6285a8930f6521f3924869 (patch)
tree4859488fb38e677dbd951935df06630ceaf9314a /keyboards/acheron/apollo/87htsc
parent456d6f33426946d632ed52a3278b5fcd0c398644 (diff)
Update Apollo PCBs to use wear levelling code (#18411)
Diffstat (limited to 'keyboards/acheron/apollo/87htsc')
-rw-r--r--keyboards/acheron/apollo/87htsc/halconf.h2
-rw-r--r--keyboards/acheron/apollo/87htsc/mcuconf.h3
-rw-r--r--keyboards/acheron/apollo/87htsc/rules.mk3
3 files changed, 3 insertions, 5 deletions
diff --git a/keyboards/acheron/apollo/87htsc/halconf.h b/keyboards/acheron/apollo/87htsc/halconf.h
index 9379352e8e..09240969ab 100644
--- a/keyboards/acheron/apollo/87htsc/halconf.h
+++ b/keyboards/acheron/apollo/87htsc/halconf.h
@@ -16,8 +16,6 @@
#pragma once
-#define HAL_USE_I2C TRUE
-
#define HAL_USE_PWM TRUE
#define HAL_USE_PAL TRUE
diff --git a/keyboards/acheron/apollo/87htsc/mcuconf.h b/keyboards/acheron/apollo/87htsc/mcuconf.h
index 29a62a94c2..652fecfc8a 100644
--- a/keyboards/acheron/apollo/87htsc/mcuconf.h
+++ b/keyboards/acheron/apollo/87htsc/mcuconf.h
@@ -18,9 +18,6 @@
#include_next <mcuconf.h>
-#undef STM32_I2C_USE_I2C1
-#define STM32_I2C_USE_I2C1 TRUE
-
#undef STM32_PWM_USE_ADVANCED
#define STM32_PWM_USE_ADVANCED TRUE
diff --git a/keyboards/acheron/apollo/87htsc/rules.mk b/keyboards/acheron/apollo/87htsc/rules.mk
index 696b529919..f2becf4db4 100644
--- a/keyboards/acheron/apollo/87htsc/rules.mk
+++ b/keyboards/acheron/apollo/87htsc/rules.mk
@@ -19,5 +19,8 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
+
+EEPROM_DRIVER = wear_leveling
+WEAR_LEVELING_DRIVER = legacy
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE