summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/zed1800
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechlovin/zed1800')
-rw-r--r--keyboards/mechlovin/zed1800/config.h21
-rw-r--r--keyboards/mechlovin/zed1800/info.json5
2 files changed, 5 insertions, 21 deletions
diff --git a/keyboards/mechlovin/zed1800/config.h b/keyboards/mechlovin/zed1800/config.h
deleted file mode 100644
index 9bfc776bcb..0000000000
--- a/keyboards/mechlovin/zed1800/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-Copyright 2022 Mechlovin'
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#define WEAR_LEVELING_BACKING_SIZE 4096
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
diff --git a/keyboards/mechlovin/zed1800/info.json b/keyboards/mechlovin/zed1800/info.json
index a3d862fa8c..41179a6ef1 100644
--- a/keyboards/mechlovin/zed1800/info.json
+++ b/keyboards/mechlovin/zed1800/info.json
@@ -12,6 +12,11 @@
},
"processor": "STM32F103",
"bootloader": "stm32duino",
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"features": {
"bootmagic": true,
"command": true,