summary refs log tree commit diff
path: root/data
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-07-06 19:27:15 +0100
committerGitHub <noreply@github.com>2022-07-06 19:27:15 +0100
commit744af003befb3f5cf6dc6b6f3e581f288d598f96 (patch)
tree50db5b3eb71a100906b07239e6348aad379ea3e9 /data
parent29a2bac4691dae81a613af31e5e99660e61edc3d (diff)
Add kb2040 and sparkfun rp2040 converters (#17514)
Diffstat (limited to 'data')
-rw-r--r--data/mappings/defaults.json12
-rw-r--r--data/schemas/keyboard.jsonschema2
2 files changed, 13 insertions, 1 deletions
diff --git a/data/mappings/defaults.json b/data/mappings/defaults.json
index e62ab688d6..c6cb53f4c3 100644
--- a/data/mappings/defaults.json
+++ b/data/mappings/defaults.json
@@ -16,6 +16,18 @@
             "board": "QMK_PROTON_C",
             "pin_compatible": "promicro"
         },
+        "kb2040": {
+            "processor": "RP2040",
+            "bootloader": "rp2040",
+            "board": "QMK_PM2040",
+            "pin_compatible": "promicro"
+        },
+        "promicro_rp2040": {
+            "processor": "RP2040",
+            "bootloader": "rp2040",
+            "board": "QMK_PM2040",
+            "pin_compatible": "promicro"
+        },
         "bluepill": {
             "processor": "STM32F103",
             "bootloader": "stm32duino",
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 320974f0c4..166a5d4d3b 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -34,7 +34,7 @@
         },
         "development_board": {
             "type": "string",
-            "enum": ["promicro", "elite_c", "proton_c", "bluepill", "blackpill_f401", "blackpill_f411"]
+            "enum": ["promicro", "elite_c", "proton_c", "kb2040", "promicro_rp2040", "bluepill", "blackpill_f401", "blackpill_f411"]
         },
         "pin_compatible": {
             "type": "string",