summaryrefslogtreecommitdiff
path: root/data/mappings
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-04-06 01:08:38 +0100
committerGitHub <noreply@github.com>2022-04-06 01:08:38 +0100
commit45504bb0949f4bddd5679bde0076f10512303e3a (patch)
tree4ce92ca75df08fe6186faa24825300e6d9eb797e /data/mappings
parenta2f155bbddb094c7dcfb7f496d43842e0510cf15 (diff)
Add mechanism to limit available converters (#16783)
Diffstat (limited to 'data/mappings')
-rw-r--r--data/mappings/defaults.json9
-rw-r--r--data/mappings/info_rules.json1
2 files changed, 7 insertions, 3 deletions
diff --git a/data/mappings/defaults.json b/data/mappings/defaults.json
index d3643fede8..3d3d915c0e 100644
--- a/data/mappings/defaults.json
+++ b/data/mappings/defaults.json
@@ -2,16 +2,19 @@
"development_board": {
"promicro": {
"processor": "atmega32u4",
- "bootloader": "caterina"
+ "bootloader": "caterina",
+ "pin_compatible": "promicro"
},
"elite_c": {
"processor": "atmega32u4",
- "bootloader": "atmel-dfu"
+ "bootloader": "atmel-dfu",
+ "pin_compatible": "promicro"
},
"proton_c": {
"processor": "STM32F303",
"bootloader": "stm32-dfu",
- "board": "QMK_PROTON_C"
+ "board": "QMK_PROTON_C",
+ "pin_compatible": "promicro"
}
}
} \ No newline at end of file
diff --git a/data/mappings/info_rules.json b/data/mappings/info_rules.json
index f03cadcd44..237e9f1024 100644
--- a/data/mappings/info_rules.json
+++ b/data/mappings/info_rules.json
@@ -19,6 +19,7 @@
"MCU": {"info_key": "processor", "warn_duplicate": false},
"MOUSEKEY_ENABLE": {"info_key": "mouse_key.enabled", "value_type": "bool"},
"NO_USB_STARTUP_CHECK": {"info_key": "usb.no_startup_check", "value_type": "bool"},
+ "PIN_COMPATIBLE": {"info_key": "pin_compatible"},
"SPLIT_KEYBOARD": {"info_key": "split.enabled", "value_type": "bool"},
"SPLIT_TRANSPORT": {"info_key": "split.transport.protocol", "to_c": false},
"WAIT_FOR_USB": {"info_key": "usb.wait_for", "value_type": "bool"}