1
0
Fork 0

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

@ -36,7 +36,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
/* redefine available (emulated) EEPROM as 4 kB rather than the default 2 kB to let VIA use more of the on-chip Flash of the STM32F303 to store 4 layers (since 4 layers * 8 rows * 16 columns * 2 = 1024 bytes but the default max available is 1023 bytes due to ATMEGA32U4 etc. only having 1 kB of EEPROM) */
#define WEAR_LEVELING_BACKING_SIZE 4096
#define WEAR_LEVELING_LOGICAL_SIZE 2048

View file

@ -13,6 +13,11 @@
"rows": ["B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"]
},
"diode_direction": "ROW2COL",
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",