Browse Source

Migrate WEAR_LEVELING_* to info.json (#23077)

pull/23083/head
Joel Challis 3 months ago
committed by GitHub
parent
commit
4a64d47f12
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
52 changed files with 126 additions and 116 deletions
  1. +0
    -3
      keyboards/dark/magnum_ergo_1/config.h
  2. +5
    -0
      keyboards/dark/magnum_ergo_1/info.json
  3. +0
    -1
      keyboards/darkproject/kd83a_bfg_edition/config.h
  4. +5
    -1
      keyboards/darkproject/kd83a_bfg_edition/info.json
  5. +1
    -1
      keyboards/darkproject/kd83a_bfg_edition/rules.mk
  6. +0
    -4
      keyboards/keychron/c1_pro/config.h
  7. +5
    -0
      keyboards/keychron/c1_pro/info.json
  8. +0
    -4
      keyboards/keychron/c2_pro/config.h
  9. +5
    -0
      keyboards/keychron/c2_pro/info.json
  10. +0
    -4
      keyboards/keychron/q10/config.h
  11. +5
    -0
      keyboards/keychron/q10/info.json
  12. +0
    -4
      keyboards/keychron/q11/config.h
  13. +5
    -0
      keyboards/keychron/q11/info.json
  14. +0
    -2
      keyboards/keychron/q12/config.h
  15. +0
    -4
      keyboards/keychron/q1v2/config.h
  16. +5
    -0
      keyboards/keychron/q1v2/info.json
  17. +0
    -4
      keyboards/keychron/q6/config.h
  18. +5
    -0
      keyboards/keychron/q6/info.json
  19. +0
    -4
      keyboards/keychron/q60/config.h
  20. +5
    -0
      keyboards/keychron/q60/info.json
  21. +0
    -4
      keyboards/keychron/q65/config.h
  22. +5
    -0
      keyboards/keychron/q65/info.json
  23. +0
    -4
      keyboards/keychron/q9_plus/config.h
  24. +5
    -0
      keyboards/keychron/q9_plus/info.json
  25. +0
    -4
      keyboards/keychron/s1/config.h
  26. +5
    -0
      keyboards/keychron/s1/info.json
  27. +0
    -4
      keyboards/keychron/v1/config.h
  28. +5
    -0
      keyboards/keychron/v1/info.json
  29. +0
    -4
      keyboards/keychron/v10/config.h
  30. +5
    -0
      keyboards/keychron/v10/info.json
  31. +0
    -4
      keyboards/keychron/v2/config.h
  32. +5
    -0
      keyboards/keychron/v2/info.json
  33. +0
    -4
      keyboards/keychron/v3/config.h
  34. +5
    -0
      keyboards/keychron/v3/info.json
  35. +0
    -4
      keyboards/keychron/v4/config.h
  36. +5
    -0
      keyboards/keychron/v4/info.json
  37. +0
    -4
      keyboards/keychron/v5/config.h
  38. +5
    -0
      keyboards/keychron/v5/info.json
  39. +0
    -6
      keyboards/keychron/v6/config.h
  40. +5
    -0
      keyboards/keychron/v6/info.json
  41. +0
    -4
      keyboards/keychron/v7/config.h
  42. +5
    -0
      keyboards/keychron/v7/info.json
  43. +0
    -4
      keyboards/keychron/v8/config.h
  44. +5
    -0
      keyboards/keychron/v8/info.json
  45. +0
    -3
      keyboards/mechlovin/olly/jf/rev2/config.h
  46. +5
    -0
      keyboards/mechlovin/olly/jf/rev2/info.json
  47. +0
    -21
      keyboards/mechlovin/zed1800/config.h
  48. +5
    -0
      keyboards/mechlovin/zed1800/info.json
  49. +0
    -3
      keyboards/smithrune/magnus/m75h/config.h
  50. +5
    -0
      keyboards/smithrune/magnus/m75h/info.json
  51. +0
    -3
      keyboards/smithrune/magnus/m75s/config.h
  52. +5
    -0
      keyboards/smithrune/magnus/m75s/info.json

+ 0
- 3
keyboards/dark/magnum_ergo_1/config.h View File

@ -30,6 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LED_INDICATOR_3 B0 #define LED_INDICATOR_3 B0
#define LED_INDICATOR_4 A5 #define LED_INDICATOR_4 A5
#define LED_INDICATOR_5 C15 #define LED_INDICATOR_5 C15
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096

+ 5
- 0
keyboards/dark/magnum_ergo_1/info.json View File

@ -11,6 +11,11 @@
"build": { "build": {
"lto": true "lto": true
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"audio": false, "audio": false,
"backlight": true, "backlight": true,


+ 0
- 1
keyboards/darkproject/kd83a_bfg_edition/config.h View File

@ -23,7 +23,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


+ 5
- 1
keyboards/darkproject/kd83a_bfg_edition/info.json View File

@ -177,7 +177,11 @@
"vid": "0x342D" "vid": "0x342D"
}, },
"eeprom": { "eeprom": {
"driver": "wear_leveling"
"driver": "wear_leveling",
"wear_leveling": {
"driver": "spi_flash",
"backing_size": 8192
}
}, },
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {


+ 1
- 1
keyboards/darkproject/kd83a_bfg_edition/rules.mk View File

@ -1 +1 @@
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank

+ 0
- 4
keyboards/keychron/c1_pro/config.h View File

@ -16,10 +16,6 @@
#pragma once #pragma once
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
/* Increase I2C speed to 1000 KHz */ /* Increase I2C speed to 1000 KHz */
#define I2C1_TIMINGR_PRESC 0U #define I2C1_TIMINGR_PRESC 0U
#define I2C1_TIMINGR_SCLDEL 3U #define I2C1_TIMINGR_SCLDEL 3U


+ 5
- 0
keyboards/keychron/c1_pro/info.json View File

@ -8,6 +8,11 @@
"usb": { "usb": {
"vid": "0x3434" "vid": "0x3434"
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"bootmagic": true, "bootmagic": true,
"command": false, "command": false,


+ 0
- 4
keyboards/keychron/c2_pro/config.h View File

@ -16,10 +16,6 @@
#pragma once #pragma once
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
/* Increase I2C speed to 1000 KHz */ /* Increase I2C speed to 1000 KHz */
#define I2C1_TIMINGR_PRESC 0U #define I2C1_TIMINGR_PRESC 0U
#define I2C1_TIMINGR_SCLDEL 3U #define I2C1_TIMINGR_SCLDEL 3U


+ 5
- 0
keyboards/keychron/c2_pro/info.json View File

@ -8,6 +8,11 @@
"usb": { "usb": {
"vid": "0x3434" "vid": "0x3434"
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"bootmagic": true, "bootmagic": true,
"command": false, "command": false,


+ 0
- 4
keyboards/keychron/q10/config.h View File

@ -43,7 +43,3 @@
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
#define SNLED27351_CURRENT_TUNE \ #define SNLED27351_CURRENT_TUNE \
{ 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A } { 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A }
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/q10/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 5] ] "matrix_grid": [ [5, 5] ]
}, },


+ 0
- 4
keyboards/keychron/q11/config.h View File

@ -29,10 +29,6 @@
#define SNLED27351_CURRENT_TUNE \ #define SNLED27351_CURRENT_TUNE \
{ 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF } // 300mA { 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF } // 300mA
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
/* Split Keyboard specific options. */ /* Split Keyboard specific options. */
#define SERIAL_USART_TX_PIN A9 // USART TX pin #define SERIAL_USART_TX_PIN A9 // USART TX pin


+ 5
- 0
keyboards/keychron/q11/info.json View File

@ -14,6 +14,11 @@
"dip_switch": { "dip_switch": {
"pins": ["A8"] "pins": ["A8"]
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"bootmagic": true, "bootmagic": true,
"command": false, "command": false,


+ 0
- 2
keyboards/keychron/q12/config.h View File

@ -38,5 +38,3 @@
#define SNLED27351_CURRENT_TUNE \ #define SNLED27351_CURRENT_TUNE \
{ 0xAD, 0xAD, 0x55, 0xAD, 0xAD, 0x55, 0xAD, 0xAD, 0x55, 0xAD, 0xAD, 0x55 } { 0xAD, 0xAD, 0x55, 0xAD, 0xAD, 0x55, 0xAD, 0xAD, 0x55, 0xAD, 0xAD, 0x55 }
#define SCAN_COUNT_MAX 100

+ 0
- 4
keyboards/keychron/q1v2/config.h View File

@ -27,10 +27,6 @@
#define I2C1_TIMINGR_SCLH 15U #define I2C1_TIMINGR_SCLH 15U
#define I2C1_TIMINGR_SCLL 51U #define I2C1_TIMINGR_SCLL 51U
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
/* Set LED driver current */ /* Set LED driver current */
#define SNLED27351_CURRENT_TUNE \ #define SNLED27351_CURRENT_TUNE \


+ 5
- 0
keyboards/keychron/q1v2/info.json View File

@ -18,6 +18,11 @@
"rgb_matrix": true, "rgb_matrix": true,
"dip_switch": true "dip_switch": true
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 4] ] "matrix_grid": [ [5, 4] ]
}, },


