diff options
author | Joel Challis <[email protected]> | 2024-02-14 08:54:24 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-14 08:54:24 +0000 |
commit | 4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch) | |
tree | a356a34c9244c5b985556f133744dff81ee16973 /keyboards/mechlovin/zed1800 | |
parent | 50c5403612018ae940af311078dfb760f9b0c2ce (diff) | |
download | qmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.tar.gz qmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.zip |
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/mechlovin/zed1800')
-rw-r--r-- | keyboards/mechlovin/zed1800/config.h | 21 | ||||
-rw-r--r-- | keyboards/mechlovin/zed1800/info.json | 5 |
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, |