summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-04-02 04:03:22 +0100
committerGitHub <noreply@github.com>2023-04-02 04:03:22 +0100
commit1b8c7c39d7ec58da415aae8c8ca607013a26f4f8 (patch)
tree88050ebd9d874b582e17a26a94a31f7889aab0ee
parent5b0bd553b3dddc66e0896cb9593ac42c05104de0 (diff)
Allow EEPROM_DRIVER from info.json (#20313)
-rw-r--r--data/mappings/info_rules.hjson1
-rw-r--r--data/schemas/keyboard.jsonschema5
2 files changed, 6 insertions, 0 deletions
diff --git a/data/mappings/info_rules.hjson b/data/mappings/info_rules.hjson
index 1eb450b3d3..0b252175f3 100644
--- 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
index 47decf1a15..ee6ecf28e4 100644
--- 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": {