From dbd1d3cba111dabf3b2d322a3681039cf46603f7 Mon Sep 17 00:00:00 2001 From: Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com> Date: Sat, 11 Mar 2023 15:12:14 +1100 Subject: [Keyboard] Add Binpad BN009 R2 3x3 macropad (#19992) Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> Co-authored-by: Drashna Jaelre --- keyboards/binepad/bn009r2/config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 keyboards/binepad/bn009r2/config.h (limited to 'keyboards/binepad/bn009r2/config.h') diff --git a/keyboards/binepad/bn009r2/config.h b/keyboards/binepad/bn009r2/config.h new file mode 100644 index 0000000000..45b63ec105 --- /dev/null +++ b/keyboards/binepad/bn009r2/config.h @@ -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. -- cgit v1.2.3