diff options
author | Joel Challis <[email protected]> | 2023-09-14 00:13:19 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-14 09:13:19 +1000 |
commit | 00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 (patch) | |
tree | abbb0293f35b8f3d261bc04fc2eaba9ea47dded0 /keyboards/mode/m75h | |
parent | 36b4e290c8dd1d6b0156c5730df36930890dc605 (diff) | |
download | qmk_firmware-00feff656f80d9c9bf57cb1c6ad94ef2f69f1440.tar.gz qmk_firmware-00feff656f80d9c9bf57cb1c6ad94ef2f69f1440.zip |
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/mode/m75h')
-rw-r--r-- | keyboards/mode/m75h/config.h | 21 | ||||
-rw-r--r-- | keyboards/mode/m75h/info.json | 5 |
2 files changed, 5 insertions, 21 deletions
diff --git a/keyboards/mode/m75h/config.h b/keyboards/mode/m75h/config.h deleted file mode 100644 index c6d7d037ec..0000000000 --- a/keyboards/mode/m75h/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - Copyright 2020 Álvaro "Gondolindrim" Volpato <[email protected]> - -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_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE 4096 diff --git a/keyboards/mode/m75h/info.json b/keyboards/mode/m75h/info.json index f57aac383e..8314dbf99d 100644 --- a/keyboards/mode/m75h/info.json +++ b/keyboards/mode/m75h/info.json @@ -13,6 +13,11 @@ "rows": ["C5", "B0", "B14", "B15", "A8", "C9", "A15"] }, "diode_direction": "COL2ROW", + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "layout_aliases": { |