Migrate WEAR_LEVELING_* to info.json (#23077)

This commit is contained in:
Joel Challis 2024-02-14 08:54:24 +00:00 committed by GitHub
parent 50c5403612
commit 4a64d47f12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 126 additions and 116 deletions

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_DUTY_CYCLE FAST_DUTY_CYCLE_2
#define WEAR_LEVELING_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

View file

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

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

View file

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