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