summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-04-06 15:46:13 +0100
committerGitHub <noreply@github.com>2022-04-06 15:46:13 +0100
commitd8707164578790e7b4aed9767431013b6ded40cb (patch)
treeaa69cf2f9a8ce25db3f2b065df967393401bf5ba
parent0ef2246496b2968b8b647e14cc5971704dec2e53 (diff)
downloadqmk_firmware-d8707164578790e7b4aed9767431013b6ded40cb.tar.gz
qmk_firmware-d8707164578790e7b4aed9767431013b6ded40cb.zip
Add bluepill/blackpill development board presets (#16806)
-rw-r--r--data/mappings/defaults.json15
-rw-r--r--data/schemas/keyboard.jsonschema2
2 files changed, 16 insertions, 1 deletions
diff --git a/data/mappings/defaults.json b/data/mappings/defaults.json
index 3d3d915c0e..e62ab688d6 100644
--- a/data/mappings/defaults.json
+++ b/data/mappings/defaults.json
@@ -15,6 +15,21 @@
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",
"pin_compatible": "promicro"
+ },
+ "bluepill": {
+ "processor": "STM32F103",
+ "bootloader": "stm32duino",
+ "board": "STM32_F103_STM32DUINO"
+ },
+ "blackpill_f401": {
+ "processor": "STM32F401",
+ "bootloader": "stm32-dfu",
+ "board": "BLACKPILL_STM32_F401"
+ },
+ "blackpill_f411": {
+ "processor": "STM32F411",
+ "bootloader": "stm32-dfu",
+ "board": "BLACKPILL_STM32_F411"
}
}
} \ No newline at end of file
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 9af3ef5981..68a02420a4 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -14,7 +14,7 @@
},
"development_board": {
"type": "string",
- "enum": ["promicro", "elite_c", "proton_c"]
+ "enum": ["promicro", "elite_c", "proton_c", "bluepill", "blackpill_f401", "blackpill_f411"]
},
"pin_compatible": {
"type": "string",