summaryrefslogtreecommitdiff
path: root/keyboards/acheron/apollo/88htsc
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/88htsc
parent456d6f33426946d632ed52a3278b5fcd0c398644 (diff)
Update Apollo PCBs to use wear levelling code (#18411)
Diffstat (limited to 'keyboards/acheron/apollo/88htsc')
-rw-r--r--keyboards/acheron/apollo/88htsc/88htsc.c5
-rw-r--r--keyboards/acheron/apollo/88htsc/halconf.h2
-rw-r--r--keyboards/acheron/apollo/88htsc/mcuconf.h3
-rw-r--r--keyboards/acheron/apollo/88htsc/rules.mk4
4 files changed, 3 insertions, 11 deletions
diff --git a/keyboards/acheron/apollo/88htsc/88htsc.c b/keyboards/acheron/apollo/88htsc/88htsc.c
index 88e0815b3f..574e1829de 100644
--- a/keyboards/acheron/apollo/88htsc/88htsc.c
+++ b/keyboards/acheron/apollo/88htsc/88htsc.c
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "88htsc.h"
-void board_init(void) {
- setPinInput(B9);
- setPinInput(B10);
-}
-
led_config_t g_led_config = { {
{ 16 , 15 , 14 , 13 , 12 , 11 , 10 , 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 },
{ 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 },
diff --git a/keyboards/acheron/apollo/88htsc/halconf.h b/keyboards/acheron/apollo/88htsc/halconf.h
index 9379352e8e..09240969ab 100644
--- a/keyboards/acheron/apollo/88htsc/halconf.h
+++ b/keyboards/acheron/apollo/88htsc/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/88htsc/mcuconf.h b/keyboards/acheron/apollo/88htsc/mcuconf.h
index 29a62a94c2..652fecfc8a 100644
--- a/keyboards/acheron/apollo/88htsc/mcuconf.h
+++ b/keyboards/acheron/apollo/88htsc/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/88htsc/rules.mk b/keyboards/acheron/apollo/88htsc/rules.mk
index c519425408..18e8b33b07 100644
--- a/keyboards/acheron/apollo/88htsc/rules.mk
+++ b/keyboards/acheron/apollo/88htsc/rules.mk
@@ -19,7 +19,9 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
-EEPROM_DRIVER = i2c
+
+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