+ 0
- 4
keyboards/keychron/q6/config.h View File

@ -29,7 +29,3 @@
#define SNLED27351_CURRENT_TUNE \ #define SNLED27351_CURRENT_TUNE \
{ 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52 } { 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52 }
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/q6/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 4] ] "matrix_grid": [ [5, 4] ]
}, },


+ 0
- 4
keyboards/keychron/q60/config.h View File

@ -30,7 +30,3 @@
{ 0xD8, 0xD8, 0x60, 0xD8, 0xD8, 0x60, 0xD8, 0xD8, 0x60, 0xD8, 0xD8, 0x60 } { 0xD8, 0xD8, 0x60, 0xD8, 0xD8, 0x60, 0xD8, 0xD8, 0x60, 0xD8, 0xD8, 0x60 }
#define DYNAMIC_KEYMAP_LAYER_COUNT 6 #define DYNAMIC_KEYMAP_LAYER_COUNT 6
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/q60/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [4, 4] ] "matrix_grid": [ [4, 4] ]
}, },


+ 0
- 4
keyboards/keychron/q65/config.h View File

@ -41,7 +41,3 @@
{ 0xB8, 0xB8, 0x58, 0xB8, 0xB8, 0x58, 0xB8, 0xB8, 0x58, 0xB8, 0xB8, 0x58 } { 0xB8, 0xB8, 0x58, 0xB8, 0xB8, 0x58, 0xB8, 0xB8, 0x58, 0xB8, 0xB8, 0x58 }
#define DYNAMIC_KEYMAP_LAYER_COUNT 5 #define DYNAMIC_KEYMAP_LAYER_COUNT 5
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/q65/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [4, 4] ] "matrix_grid": [ [4, 4] ]
}, },


