Browse Source

Allow EEPROM_DRIVER from info.json (#20313)

Joel Challis 3 years ago
parent
commit
1b8c7c39d7
2 changed files with 6 additions and 0 deletions
  1. 1 0
      data/mappings/info_rules.hjson
  2. 5 0
      data/schemas/keyboard.jsonschema

+ 1 - 0
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"},

+ 5 - 0
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": {