[Keyboard] Consolidate Binepad BN009 R1 and R2 (#20113)

This commit is contained in:
Vino Rodrigues
2023-03-21 16:13:44 +11:00
committed by GitHub
parent dff7b3688f
commit bb53e9d539
20 changed files with 129 additions and 259 deletions

View File

@@ -0,0 +1,12 @@
// 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.