@ -1,5 +1 @@ | |||||
# Copyright 2022 Binepad (@binpad) | |||||
# SPDX-License-Identifier: GPL-2.0-or-later | |||||
EPROM_DRIVER = wear_leveling | |||||
WEAR_LEVELING_DRIVER = embedded_flash | |||||
# This file intentionally left blank |
@ -1,12 +0,0 @@ | |||||
// Copyright 2023 Binepad (@binepad) | |||||
// SPDX-License-Identifier: GPL-2.0-or-later | |||||
#pragma once | |||||
/* | |||||
* Wear Leveling EEPROM Emulation | |||||
*/ | |||||
#define WEAR_LEVELING_LOGICAL_SIZE 2048 // Number of bytes "exposed" to the rest of QMK and denotes the size of the usable EEPROM. | |||||
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) // Number of bytes used by the wear-leveling algorithm for its underlying storage, and needs to be a multiple of the logical size. |
@ -1,7 +0,0 @@ | |||||
// Copyright 2022 BINEPAD (@binepad) | |||||
// SPDX-License-Identifier: GPL-2.0-or-later | |||||
#pragma once | |||||
#define WEAR_LEVELING_LOGICAL_SIZE 1024 | |||||
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) |
@ -1,21 +0,0 @@ | |||||
/* | |||||
Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br> | |||||
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 |