Migrate some EEPROM config to info.json (#22434)
This commit is contained in:
parent
de3c42125b
commit
1efc79063c
29 changed files with 74 additions and 38 deletions
|
@ -28,6 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define WS2812_PWM_PAL_MODE 1
|
||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
||||
#define WS2812_DMA_CHANNEL 6
|
||||
|
||||
#define WEAR_LEVELING_LOGICAL_SIZE 4096
|
||||
#define WEAR_LEVELING_BACKING_SIZE 8192
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
"nkro": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"wear_leveling": {
|
||||
"backing_size": 8192
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15"
|
||||
},
|
||||
|
|
|
@ -28,6 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define WS2812_PWM_PAL_MODE 1
|
||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
||||
#define WS2812_DMA_CHANNEL 6
|
||||
|
||||
#define WEAR_LEVELING_LOGICAL_SIZE 4096
|
||||
#define WEAR_LEVELING_BACKING_SIZE 8192
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
"nkro": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"wear_leveling": {
|
||||
"backing_size": 8192
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15"
|
||||
},
|
||||
|
|
|
@ -28,6 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define WS2812_PWM_PAL_MODE 1
|
||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
|
||||
#define WS2812_DMA_CHANNEL 6
|
||||
|
||||
#define WEAR_LEVELING_LOGICAL_SIZE 4096
|
||||
#define WEAR_LEVELING_BACKING_SIZE 8192
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
"nkro": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"wear_leveling": {
|
||||
"backing_size": 8192
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15"
|
||||
},
|
||||
|
|
|
@ -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 DRIVER_COUNT 2
|
||||
|
|
|
@ -29,6 +29,13 @@
|
|||
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 8192
|
||||
}
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A15"
|
||||
},
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
/* External spi flash */
|
||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
|
||||
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)
|
||||
|
||||
/* SPI Config for LED Driver */
|
||||
#define SPI_DRIVER SPIDQ
|
||||
|
|
|
@ -7,6 +7,13 @@
|
|||
"matrix": [1, 3]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 8192
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
|
@ -174,9 +181,6 @@
|
|||
"pid": "0xE393",
|
||||
"vid": "0x342D"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling"
|
||||
},
|
||||
"community_layouts": ["tkl_ansi"],
|
||||
"layouts": {
|
||||
"LAYOUT_tkl_ansi": {
|
||||
|
|
|
@ -1 +1 @@
|
|||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#define SPI_MOSI_PAL_MODE 5
|
||||
|
||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
|
||||
#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)
|
||||
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
|
|
|
@ -12,6 +12,13 @@
|
|||
"suspend_wakeup_delay": 1000
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 4096
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
/* External spi flash */
|
||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
|
||||
#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)
|
||||
|
||||
/* SPI Config for LED Driver */
|
||||
#define SPI_DRIVER SPIDQ
|
||||
|
|
|
@ -7,6 +7,13 @@
|
|||
"matrix": [1, 3]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 8192
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C2", "pin_b": "C3"}
|
||||
|
@ -175,9 +182,6 @@
|
|||
"pid": "0x0002",
|
||||
"vid": "0x4141"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -1 +1 @@
|
|||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -33,7 +33,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 SNLED27351_DRIVER_COUNT 2
|
||||
|
|
|
@ -11,6 +11,13 @@
|
|||
},
|
||||
"processor": "WB32FQ95",
|
||||
"bootloader": "wb32-dfu",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 8192
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
/* SPI Flash */
|
||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
|
||||
#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)
|
||||
|
||||
/* RGB Matrix */
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
|
|
@ -13,6 +13,13 @@
|
|||
"suspend_wakeup_delay": 1000
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 4096
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"nkro": true,
|
||||
"encoder": true,
|
||||
|
|
|
@ -1 +1 @@
|
|||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,6 +6,13 @@
|
|||
"bootmagic": {
|
||||
"matrix": [1, 3]
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 4096
|
||||
}
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"dynamic_keymap": {
|
||||
"layer_count": 10
|
||||
|
@ -176,9 +183,6 @@
|
|||
"pid": "0x000F",
|
||||
"vid": "0x3233"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -1 +1 @@
|
|||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
"maintainer": "vinhcatba",
|
||||
"development_board": "blackpill_f401",
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A13", "pin_b": "A14"}
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
SRC += bongo.c
|
||||
# using external i2c eeprom
|
||||
EEPROM_DRIVER = i2c
|
||||
|
|
Loading…
Reference in a new issue