+ 0
- 4
keyboards/keychron/q9_plus/config.h View File

@ -30,9 +30,5 @@
#define SNLED27351_CURRENT_TUNE \ #define SNLED27351_CURRENT_TUNE \
{ 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70 } { 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70 }
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
/* Old default behavior of mod-taps */ /* Old default behavior of mod-taps */
#define HOLD_ON_OTHER_KEY_PRESS #define HOLD_ON_OTHER_KEY_PRESS

+ 5
- 0
keyboards/keychron/q9_plus/info.json View File

@ -19,6 +19,11 @@
"nkro": true, "nkro": true,
"rgb_matrix": true "rgb_matrix": true
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [3, 4] ] "matrix_grid": [ [3, 4] ]
}, },


+ 0
- 4
keyboards/keychron/s1/config.h View File

@ -16,10 +16,6 @@
#pragma once #pragma once
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
/* Increase I2C speed to 1000 KHz */ /* Increase I2C speed to 1000 KHz */
#define I2C1_TIMINGR_PRESC 0U #define I2C1_TIMINGR_PRESC 0U
#define I2C1_TIMINGR_SCLDEL 3U #define I2C1_TIMINGR_SCLDEL 3U


+ 5
- 0
keyboards/keychron/s1/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 4] ] "matrix_grid": [ [5, 4] ]
} }


+ 0
- 4
keyboards/keychron/v1/config.h View File

@ -37,7 +37,3 @@
#define I2C1_TIMINGR_SCLL 51U #define I2C1_TIMINGR_SCLL 51U
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v1/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 4] ] "matrix_grid": [ [5, 4] ]
}, },


+ 0
- 4
keyboards/keychron/v10/config.h View File

@ -43,7 +43,3 @@
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
#define SNLED27351_CURRENT_TUNE { 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A } #define SNLED27351_CURRENT_TUNE { 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A }
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v10/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 5] ] "matrix_grid": [ [5, 5] ]
}, },


+ 0
- 4
keyboards/keychron/v2/config.h View File

@ -33,7 +33,3 @@
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
#define DYNAMIC_KEYMAP_LAYER_COUNT 5 #define DYNAMIC_KEYMAP_LAYER_COUNT 5
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v2/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [4, 4] ] "matrix_grid": [ [4, 4] ]
}, },


+ 0
- 4
keyboards/keychron/v3/config.h View File

@ -31,7 +31,3 @@
#define I2C1_TIMINGR_SCLL 51U #define I2C1_TIMINGR_SCLL 51U
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v3/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 4] ] "matrix_grid": [ [5, 4] ]
}, },


+ 0
- 4
keyboards/keychron/v4/config.h View File

@ -30,7 +30,3 @@
{ 0xD0, 0xD0, 0x60, 0xD0, 0xD0, 0x60, 0xD0, 0xD0, 0x60, 0xD0, 0xD0, 0x60 } { 0xD0, 0xD0, 0x60, 0xD0, 0xD0, 0x60, 0xD0, 0xD0, 0x60, 0xD0, 0xD0, 0x60 }
#define DYNAMIC_KEYMAP_LAYER_COUNT 5 #define DYNAMIC_KEYMAP_LAYER_COUNT 5
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v4/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [4, 4] ] "matrix_grid": [ [4, 4] ]
}, },


+ 0
- 4
keyboards/keychron/v5/config.h View File

