Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
"driver": "spi_flash",
|
||||
"backing_size": 2048
|
||||
}
|
||||
},
|
||||
"community_layouts": ["tkl_ansi"],
|
||||
|
||||
Reference in New Issue
Block a user