351 lines
7.2 KiB
JSON
351 lines
7.2 KiB
JSON
{
|
|
"adc_inputs": {
|
|
"adcs": [
|
|
{
|
|
"name": "MAIN",
|
|
"adc": "ADC1",
|
|
"dma": "DMA2",
|
|
"dma_channel": "LL_DMAMUX1_REQ_ADC1",
|
|
"dma_stream": "LL_DMA_STREAM_4",
|
|
"dma_stream_irq": "DMA2_Stream4_IRQn",
|
|
"dma_stream_irq_handler": "DMA2_Stream4_IRQHandler",
|
|
"sample_time": "LL_ADC_SAMPLINGTIME_8CYCLES_5"
|
|
},
|
|
{
|
|
"name": "EXT",
|
|
"adc": "ADC3",
|
|
"dma": "DMA2",
|
|
"dma_channel": "LL_DMAMUX1_REQ_ADC3",
|
|
"dma_stream": "LL_DMA_STREAM_0",
|
|
"dma_stream_irq": "DMA2_Stream0_IRQn",
|
|
"dma_stream_irq_handler": "DMA2_Stream0_IRQHandler",
|
|
"sample_time": "LL_ADC_SAMPLINGTIME_8CYCLES_5"
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"name": "LH",
|
|
"type": "STICK",
|
|
"adc": "MAIN",
|
|
"gpio": "GPIOA",
|
|
"pin": "LL_GPIO_PIN_6",
|
|
"channel": "LL_ADC_CHANNEL_3"
|
|
},
|
|
{
|
|
"name": "LV",
|
|
"type": "STICK",
|
|
"adc": "MAIN",
|
|
"gpio": "GPIOC",
|
|
"pin": "LL_GPIO_PIN_3",
|
|
"channel": "LL_ADC_CHANNEL_13",
|
|
"inverted": true
|
|
},
|
|
{
|
|
"name": "RV",
|
|
"type": "STICK",
|
|
"adc": "MAIN",
|
|
"gpio": "GPIOC",
|
|
"pin": "LL_GPIO_PIN_4",
|
|
"channel": "LL_ADC_CHANNEL_4"
|
|
},
|
|
{
|
|
"name": "RH",
|
|
"type": "STICK",
|
|
"adc": "MAIN",
|
|
"gpio": "GPIOC",
|
|
"pin": "LL_GPIO_PIN_5",
|
|
"channel": "LL_ADC_CHANNEL_8",
|
|
"inverted": true
|
|
},
|
|
{
|
|
"name": "P1",
|
|
"type": "FLEX",
|
|
"adc": "MAIN",
|
|
"gpio": "GPIOC",
|
|
"pin": "LL_GPIO_PIN_1",
|
|
"channel": "LL_ADC_CHANNEL_11",
|
|
"inverted": true,
|
|
"label": "S1",
|
|
"short_label": "1",
|
|
"default": "POT"
|
|
},
|
|
{
|
|
"name": "P2",
|
|
"type": "FLEX",
|
|
"adc": "MAIN",
|
|
"gpio": "GPIOB",
|
|
"pin": "LL_GPIO_PIN_1",
|
|
"channel": "LL_ADC_CHANNEL_5",
|
|
"inverted": true,
|
|
"label": "S2",
|
|
"short_label": "2",
|
|
"default": "POT"
|
|
},
|
|
{
|
|
"name": "VBAT",
|
|
"type": "VBAT",
|
|
"adc": "EXT",
|
|
"gpio": "GPIOH",
|
|
"pin": "LL_GPIO_PIN_3",
|
|
"channel": "LL_ADC_CHANNEL_14"
|
|
},
|
|
{
|
|
"name": "RTC_BAT",
|
|
"type": "RTC_BAT",
|
|
"adc": "EXT",
|
|
"gpio": null,
|
|
"pin": null,
|
|
"channel": "LL_ADC_CHANNEL_VBAT"
|
|
}
|
|
]
|
|
},
|
|
"switches": [
|
|
{
|
|
"name": "SA",
|
|
"type": "3POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "3POS",
|
|
"display": null,
|
|
"gpio_high": null,
|
|
"pin_high": "PCA95XX_P15",
|
|
"gpio_low": null,
|
|
"pin_low": "PCA95XX_P14",
|
|
"is_cfs": false
|
|
},
|
|
{
|
|
"name": "SB",
|
|
"type": "3POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "3POS",
|
|
"display": null,
|
|
"gpio_high": null,
|
|
"pin_high": "PCA95XX_P13",
|
|
"gpio_low": null,
|
|
"pin_low": "PCA95XX_P12",
|
|
"is_cfs": false
|
|
},
|
|
{
|
|
"name": "SC",
|
|
"type": "3POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "3POS",
|
|
"display": null,
|
|
"gpio_high": null,
|
|
"pin_high": "PCA95XX_P11",
|
|
"gpio_low": null,
|
|
"pin_low": "PCA95XX_P10",
|
|
"is_cfs": false
|
|
},
|
|
{
|
|
"name": "SD",
|
|
"type": "3POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "3POS",
|
|
"display": null,
|
|
"gpio_high": null,
|
|
"pin_high": "PCA95XX_P7",
|
|
"gpio_low": null,
|
|
"pin_low": "PCA95XX_P6",
|
|
"is_cfs": false
|
|
},
|
|
{
|
|
"name": "SE",
|
|
"type": "3POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "2POS",
|
|
"display": null,
|
|
"gpio_high": null,
|
|
"pin_high": "PCA95XX_P17",
|
|
"gpio_low": null,
|
|
"pin_low": "PCA95XX_P16",
|
|
"is_cfs": false
|
|
},
|
|
{
|
|
"name": "SF",
|
|
"type": "3POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "TOGGLE",
|
|
"display": null,
|
|
"gpio_high": null,
|
|
"pin_high": "PCA95XX_P4",
|
|
"gpio_low": null,
|
|
"pin_low": "PCA95XX_P5",
|
|
"is_cfs": false
|
|
},
|
|
{
|
|
"name": "SW1",
|
|
"type": "2POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "2POS",
|
|
"display": null,
|
|
"gpio": null,
|
|
"pin": "PCA95XX_P0",
|
|
"is_cfs": true,
|
|
"cfs_idx": 0
|
|
},
|
|
{
|
|
"name": "SW2",
|
|
"type": "2POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "2POS",
|
|
"display": null,
|
|
"gpio": null,
|
|
"pin": "PCA95XX_P1",
|
|
"is_cfs": true,
|
|
"cfs_idx": 1
|
|
},
|
|
{
|
|
"name": "SW3",
|
|
"type": "2POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "2POS",
|
|
"display": null,
|
|
"gpio": null,
|
|
"pin": "PCA95XX_P2",
|
|
"is_cfs": true,
|
|
"cfs_idx": 2
|
|
},
|
|
{
|
|
"name": "SW4",
|
|
"type": "2POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "2POS",
|
|
"display": null,
|
|
"gpio": null,
|
|
"pin": "PCA95XX_P3",
|
|
"is_cfs": true,
|
|
"cfs_idx": 3
|
|
},
|
|
{
|
|
"name": "SW5",
|
|
"type": "2POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "2POS",
|
|
"display": null,
|
|
"gpio": null,
|
|
"pin": "PCA95XX_P4",
|
|
"is_cfs": true,
|
|
"cfs_idx": 4
|
|
},
|
|
{
|
|
"name": "SW6",
|
|
"type": "2POS",
|
|
"flags": 0,
|
|
"inverted": false,
|
|
"default": "2POS",
|
|
"display": null,
|
|
"gpio": null,
|
|
"pin": "PCA95XX_P5",
|
|
"is_cfs": true,
|
|
"cfs_idx": 5
|
|
}
|
|
],
|
|
"keys": [
|
|
{
|
|
"gpio": "GPIOG",
|
|
"pin": "LL_GPIO_PIN_3",
|
|
"active_low": true,
|
|
"key": "KEY_EXIT",
|
|
"name": "EXIT",
|
|
"label": "EXIT"
|
|
},
|
|
{
|
|
"gpio": "GPIOG",
|
|
"pin": "LL_GPIO_PIN_12",
|
|
"active_low": true,
|
|
"key": "KEY_ENTER",
|
|
"name": "ENTER",
|
|
"label": "Enter"
|
|
},
|
|
{
|
|
"gpio": "GPIOG",
|
|
"pin": "LL_GPIO_PIN_7",
|
|
"active_low": true,
|
|
"key": "KEY_PAGEUP",
|
|
"name": "PAGEUP",
|
|
"label": "PAGE<"
|
|
},
|
|
{
|
|
"gpio": "GPIOA",
|
|
"pin": "LL_GPIO_PIN_8",
|
|
"active_low": true,
|
|
"key": "KEY_PAGEDN",
|
|
"name": "PAGEDN",
|
|
"label": "PAGE>"
|
|
},
|
|
{
|
|
"gpio": "GPIOE",
|
|
"pin": "LL_GPIO_PIN_3",
|
|
"active_low": true,
|
|
"key": "KEY_MODEL",
|
|
"name": "MDL",
|
|
"label": "MDL"
|
|
},
|
|
{
|
|
"gpio": "GPIOG",
|
|
"pin": "LL_GPIO_PIN_2",
|
|
"active_low": true,
|
|
"key": "KEY_TELE",
|
|
"name": "TELE",
|
|
"label": "TELE"
|
|
},
|
|
{
|
|
"gpio": "GPIOB",
|
|
"pin": "LL_GPIO_PIN_2",
|
|
"active_low": true,
|
|
"key": "KEY_SYS",
|
|
"name": "SYS",
|
|
"label": "SYS"
|
|
}
|
|
],
|
|
"trims": [
|
|
{
|
|
"name": "T1"
|
|
},
|
|
{
|
|
"name": "T2"
|
|
},
|
|
{
|
|
"name": "T3"
|
|
},
|
|
{
|
|
"name": "T4"
|
|
}
|
|
],
|
|
"display": {
|
|
"w": 480,
|
|
"h": 320,
|
|
"phys_w": 320,
|
|
"phys_h": 480,
|
|
"depth": 16,
|
|
"color": 1,
|
|
"oled": 0,
|
|
"backlight_color": 0
|
|
},
|
|
"custom_switches": {
|
|
"rgb_led": 1,
|
|
"groups": 3
|
|
},
|
|
"hardware": {
|
|
"has_audio_mute": 0,
|
|
"has_bling_leds": 20,
|
|
"has_ext_module_support": 1,
|
|
"has_int_module_support": 1,
|
|
"sport_max_baudrate": 400000,
|
|
"surface": 0,
|
|
"cpu": "STM32H750xB",
|
|
"cpu_type": "STM32H7"
|
|
}
|
|
}
|