Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)

This commit is contained in:
Joel Challis 2023-09-14 00:13:19 +01:00 committed by GitHub
parent 36b4e290c8
commit 00feff656f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 89 additions and 120 deletions

View file

@ -20,6 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_DEFAULT_LEVEL 20
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE 4096

View file

@ -13,6 +13,11 @@
"rows": ["C5", "B0", "B14", "B15", "C7", "C9", "A15"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"backlight": {
"pin": "C6",
"levels": 20,