summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2022-07-21 07:54:05 +0800
committerGitHub <noreply@github.com>2022-07-21 00:54:05 +0100
commitd510e80b89b5de54d60ff1a3dc1cca0307161fad (patch)
tree4f2934f867bd809340e91242d61d976699c85f26 /data
parent4efe6330c49f076b9c01d3f609dea0cd9f9b0214 (diff)
downloadqmk_firmware-d510e80b89b5de54d60ff1a3dc1cca0307161fad.tar.gz
qmk_firmware-d510e80b89b5de54d60ff1a3dc1cca0307161fad.zip
Add Blok 2040 conversion (#17603)
Diffstat (limited to 'data')
-rw-r--r--data/mappings/defaults.json8
-rw-r--r--data/schemas/keyboard.jsonschema2
2 files changed, 8 insertions, 2 deletions
diff --git a/data/mappings/defaults.json b/data/mappings/defaults.json
index c6cb53f4c3..b62e5450b3 100644
--- a/data/mappings/defaults.json
+++ b/data/mappings/defaults.json
@@ -28,6 +28,12 @@
"board": "QMK_PM2040",
"pin_compatible": "promicro"
},
+ "blok": {
+ "processor": "RP2040",
+ "bootloader": "rp2040",
+ "board": "QMK_PM2040",
+ "pin_compatible": "promicro"
+ },
"bluepill": {
"processor": "STM32F103",
"bootloader": "stm32duino",
@@ -44,4 +50,4 @@
"board": "BLACKPILL_STM32_F411"
}
}
-} \ No newline at end of file
+}
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 166a5d4d3b..46f840616a 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", "kb2040", "promicro_rp2040", "bluepill", "blackpill_f401", "blackpill_f411"]
+ "enum": ["promicro", "elite_c", "proton_c", "kb2040", "promicro_rp2040", "blok", "bluepill", "blackpill_f401", "blackpill_f411"]
},
"pin_compatible": {
"type": "string",