Migrate some EEPROM config to info.json (#22434)

This commit is contained in:
Joel Challis 2023-11-13 22:30:19 +00:00 committed by GitHub
parent de3c42125b
commit 1efc79063c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 74 additions and 38 deletions

View file

@ -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

View file

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

View file

@ -1,2 +1 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank