d717396708
* Disable RESET keycode because of naming conflicts * Add Pico SDK as submodule * Add RP2040 build support to QMK * Adjust USB endpoint structs for RP2040 * Add RP2040 bootloader and double-tap reset routine * Add generic and pro micro RP2040 boards * Add RP2040 onekey keyboard * Add WS2812 PIO DMA enabled driver and documentation Supports regular and open-drain output configuration. RP2040 GPIOs are sadly not 5V tolerant, so this is a bit use-less or needs extra hardware or you take the risk to fry your hardware. * Adjust SIO Driver for RP2040 * Adjust I2C Driver for RP2040 * Adjust SPI Driver for RP2040 * Add PIO serial driver and documentation * Add general RP2040 documentation * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
158 lines
3.9 KiB
Plaintext
158 lines
3.9 KiB
Plaintext
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema#",
|
|
"$id": "qmk.definitions.v1",
|
|
"title": "Common definitions used across QMK's jsonschemas.",
|
|
"type": "object",
|
|
"boolean_array": {
|
|
"type": "object",
|
|
"additionalProperties": {"type": "boolean"}
|
|
},
|
|
"filename": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"pattern": "^[0-9a-z_]*$"
|
|
},
|
|
"hex_number_2d": {
|
|
"type": "string",
|
|
"pattern": "^0x[0-9A-F]{2}$"
|
|
},
|
|
"hex_number_4d": {
|
|
"type": "string",
|
|
"pattern": "^0x[0-9A-F]{4}$"
|
|
},
|
|
"bcd_version": {
|
|
"type": "string",
|
|
"pattern": "^[0-9]{1,2}\\.[0-9]\\.[0-9]$"
|
|
},
|
|
"text_identifier": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 250
|
|
},
|
|
"layout_macro": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"LAYOUT",
|
|
"LAYOUT_1x2uC",
|
|
"LAYOUT_1x2uL",
|
|
"LAYOUT_1x2uR",
|
|
"LAYOUT_2x2uC",
|
|
"LAYOUT_2x3uC",
|
|
"LAYOUT_625uC",
|
|
"LAYOUT_ortho_3x12_1x2uC",
|
|
"LAYOUT_ortho_4x12_1x2uC",
|
|
"LAYOUT_ortho_4x12_1x2uL",
|
|
"LAYOUT_ortho_4x12_1x2uR",
|
|
"LAYOUT_ortho_5x12_1x2uC",
|
|
"LAYOUT_ortho_5x12_2x2uC",
|
|
"LAYOUT_ortho_5x14_1x2uC",
|
|
"LAYOUT_ortho_5x14_1x2uL",
|
|
"LAYOUT_ortho_5x14_1x2uR",
|
|
"LAYOUT_planck_1x2uC",
|
|
"LAYOUT_planck_1x2uL",
|
|
"LAYOUT_planck_1x2uR",
|
|
"LAYOUT_preonic_1x2uC",
|
|
"LAYOUT_preonic_1x2uL",
|
|
"LAYOUT_preonic_1x2uR"
|
|
]
|
|
},
|
|
{
|
|
"type": "string",
|
|
"pattern": "^LAYOUT_[0-9a-z_]*$"
|
|
}
|
|
]
|
|
},
|
|
"key_unit": {
|
|
"type": "number"
|
|
},
|
|
"keyboard": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"converter/numeric_keypad_IIe",
|
|
"emptystring/NQG",
|
|
"maple_computing/christmas_tree/V2017"
|
|
]
|
|
},
|
|
{
|
|
"type": "string",
|
|
"pattern": "^[0-9a-z][0-9a-z_/]*$"
|
|
}
|
|
]
|
|
},
|
|
"mcu_pin_array": {
|
|
"type": "array",
|
|
"items": {"$ref": "#/mcu_pin"}
|
|
},
|
|
"mcu_pin": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": ["NO_PIN"]
|
|
},
|
|
{
|
|
"type": "string",
|
|
"pattern": "^[A-K]\\d{1,2}$"
|
|
},
|
|
{
|
|
"type": "string",
|
|
"pattern": "^LINE_PIN\\d{1,2}$"
|
|
},
|
|
{
|
|
"type": "string",
|
|
"pattern": "^GP\\d{1,2}$"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"signed_decimal": {
|
|
"type": "number"
|
|
},
|
|
"signed_int": {
|
|
"type": "integer"
|
|
},
|
|
"signed_int_8": {
|
|
"type": "integer",
|
|
"minimum": -127,
|
|
"maximum": 127
|
|
},
|
|
"string_array": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"string_object": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"unsigned_decimal": {
|
|
"type": "number",
|
|
"minimum": 0
|
|
},
|
|
"unsigned_int": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"unsigned_int_8": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"bit": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 1
|
|
}
|
|
}
|