~ruther/qmk_firmware

00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 — Joel Challis 1 year, 10 months ago 36b4e29
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)

58 files changed, 89 insertions(+), 120 deletions(-)

M keyboards/akko/5108/config.h
M keyboards/akko/5108/info.json
M keyboards/akko/acr87/config.h
M keyboards/akko/acr87/info.json
M keyboards/akko/top40/config.h
M keyboards/akko/top40/info.json
M keyboards/annepro2/c15/config.h
M keyboards/annepro2/c15/info.json
M keyboards/annepro2/c18/config.h
M keyboards/annepro2/c18/info.json
M keyboards/binepad/bn006/config.h
M keyboards/binepad/bn006/info.json
M keyboards/binepad/bn006/rules.mk
D keyboards/binepad/bn009/r2/config.h
M keyboards/binepad/bn009/r2/info.json
D keyboards/binepad/bnr1/v2/config.h
M keyboards/chosfox/cf81/config.h
M keyboards/chosfox/cf81/info.json
M keyboards/gmmk/gmmk2/p96/ansi/info.json
M keyboards/gmmk/gmmk2/p96/config.h
M keyboards/gmmk/gmmk2/p96/iso/info.json
M keyboards/gmmk/numpad/config.h
M keyboards/gmmk/numpad/info.json
M keyboards/gmmk/pro/rev2/ansi/info.json
M keyboards/gmmk/pro/rev2/config.h
M keyboards/gmmk/pro/rev2/iso/info.json
M keyboards/hfdkb/ac001/config.h
M keyboards/hfdkb/ac001/info.json
M keyboards/horrortroll/handwired_k552/config.h
M keyboards/horrortroll/handwired_k552/info.json
M keyboards/ibm/model_m/yugo_m/config.h
M keyboards/ibm/model_m/yugo_m/info.json
M keyboards/inland/kb83/config.h
M keyboards/inland/kb83/info.json
M keyboards/inland/mk47/config.h
M keyboards/inland/mk47/info.json
M keyboards/mechlovin/hex6c/config.h
M keyboards/mechlovin/hex6c/info.json
D keyboards/mode/m75h/config.h
M keyboards/mode/m75h/info.json
M keyboards/mode/m75s/config.h
M keyboards/mode/m75s/info.json
M keyboards/monsgeek/m1/config.h
M keyboards/monsgeek/m1/info.json
M keyboards/monsgeek/m5/config.h
M keyboards/monsgeek/m5/info.json
M keyboards/monsgeek/m6/config.h
M keyboards/monsgeek/m6/info.json
M keyboards/projectd/65/projectd_65_ansi/config.h
M keyboards/projectd/65/projectd_65_ansi/info.json
M keyboards/rgbkb/mun/config.h
M keyboards/rgbkb/mun/rev1/info.json
M keyboards/rgbkb/sol3/config.h
M keyboards/rgbkb/sol3/rev1/info.json
M keyboards/xelus/kangaroo/rev2/config.h
M keyboards/xelus/kangaroo/rev2/info.json
M keyboards/xelus/rs60/rev2_1/config.h
M keyboards/xelus/rs60/rev2_1/info.json
M keyboards/akko/5108/config.h => keyboards/akko/5108/config.h +0 -1
@@ 35,7 35,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 2

