commit 1b8c7c39d7ec58da415aae8c8ca607013a26f4f8
parent 5b0bd553b3dddc66e0896cb9593ac42c05104de0
Author: Joel Challis <git@zvecr.com>
Date: Sun, 2 Apr 2023 04:03:22 +0100
Allow EEPROM_DRIVER from info.json (#20313)
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/data/mappings/info_rules.hjson b/data/mappings/info_rules.hjson
@@ -17,6 +17,7 @@
"BACKLIGHT_DRIVER": {"info_key": "backlight.driver"},
"CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"},
"DEBOUNCE_TYPE": {"info_key": "build.debounce_type"},
+ "EEPROM_DRIVER": {"info_key": "eeprom.driver"},
"ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"},
"FIRMWARE_FORMAT": {"info_key": "build.firmware_format"},
"KEYBOARD_SHARED_EP": {"info_key": "usb.shared_endpoint.keyboard", "value_type": "bool"},
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
@@ -241,6 +241,11 @@
"type": "array",
"items": {"$ref": "qmk.definitions.v1#/filename"}
},
+ "eeprom": {
+ "properties": {
+ "driver": {"type": "string"}
+ }
+ },
"encoder": {
"$ref": "#/definitions/encoder_config",
"properties": {