@ -38,7 +38,3 @@
#define SNLED27351_CURRENT_TUNE \ #define SNLED27351_CURRENT_TUNE \
{ 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56 } { 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56 }
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v5/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 4] ] "matrix_grid": [ [5, 4] ]
}, },


+ 0
- 6
keyboards/keychron/v6/config.h View File

@ -32,9 +32,3 @@
/* Limit the maximum brigtness current of colour white to 500mA */ /* Limit the maximum brigtness current of colour white to 500mA */
#define SNLED27351_CURRENT_TUNE { 0xA8, 0xA8, 0x48, 0xA8, 0xA8, 0x48, 0xA8, 0xA8, 0x48, 0xA8, 0xA8, 0x48 } #define SNLED27351_CURRENT_TUNE { 0xA8, 0xA8, 0x48, 0xA8, 0xA8, 0x48, 0xA8, 0xA8, 0x48, 0xA8, 0xA8, 0x48 }
#define SCAN_COUNT_MAX 100
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v6/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [5, 4] ] "matrix_grid": [ [5, 4] ]
}, },


+ 0
- 4
keyboards/keychron/v7/config.h View File

@ -31,7 +31,3 @@
#define SNLED27351_CURRENT_TUNE { 0xFC, 0xFC, 0x70, 0xFC, 0xFC, 0x70, 0xFC, 0xFC, 0x70, 0xFC, 0xFC, 0x70 } #define SNLED27351_CURRENT_TUNE { 0xFC, 0xFC, 0x70, 0xFC, 0xFC, 0x70, 0xFC, 0xFC, 0x70, 0xFC, 0xFC, 0x70 }
#define DYNAMIC_KEYMAP_LAYER_COUNT 5 #define DYNAMIC_KEYMAP_LAYER_COUNT 5
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v7/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [4, 4] ] "matrix_grid": [ [4, 4] ]
}, },


+ 0
- 4
keyboards/keychron/v8/config.h View File

@ -34,7 +34,3 @@
#define SNLED27351_CURRENT_TUNE { 0xC4, 0xC4, 0x60, 0xC4, 0xC4, 0x60, 0xC4, 0xC4, 0x60, 0xC4, 0xC4, 0x60 } #define SNLED27351_CURRENT_TUNE { 0xC4, 0xC4, 0x60, 0xC4, 0xC4, 0x60, 0xC4, 0xC4, 0x60, 0xC4, 0xC4, 0x60 }
#define DYNAMIC_KEYMAP_LAYER_COUNT 5 #define DYNAMIC_KEYMAP_LAYER_COUNT 5
/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

+ 5
- 0
keyboards/keychron/v8/info.json View File

@ -1,4 +1,9 @@
{ {
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"dip_switch": { "dip_switch": {
"matrix_grid": [ [4, 4] ] "matrix_grid": [ [4, 4] ]
}, },


+ 0
- 3
keyboards/mechlovin/olly/jf/rev2/config.h View File

@ -26,6 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define I2C1_CLOCK_SPEED 400000 #define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
#define WEAR_LEVELING_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

+ 5
- 0
keyboards/mechlovin/olly/jf/rev2/info.json View File

@ -1,6 +1,11 @@
{ {
"keyboard_name": "Olly JF Rev2", "keyboard_name": "Olly JF Rev2",
"bootloader": "stm32duino", "bootloader": "stm32duino",
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"command": true, "command": true,
"console": true, "console": true,


+ 0
- 21
keyboards/mechlovin/zed1800/config.h View File

@ -1,21 +0,0 @@
/*
Copyright 2022 Mechlovin'
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_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

+ 5
- 0
keyboards/mechlovin/zed1800/info.json View File

@ -12,6 +12,11 @@
}, },
"processor": "STM32F103", "processor": "STM32F103",
"bootloader": "stm32duino", "bootloader": "stm32duino",
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"bootmagic": true, "bootmagic": true,
"command": true, "command": true,


+ 0
- 3
keyboards/smithrune/magnus/m75h/config.h View File

@ -27,6 +27,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 2048
#define WEAR_LEVELING_BACKING_SIZE 4096

+ 5
- 0
keyboards/smithrune/magnus/m75h/info.json View File

@ -11,6 +11,11 @@
"build": { "build": {
"lto": true "lto": true
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"audio": false, "audio": false,
"backlight": false, "backlight": false,


+ 0
- 3
keyboards/smithrune/magnus/m75s/config.h View File

@ -29,6 +29,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 2048
#define WEAR_LEVELING_BACKING_SIZE 4096

+ 5
- 0
keyboards/smithrune/magnus/m75s/info.json View File

@ -11,6 +11,11 @@
"build": { "build": {
"lto": true "lto": true
}, },
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": { "features": {
"audio": false, "audio": false,
"backlight": true, "backlight": true,


Loading…
Cancel
Save