M keyboards/akko/5108/info.json => keyboards/akko/5108/info.json +2 -1
@@ 29,7 29,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "indicators": {

M keyboards/akko/acr87/config.h => keyboards/akko/acr87/config.h +0 -1
@@ 32,7 32,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 3

M keyboards/akko/acr87/info.json => keyboards/akko/acr87/info.json +2 -1
@@ 29,7 29,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "rgb_matrix": {

M keyboards/akko/top40/config.h => keyboards/akko/top40/config.h +0 -1
@@ 32,7 32,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 2

M keyboards/akko/top40/info.json => keyboards/akko/top40/info.json +2 -1
@@ 29,7 29,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "rgb_matrix": {

M keyboards/annepro2/c15/config.h => keyboards/annepro2/c15/config.h +0 -4
@@ 57,7 57,3 @@
#define EXTERNAL_FLASH_SECTOR_SIZE 4096
#define EXTERNAL_FLASH_BLOCK_SIZE 4096
#define EXTERNAL_FLASH_SIZE (256 * 1024) // 2M-bit flash size

// Wear-leveling driver configuration
#define WEAR_LEVELING_LOGICAL_SIZE 1024
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

M keyboards/annepro2/c15/info.json => keyboards/annepro2/c15/info.json +2 -1
@@ 6,7 6,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "rgb_matrix": {

M keyboards/annepro2/c18/config.h => keyboards/annepro2/c18/config.h +0 -4
@@ 55,7 55,3 @@
#define EXTERNAL_FLASH_SECTOR_SIZE 4096
#define EXTERNAL_FLASH_BLOCK_SIZE 4096
#define EXTERNAL_FLASH_SIZE (256 * 1024) // 2M-bit flash size

// Wear-leveling driver configuration
#define WEAR_LEVELING_LOGICAL_SIZE 1024
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

M keyboards/annepro2/c18/info.json => keyboards/annepro2/c18/info.json +2 -1
@@ 6,7 6,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "rgb_matrix": {

M keyboards/binepad/bn006/config.h => keyboards/binepad/bn006/config.h +0 -8
@@ 4,14 4,6 @@
#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.


/*
 * RGB Matrix
 */


M keyboards/binepad/bn006/info.json => keyboards/binepad/bn006/info.json +5 -0
@@ 24,6 24,11 @@
        "pid": "0x426E",
        "device_version": "1.0.0"
    },
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "ws2812": {
        "pin": "B15"
    },

M keyboards/binepad/bn006/rules.mk => keyboards/binepad/bn006/rules.mk +1 -5
@@ 1,5 1,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
\ No newline at end of file

D keyboards/binepad/bn009/r2/config.h => keyboards/binepad/bn009/r2/config.h +0 -12
@@ 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.

M keyboards/binepad/bn009/r2/info.json => keyboards/binepad/bn009/r2/info.json +5 -0
@@ 6,6 6,11 @@
        "cols": ["A1", "A2", "A6"],
        "rows": ["B6", "B7", "B2"]
    },
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "processor": "STM32F103",
    "usb": {
        "device_version": "2.0.0"

D keyboards/binepad/bnr1/v2/config.h => keyboards/binepad/bnr1/v2/config.h +0 -7
@@ 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)

M keyboards/chosfox/cf81/config.h => keyboards/chosfox/cf81/config.h +0 -1
@@ 32,7 32,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 2

M keyboards/chosfox/cf81/info.json => keyboards/chosfox/cf81/info.json +2 -1
@@ 12,7 12,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "processor": "WB32FQ95",

M keyboards/gmmk/gmmk2/p96/ansi/info.json => keyboards/gmmk/gmmk2/p96/ansi/info.json +2 -1
@@ 22,7 22,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "processor": "WB32F3G71",

M keyboards/gmmk/gmmk2/p96/config.h => keyboards/gmmk/gmmk2/p96/config.h +0 -1
@@ 25,7 25,6 @@

/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
#define WEAR_LEVELING_BACKING_SIZE 2048

/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ

M keyboards/gmmk/gmmk2/p96/iso/info.json => keyboards/gmmk/gmmk2/p96/iso/info.json +2 -1
@@ 22,7 22,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "processor": "WB32F3G71",

M keyboards/gmmk/numpad/config.h => keyboards/gmmk/numpad/config.h +0 -1
@@ 37,7 37,6 @@
#define RGB_MATRIX_LED_COUNT 31

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B6
#define WEAR_LEVELING_BACKING_SIZE 2048

#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN

M keyboards/gmmk/numpad/info.json => keyboards/gmmk/numpad/info.json +2 -1
@@ 11,7 11,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "encoder": {

M keyboards/gmmk/pro/rev2/ansi/info.json => keyboards/gmmk/pro/rev2/ansi/info.json +2 -1
@@ 19,7 19,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "encoder": {

M keyboards/gmmk/pro/rev2/config.h => keyboards/gmmk/pro/rev2/config.h +0 -1
@@ 19,7 19,6 @@

/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B12
#define WEAR_LEVELING_BACKING_SIZE 2048

/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ

M keyboards/gmmk/pro/rev2/iso/info.json => keyboards/gmmk/pro/rev2/iso/info.json +2 -1
@@ 19,7 19,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "encoder": {

M keyboards/hfdkb/ac001/config.h => keyboards/hfdkb/ac001/config.h +0 -1
@@ 32,7 32,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended


M keyboards/hfdkb/ac001/info.json => keyboards/hfdkb/ac001/info.json +2 -1
@@ 20,7 20,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "ws2812": {

M keyboards/horrortroll/handwired_k552/config.h => keyboards/horrortroll/handwired_k552/config.h +0 -4
@@ 30,10 30,6 @@
#define EXTERNAL_FLASH_BLOCK_SIZE 4096
#define EXTERNAL_FLASH_SIZE (256 * 1024) // 2M-bit flash size

// Wear-leveling driver configuration
#define WEAR_LEVELING_LOGICAL_SIZE 1024
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

#ifdef OLED_ENABLE
    /* Mapping I2C2 for OLED */
    #define I2C1_SCL_PIN B10

M keyboards/horrortroll/handwired_k552/info.json => keyboards/horrortroll/handwired_k552/info.json +2 -1
@@ 23,7 23,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 2048
        }
    },
    "community_layouts": ["tkl_ansi"],

M keyboards/ibm/model_m/yugo_m/config.h => keyboards/ibm/model_m/yugo_m/config.h +0 -4
@@ 36,7 36,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

/* redefine available (emulated) EEPROM as 4 kB rather than the default 2 kB to let VIA use more of the on-chip Flash of the STM32F303 to store 4 layers (since 4 layers * 8 rows * 16 columns * 2 = 1024 bytes but the default max available is 1023 bytes due to ATMEGA32U4 etc. only having 1 kB of EEPROM) */
#define WEAR_LEVELING_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

M keyboards/ibm/model_m/yugo_m/info.json => keyboards/ibm/model_m/yugo_m/info.json +5 -0
@@ 13,6 13,11 @@
        "rows": ["B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"]
    },
    "diode_direction": "ROW2COL",
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "processor": "STM32F303",
    "bootloader": "stm32-dfu",
    "board": "QMK_PROTON_C",

M keyboards/inland/kb83/config.h => keyboards/inland/kb83/config.h +0 -1
@@ 36,7 36,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 2

M keyboards/inland/kb83/info.json => keyboards/inland/kb83/info.json +2 -1
@@ 21,7 21,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "encoder": {

M keyboards/inland/mk47/config.h => keyboards/inland/mk47/config.h +0 -1
@@ 23,7 23,6 @@
#define SPI_MISO_PIN B4

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 1

M keyboards/inland/mk47/info.json => keyboards/inland/mk47/info.json +2 -1
@@ 29,7 29,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 4096
        }
    },
    "rgb_matrix": {

M keyboards/mechlovin/hex6c/config.h => keyboards/mechlovin/hex6c/config.h +0 -3
@@ 18,6 18,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
#pragma once

#define BACKLIGHT_PWM_DRIVER PWMD3

#define WEAR_LEVELING_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

M keyboards/mechlovin/hex6c/info.json => keyboards/mechlovin/hex6c/info.json +5 -0
@@ 13,6 13,11 @@
        "rows": ["A10", "B13", "B12", "B11", "C14", "C15"]
    },
    "diode_direction": "COL2ROW",
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "encoder": {
        "rotary": [
            {"pin_a": "A15", "pin_b": "A2"}

D keyboards/mode/m75h/config.h => keyboards/mode/m75h/config.h +0 -21
@@ 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

M keyboards/mode/m75h/info.json => keyboards/mode/m75h/info.json +5 -0
@@ 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": {

M keyboards/mode/m75s/config.h => keyboards/mode/m75s/config.h +0 -3
@@ 20,6 20,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_DEFAULT_LEVEL 20
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1

#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096

M keyboards/mode/m75s/info.json => keyboards/mode/m75s/info.json +5 -0
@@ 13,6 13,11 @@
        "rows": ["C5", "B0", "B14", "B15", "C7", "C9", "A15"]
    },
    "diode_direction": "COL2ROW",
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "backlight": {
        "pin": "C6",
        "levels": 20,

M keyboards/monsgeek/m1/config.h => keyboards/monsgeek/m1/config.h +0 -1
@@ 34,7 34,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 2

M keyboards/monsgeek/m1/info.json => keyboards/monsgeek/m1/info.json +2 -1
@@ 29,7 29,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "encoder": {

M keyboards/monsgeek/m5/config.h => keyboards/monsgeek/m5/config.h +0 -1
@@ 35,7 35,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 2

M keyboards/monsgeek/m5/info.json => keyboards/monsgeek/m5/info.json +2 -1
@@ 28,7 28,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "indicators": {

M keyboards/monsgeek/m6/config.h => keyboards/monsgeek/m6/config.h +0 -1
@@ 32,7 32,6 @@
#define SPI_MOSI_PAL_MODE 5

#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)

/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 2

M keyboards/monsgeek/m6/info.json => keyboards/monsgeek/m6/info.json +2 -1
@@ 28,7 28,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 8192
        }
    },
    "rgb_matrix": {

M keyboards/projectd/65/projectd_65_ansi/config.h => keyboards/projectd/65/projectd_65_ansi/config.h +0 -1
@@ 25,7 25,6 @@

/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)

/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ

M keyboards/projectd/65/projectd_65_ansi/info.json => keyboards/projectd/65/projectd_65_ansi/info.json +2 -1
@@ 13,7 13,8 @@
    "eeprom": {
        "driver": "wear_leveling",
        "wear_leveling": {
            "driver": "spi_flash"
            "driver": "spi_flash",
            "backing_size": 4096
        }
    },
    "features": {

M keyboards/rgbkb/mun/config.h => keyboards/rgbkb/mun/config.h +0 -3
@@ 119,6 119,3 @@

#define TOUCH_UPDATE_INTERVAL 33
#define OLED_UPDATE_INTERVAL 33

#define WEAR_LEVELING_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

M keyboards/rgbkb/mun/rev1/info.json => keyboards/rgbkb/mun/rev1/info.json +5 -0
@@ 37,6 37,11 @@
        "io_delay": 5
    },
    "diode_direction": "COL2ROW",
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "encoder": {
        "rotary": [
            {"pin_a": "B8", "pin_b": "A14"},

M keyboards/rgbkb/sol3/config.h => keyboards/rgbkb/sol3/config.h +0 -3
@@ 125,6 125,3 @@
#define AUDIO_CLICKY
#define AUDIO_DAC_SAMPLE_WAVEFORM_SQUARE
#define AUDIO_DAC_OFF_VALUE 0

#define WEAR_LEVELING_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

M keyboards/rgbkb/sol3/rev1/info.json => keyboards/rgbkb/sol3/rev1/info.json +5 -0
@@ 37,6 37,11 @@
        "io_delay": 5
    },
    "diode_direction": "COL2ROW",
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "encoder": {
        "rotary": [
            {"pin_a": "A1", "pin_b": "A2"},

M keyboards/xelus/kangaroo/rev2/config.h => keyboards/xelus/kangaroo/rev2/config.h +0 -3
@@ 20,6 20,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE WEAR_LEVELING_LOGICAL_SIZE*2

M keyboards/xelus/kangaroo/rev2/info.json => keyboards/xelus/kangaroo/rev2/info.json +5 -0
@@ 8,6 8,11 @@
        "rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"]
    },
    "diode_direction": "COL2ROW",
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "processor": "STM32L412",
    "bootloader": "stm32-dfu"
}

M keyboards/xelus/rs60/rev2_1/config.h => keyboards/xelus/rs60/rev2_1/config.h +0 -3
@@ 21,6 21,3 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE

// Emulated EEPROM
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE WEAR_LEVELING_LOGICAL_SIZE*2

M keyboards/xelus/rs60/rev2_1/info.json => keyboards/xelus/rs60/rev2_1/info.json +5 -0
@@ 8,6 8,11 @@
        "rows": ["B15", "B14", "B12", "B1", "B0"]
    },
    "diode_direction": "COL2ROW",
    "eeprom": {
        "wear_leveling": {
            "backing_size": 4096
        }
    },
    "indicators": {
        "caps_lock": "A1",
        "on_state": 0