diff options
author | Joel Challis <git@zvecr.com> | 2024-02-14 08:54:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 08:54:24 +0000 |
commit | 4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch) | |
tree | a356a34c9244c5b985556f133744dff81ee16973 /keyboards/mechlovin | |
parent | 50c5403612018ae940af311078dfb760f9b0c2ce (diff) |
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/mechlovin')
-rw-r--r-- | keyboards/mechlovin/olly/jf/rev2/config.h | 3 | ||||
-rw-r--r-- | keyboards/mechlovin/olly/jf/rev2/info.json | 5 | ||||
-rw-r--r-- | keyboards/mechlovin/zed1800/config.h | 21 | ||||
-rw-r--r-- | keyboards/mechlovin/zed1800/info.json | 5 |
4 files changed, 10 insertions, 24 deletions
diff --git a/keyboards/mechlovin/olly/jf/rev2/config.h b/keyboards/mechlovin/olly/jf/rev2/config.h index e1389b1e9a..9f70d27fba 100644 --- a/keyboards/mechlovin/olly/jf/rev2/config.h +++ b/keyboards/mechlovin/olly/jf/rev2/config.h @@ -26,6 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define I2C1_CLOCK_SPEED 400000 #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 - -#define WEAR_LEVELING_BACKING_SIZE 4096 -#define WEAR_LEVELING_LOGICAL_SIZE 2048 diff --git a/keyboards/mechlovin/olly/jf/rev2/info.json b/keyboards/mechlovin/olly/jf/rev2/info.json index da86fbb075..600bf8a3af 100644 --- a/keyboards/mechlovin/olly/jf/rev2/info.json +++ b/keyboards/mechlovin/olly/jf/rev2/info.json @@ -1,6 +1,11 @@ { "keyboard_name": "Olly JF Rev2", "bootloader": "stm32duino", + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "features": { "command": true, "console": true, 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, |