From d510e80b89b5de54d60ff1a3dc1cca0307161fad Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Thu, 21 Jul 2022 07:54:05 +0800 Subject: Add Blok 2040 conversion (#17603) --- data/mappings/defaults.json | 8 +++++++- data/schemas/keyboard.jsonschema | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'data') 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", -- cgit v1.2.1