chore: use settings from radio JSON files instead of hal.h (#7411)

Co-authored-by: 3djc <3djc@gh.com>
This commit is contained in:
philmoz
2026-07-13 10:15:50 +10:00
committed by GitHub
co-authored by 3djc
parent 445c09f662
commit f3cabd42f7
100 changed files with 3290 additions and 2193 deletions
+1 -15
View File
@@ -1,16 +1,6 @@
# Generate hardware struct defs
AddHWGenTarget(${HW_DESC_JSON} stm32_keys stm32_keys.inc)
AddHWGenTarget(${HW_DESC_JSON} stm32_switches stm32_switches.inc)
AddHWGenTarget(${HW_DESC_JSON} stm32_adc_inputs stm32_adc_inputs.inc)
AddHWGenTarget(${HW_DESC_JSON} stm32_pwm_inputs stm32_pwm_inputs.inc)
AddHWGenTarget(${HW_DESC_JSON} hal_adc_inputs hal_adc_inputs.inc)
# Dependencies common to bootloader and firmware
set(MINIMAL_BOARD_LIB_SRC
${RADIO_SRC_DIR}/boards/hw_defs/${HW_DESC_JSON}
${CMAKE_CURRENT_BINARY_DIR}/stm32_keys.inc
boards/generic_stm32/inputs.cpp
boards/generic_stm32/i2c_bus.cpp
boards/generic_stm32/bl_keys.cpp
@@ -19,11 +9,6 @@ set(MINIMAL_BOARD_LIB_SRC
# Dependencies only used in firmware
set(BOARD_LIB_SRC
${CMAKE_CURRENT_BINARY_DIR}/stm32_switches.inc
${CMAKE_CURRENT_BINARY_DIR}/stm32_adc_inputs.inc
${CMAKE_CURRENT_BINARY_DIR}/stm32_pwm_inputs.inc
${CMAKE_CURRENT_BINARY_DIR}/hal_adc_inputs.inc
boards/generic_stm32/module_ports.cpp
boards/generic_stm32/trainer_ports.cpp
boards/generic_stm32/sport_update.cpp
@@ -38,6 +23,7 @@ set(BOARD_LIB_SRC
)
add_library(minimal_board_lib OBJECT EXCLUDE_FROM_ALL ${MINIMAL_BOARD_LIB_SRC})
add_dependencies(minimal_board_lib stm32_keys)
add_library(board_lib OBJECT EXCLUDE_FROM_ALL ${BOARD_LIB_SRC})
add_dependencies(board_lib minimal_board_lib)
+41 -16
View File
@@ -307,27 +307,52 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOA, 7)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 2)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+43 -16
View File
@@ -376,27 +376,54 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 3
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOG, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 4)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+38 -16
View File
@@ -256,27 +256,49 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 2)",
"led_green_gpio": "GPIO_PIN(GPIOC, 0)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 1)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+38 -16
View File
@@ -321,27 +321,49 @@
}
],
"display": {
"w": 320,
"h": 480,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 320,
"lcd_h": 480,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 15)",
"backlight_timer": "TIM2",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 8)",
"haptic_gpio_timer": "TIM1",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC1E | TIM_CCER_CC1NE",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
}
}
+39 -16
View File
@@ -415,27 +415,50 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"lcd_vertical_invert": true,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOE, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC2E",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+59 -16
View File
@@ -417,27 +417,70 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true
},
"custom_switches": {
"rgb_led": 1,
"groups": 4
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"led_strip_length": 8,
"bling_led_strip_start": 0,
"bling_led_strip_length": 0,
"cfs_led_strip_start": 0,
"cfs_led_strip_length": 8,
"cfs_leds_per_switch": 1,
"led_strip_gpio": "GPIO_PIN(GPIOA, 8)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH1",
"led_strip_timer_dma": "DMA2",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_5",
"led_strip_timer_dma_irqn": "DMA2_Stream5_IRQn",
"led_strip_timer_dma_irqhandler": "DMA2_Stream5_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOA, 7)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 2)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+40 -16
View File
@@ -236,27 +236,51 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOC, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOB, 1)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+56 -16
View File
@@ -285,27 +285,67 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"led_strip_length": 7,
"bling_led_strip_start": 0,
"bling_led_strip_length": 7,
"led_strip_gpio": "GPIO_PIN(GPIOA, 8)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH1",
"led_strip_timer_dma": "DMA2",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_5",
"led_strip_timer_dma_irqn": "DMA2_Stream5_IRQn",
"led_strip_timer_dma_irqhandler": "DMA2_Stream5_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOA, 7)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 2)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 7,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 1,
"surface": true,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+75 -16
View File
@@ -148,27 +148,86 @@
}
],
"display": {
"w": 320,
"h": 480,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 320,
"lcd_h": 480,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 15)",
"backlight_timer": "TIM2",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"leds": {
"led_strip_length": 4,
"bling_led_strip_start": 0,
"bling_led_strip_length": 4,
"led_strip_gpio": "GPIO_PIN(GPIOH, 12)",
"led_strip_gpio_af": "LL_GPIO_AF_2",
"led_strip_timer": "TIM5",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 4,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"rotenc": {
"rotary_encoder_gpio": "GPIOH",
"rotary_encoder_gpio_pin_a": "LL_GPIO_PIN_11",
"rotary_encoder_gpio_pin_b": "LL_GPIO_PIN_10",
"rotary_encoder_position": "((ROTARY_ENCODER_GPIO->IDR >> 10) & 0x03)",
"rotary_encoder_exti_line1": "LL_EXTI_LINE_11",
"rotary_encoder_exti_line2": "LL_EXTI_LINE_10",
"exti": [
{
"irq": "EXTI15_10_IRQ",
"priority": 5
}
],
"rotary_encoder_exti_port": "LL_SYSCFG_EXTI_PORTH",
"rotary_encoder_exti_sys_line1": "LL_SYSCFG_EXTI_LINE11",
"rotary_encoder_exti_sys_line2": "LL_SYSCFG_EXTI_LINE10",
"rotary_encoder_timer": "TIM13",
"rotary_encoder_timer_irqn": "TIM8_UP_TIM13_IRQn",
"rotary_encoder_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 0)",
"haptic_gpio_timer": "TIM1",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC2NE",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2 | TIM_CCMR1_OC2PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+38 -16
View File
@@ -321,27 +321,49 @@
}
],
"display": {
"w": 320,
"h": 480,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 320,
"lcd_h": 480,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 15)",
"backlight_timer": "TIM2",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 8)",
"haptic_gpio_timer": "TIM1",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC1E | TIM_CCER_CC1NE",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
}
}
+77 -16
View File
@@ -284,27 +284,88 @@
}
],
"display": {
"w": 320,
"h": 240,
"phys_w": 320,
"phys_h": 240,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 320,
"lcd_h": 240,
"lcd_phys_w": 320,
"lcd_phys_h": 240,
"lcd_depth": 16
},
"custom_switches": {
"rgb_led": 1,
"groups": 2
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOB, 3)",
"backlight_timer": "TIM2",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"leds": {
"led_strip_length": 14,
"bling_led_strip_start": 10,
"bling_led_strip_length": 4,
"cfs_led_strip_start": 0,
"cfs_led_strip_length": 8,
"cfs_leds_per_switch": 2,
"led_strip_gpio": "GPIO_PIN(GPIOF, 6)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM16",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH1",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMAMUX1_REQ_TIM16_UP",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 4,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32H750xB",
"cpu_type": "STM32H7"
},
"timers": {
"cpu_freq": 400000000,
"peri1_frequency": 100000000,
"peri2_frequency": 100000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"imu": {
"imu_i2c_bus": "I2C_Bus_2",
"imu_i2c_address": "0x6A"
},
"rotenc": {
"rotary_encoder_gpio": "GPIOA",
"rotary_encoder_gpio_pin_a": "LL_GPIO_PIN_6",
"rotary_encoder_gpio_pin_b": "LL_GPIO_PIN_7",
"rotary_encoder_position": "((ROTARY_ENCODER_GPIO->IDR >> 6) & 0x03)",
"rotary_encoder_exti_line1": "LL_EXTI_LINE_6",
"rotary_encoder_exti_line2": "LL_EXTI_LINE_7",
"exti": [
{
"irq": "EXTI9_5_IRQ",
"priority": 5
}
],
"rotary_encoder_exti_port": "LL_SYSCFG_EXTI_PORTA",
"rotary_encoder_exti_sys_line1": "LL_SYSCFG_EXTI_LINE6",
"rotary_encoder_exti_sys_line2": "LL_SYSCFG_EXTI_LINE7",
"rotary_encoder_timer": "TIM17",
"rotary_encoder_timer_irqn": "TIM17_IRQn",
"rotary_encoder_timer_irqhandler": "TIM17_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 15)",
"haptic_gpio_timer": "TIM2",
"haptic_gpio_af": "GPIO_AF1"
}
}
+54 -16
View File
@@ -292,27 +292,65 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 15)",
"backlight_timer": "TIM2",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"leds": {
"led_strip_length": 4,
"bling_led_strip_start": 0,
"bling_led_strip_length": 4,
"led_strip_gpio": "GPIO_PIN(GPIOH, 12)",
"led_strip_gpio_af": "LL_GPIO_AF_2",
"led_strip_timer": "TIM5",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 4,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 8)",
"haptic_gpio_timer": "TIM1",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC1E | TIM_CCER_CC1NE",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
}
}
+54 -16
View File
@@ -336,27 +336,65 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 15)",
"backlight_timer": "TIM2",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"leds": {
"led_strip_length": 4,
"bling_led_strip_start": 0,
"bling_led_strip_length": 4,
"led_strip_gpio": "GPIO_PIN(GPIOH, 12)",
"led_strip_gpio_af": "LL_GPIO_AF_2",
"led_strip_timer": "TIM5",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 4,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 8)",
"haptic_gpio_timer": "TIM1",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC1E | TIM_CCER_CC1NE",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
}
}
+55 -16
View File
@@ -307,27 +307,66 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 15)",
"backlight_timer": "TIM2",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"leds": {
"led_strip_length": 4,
"bling_led_strip_start": 0,
"bling_led_strip_length": 4,
"led_strip_gpio": "GPIO_PIN(GPIOH, 12)",
"led_strip_gpio_af": "LL_GPIO_AF_2",
"led_strip_timer": "TIM5",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 4,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 8)",
"haptic_gpio_timer": "TIM1",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC1E | TIM_CCER_CC1NE",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
}
}
+41 -16
View File
@@ -270,27 +270,52 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOE, 2)",
"led_blue_gpio": "GPIO_PIN(GPIOA, 7)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+87 -16
View File
@@ -384,27 +384,98 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 1,
"groups": 3
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOC, 6)",
"backlight_timer": "TIM3",
"backlight_gpio_af": "GPIO_AF2",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"leds": {
"led_strip_length": 24,
"bling_led_strip_start": 0,
"bling_led_strip_length": 12,
"cfs_led_strip_start": 12,
"cfs_led_strip_length": 12,
"cfs_leds_per_switch": 2,
"led_strip_gpio": "GPIO_PIN(GPIOA, 15)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM2",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH1",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMAMUX1_REQ_TIM2_UP",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 12,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32H750xB",
"cpu_type": "STM32H7"
},
"timers": {
"cpu_freq": 400000000,
"peri1_frequency": 100000000,
"peri2_frequency": 100000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"imu": {
"imu_i2c_bus": "I2C_Bus_1",
"imu_i2c_address": "0x6A"
},
"rotenc": {
"rotary_encoder_inverted": true,
"rotary_encoder_gpio": "GPIOG",
"rotary_encoder_gpio_pin_a": "LL_GPIO_PIN_2",
"rotary_encoder_gpio_pin_b": "LL_GPIO_PIN_3",
"rotary_encoder_position": "((ROTARY_ENCODER_GPIO->IDR >> 2) & 0x03)",
"rotary_encoder_exti_line1": "LL_EXTI_LINE_2",
"rotary_encoder_exti_line2": "LL_EXTI_LINE_3",
"exti": [
{
"irq": "EXTI2_IRQ",
"priority": 5
},
{
"irq": "EXTI3_IRQ",
"priority": 5
}
],
"rotary_encoder_exti_port": "LL_SYSCFG_EXTI_PORTG",
"rotary_encoder_exti_sys_line1": "LL_SYSCFG_EXTI_LINE2",
"rotary_encoder_exti_sys_line2": "LL_SYSCFG_EXTI_LINE3",
"rotary_encoder_timer": "TIM17",
"rotary_encoder_timer_irqn": "TIM17_IRQn",
"rotary_encoder_timer_irqhandler": "TIM17_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 5)",
"haptic_gpio_timer": "TIM3",
"haptic_gpio_af": "GPIO_AF2",
"haptic_timer_output_enable": "TIM_CCER_CC2E | TIM_CCER_CC2NE",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2 | TIM_CCMR1_OC2PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+38 -16
View File
@@ -312,27 +312,49 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOC, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOB, 1)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+41 -16
View File
@@ -270,27 +270,52 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOA, 7)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 13)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+56 -16
View File
@@ -270,27 +270,67 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"led_strip_length": 1,
"bling_led_strip_start": 0,
"bling_led_strip_length": 1,
"led_strip_gpio": "GPIO_PIN(GPIOA, 10)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA2",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_5",
"led_strip_timer_dma_irqn": "DMA2_Stream5_IRQn",
"led_strip_timer_dma_irqhandler": "DMA2_Stream5_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOA, 7)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 13)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 1,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+38 -16
View File
@@ -350,27 +350,49 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 480,
"phys_h": 320,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 480,
"lcd_phys_h": 320,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 3
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOI, 14)",
"led_green_gpio": "GPIO_PIN(GPIOC, 13)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 3)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 5)",
"haptic_gpio_timer": "TIM2",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer_output_enable": "TIM_CCER_CC1E | TIM_CCER_CC1NE",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
}
}
+84 -16
View File
@@ -354,27 +354,95 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 480,
"phys_h": 320,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 480,
"lcd_phys_h": 320,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 1,
"groups": 3
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 5)",
"backlight_timer": "TIM2",
"backlight_timer_channel": "LL_TIM_CHANNEL_CH1",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)"
},
"leds": {
"led_strip_length": 7,
"bling_led_strip_start": 6,
"bling_led_strip_length": 1,
"cfs_led_strip_start": 0,
"cfs_led_strip_length": 6,
"cfs_leds_per_switch": 1,
"led_strip_gpio": "GPIO_PIN(GPIOA, 10)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMAMUX1_REQ_TIM1_UP",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOA, 8)",
"led_green_gpio": "GPIO_PIN(GPIOJ, 13)",
"led_blue_gpio": "GPIO_PIN(GPIOG, 7)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 1,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32H750xB",
"cpu_type": "STM32H7"
},
"timers": {
"cpu_freq": 480000000,
"peri1_frequency": 120000000,
"peri2_frequency": 120000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"rotenc": {
"rotary_encoder_gpio_a": "GPIOA",
"rotary_encoder_gpio_pin_a": "LL_GPIO_PIN_6",
"rotary_encoder_gpio_b": "GPIOA",
"rotary_encoder_gpio_pin_b": "LL_GPIO_PIN_7",
"rotary_encoder_position": "(((ROTARY_ENCODER_GPIO_A->IDR >> 6) & 0x01)|((ROTARY_ENCODER_GPIO_B->IDR >> 6) & 0x02))",
"rotary_encoder_exti_line1": "LL_EXTI_LINE_6",
"rotary_encoder_exti_line2": "LL_EXTI_LINE_7",
"exti": [
{
"irq": "EXTI9_5_IRQ",
"priority": 9
}
],
"rotary_encoder_exti_port_a": "LL_SYSCFG_EXTI_PORTA",
"rotary_encoder_exti_port_b": "LL_SYSCFG_EXTI_PORTA",
"rotary_encoder_exti_sys_line1": "LL_SYSCFG_EXTI_LINE6",
"rotary_encoder_exti_sys_line2": "LL_SYSCFG_EXTI_LINE7",
"rotary_encoder_timer": "TIM17",
"rotary_encoder_timer_irqn": "TIM17_IRQn",
"rotary_encoder_timer_irqhandler": "TIM17_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM15",
"haptic_gpio_af": "GPIO_AF4",
"haptic_timer_output_enable": "TIM_CCER_CC2E | TIM_CCER_CC2NE",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2 | TIM_CCMR1_OC2PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+39 -16
View File
@@ -429,27 +429,50 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"lcd_vertical_invert": true,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOE, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC2E",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+38 -16
View File
@@ -431,27 +431,49 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOE, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC2E",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+40 -16
View File
@@ -509,27 +509,51 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 3
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOG, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 4)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+43 -16
View File
@@ -509,27 +509,54 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 3
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOG, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 4)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+76 -16
View File
@@ -463,27 +463,87 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16
},
"custom_switches": {
"rgb_led": 1,
"groups": 3
"leds": {
"led_strip_length": 7,
"bling_led_strip_start": 6,
"bling_led_strip_length": 1,
"cfs_led_strip_start": 0,
"cfs_led_strip_length": 6,
"cfs_leds_per_switch": 1,
"led_strip_gpio": "GPIO_PIN(GPIOA, 10)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMAMUX1_REQ_TIM1_UP",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOB, 15)",
"led_red2_gpio": "GPIO_PIN(GPIOJ, 12)",
"led_green_gpio": "GPIO_PIN(GPIOB, 13)",
"led_blue_gpio": "GPIO_PIN(GPIOB, 12)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 1,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32H750xB",
"cpu_type": "STM32H7"
},
"timers": {
"cpu_freq": 480000000,
"peri1_frequency": 120000000,
"peri2_frequency": 120000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"rotenc": {
"rotary_encoder_gpio_a": "GPIOA",
"rotary_encoder_gpio_pin_a": "LL_GPIO_PIN_6",
"rotary_encoder_gpio_b": "GPIOA",
"rotary_encoder_gpio_pin_b": "LL_GPIO_PIN_7",
"rotary_encoder_position": "(((ROTARY_ENCODER_GPIO_A->IDR >> 6) & 0x01)|((ROTARY_ENCODER_GPIO_B->IDR >> 6) & 0x02))",
"rotary_encoder_exti_line1": "LL_EXTI_LINE_6",
"rotary_encoder_exti_line2": "LL_EXTI_LINE_7",
"exti": [
{
"irq": "EXTI9_5_IRQ",
"priority": 9
}
],
"rotary_encoder_exti_port_a": "LL_SYSCFG_EXTI_PORTA",
"rotary_encoder_exti_port_b": "LL_SYSCFG_EXTI_PORTA",
"rotary_encoder_exti_sys_line1": "LL_SYSCFG_EXTI_LINE6",
"rotary_encoder_exti_sys_line2": "LL_SYSCFG_EXTI_LINE7",
"rotary_encoder_timer": "TIM17",
"rotary_encoder_timer_irqn": "TIM17_IRQn",
"rotary_encoder_timer_irqhandler": "TIM17_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM15",
"haptic_gpio_af": "GPIO_AF4",
"haptic_timer_output_enable": "TIM_CCER_CC2E | TIM_CCER_CC2NE",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2 | TIM_CCMR1_OC2PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+37 -16
View File
@@ -252,27 +252,48 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 4)",
"led_green_gpio": "GPIO_PIN(GPIOB, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 0,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+38 -16
View File
@@ -236,27 +236,49 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOB, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 4)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+38 -16
View File
@@ -342,27 +342,49 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 3
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOB, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 4)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+43 -16
View File
@@ -270,27 +270,54 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOA, 7)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 13)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+40 -16
View File
@@ -370,27 +370,51 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 3
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOB, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 4)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+38 -16
View File
@@ -322,27 +322,49 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOB, 1)",
"led_blue_gpio": "GPIO_PIN(GPIOC, 4)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+41 -16
View File
@@ -299,27 +299,52 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOA, 7)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 2)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+100 -16
View File
@@ -324,27 +324,111 @@
}
],
"display": {
"w": 480,
"h": 320,
"phys_w": 320,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 320,
"lcd_phys_w": 320,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 1,
"groups": 3
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 10)",
"backlight_timer": "TIM1",
"backlight_timer_channel": "LL_TIM_CHANNEL_CH3",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)"
},
"leds": {
"led_strip_length": 26,
"bling_led_strip_start": 6,
"bling_led_strip_length": 20,
"cfs_led_strip_start": 0,
"cfs_led_strip_length": 6,
"cfs_leds_per_switch": 1,
"led_strip_gpio": "GPIO_PIN(GPIOA, 0)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM2",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH1",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMAMUX1_REQ_TIM2_UP",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOI, 8)",
"led_green_gpio": "GPIO_PIN(GPIOI, 11)",
"led_blue_gpio": "GPIO_PIN(GPIOI, 10)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 20,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32H750xB",
"cpu_type": "STM32H7"
},
"timers": {
"cpu_freq": 480000000,
"peri1_frequency": 120000000,
"peri2_frequency": 120000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"imu": {
"imu_i2c_bus": "I2C_Bus_1",
"imu_int_gpio": "GPIO_PIN(GPIOG, 13)",
"imu_invert_x": true,
"imu_invert_y": true,
"exti": [
{
"irq": "EXTI15_10_IRQ",
"priority": 6
}
]
},
"rotenc": {
"rotary_encoder_inverted": true,
"rotary_encoder_gpio_a": "GPIOI",
"rotary_encoder_gpio_pin_a": "LL_GPIO_PIN_7",
"rotary_encoder_gpio_b": "GPIOJ",
"rotary_encoder_gpio_pin_b": "LL_GPIO_PIN_8",
"rotary_encoder_position": "(((ROTARY_ENCODER_GPIO_A->IDR >> 7) & 0x01)|((ROTARY_ENCODER_GPIO_B->IDR >> 7) & 0x02))",
"rotary_encoder_exti_line1": "LL_EXTI_LINE_7",
"rotary_encoder_exti_line2": "LL_EXTI_LINE_8",
"exti": [
{
"irq": "EXTI7_IRQ",
"priority": 5
},
{
"irq": "EXTI8_IRQ",
"priority": 5
}
],
"rotary_encoder_exti_port_a": "LL_SYSCFG_EXTI_PORTI",
"rotary_encoder_exti_port_b": "LL_SYSCFG_EXTI_PORTJ",
"rotary_encoder_exti_sys_line1": "LL_SYSCFG_EXTI_LINE7",
"rotary_encoder_exti_sys_line2": "LL_SYSCFG_EXTI_LINE8",
"rotary_encoder_timer": "TIM17",
"rotary_encoder_timer_irqn": "TIM17_IRQn",
"rotary_encoder_timer_irqhandler": "TIM17_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOC, 7)",
"haptic_gpio_timer": "TIM3",
"haptic_gpio_af": "GPIO_AF2",
"haptic_timer_output_enable": "TIM_CCER_CC2E | TIM_CCER_CC2NE",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2 | TIM_CCMR1_OC2PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+39 -16
View File
@@ -437,27 +437,50 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"lcd_vertical_invert": true,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOE, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC2E",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+100 -16
View File
@@ -438,27 +438,111 @@
}
],
"display": {
"w": 800,
"h": 480,
"phys_w": 800,
"phys_h": 480,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 800,
"lcd_h": 480,
"lcd_phys_w": 800,
"lcd_phys_h": 480,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 1,
"groups": 3
"backlight": {
"backlight_gpio": "GPIO_PIN(GPIOA, 10)",
"backlight_timer": "TIM1",
"backlight_timer_channel": "LL_TIM_CHANNEL_CH3",
"backlight_gpio_af": "GPIO_AF1",
"backlight_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)"
},
"leds": {
"led_strip_length": 26,
"bling_led_strip_start": 6,
"bling_led_strip_length": 20,
"cfs_led_strip_start": 0,
"cfs_led_strip_length": 6,
"cfs_leds_per_switch": 1,
"led_strip_gpio": "GPIO_PIN(GPIOA, 0)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM2",
"led_strip_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH1",
"led_strip_timer_dma": "DMA1",
"led_strip_timer_dma_channel": "LL_DMAMUX1_REQ_TIM2_UP",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_0",
"led_strip_timer_dma_irqn": "DMA1_Stream0_IRQn",
"led_strip_timer_dma_irqhandler": "DMA1_Stream0_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOI, 8)",
"led_green_gpio": "GPIO_PIN(GPIOI, 11)",
"led_blue_gpio": "GPIO_PIN(GPIOI, 10)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 20,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32H750xB",
"cpu_type": "STM32H7"
},
"timers": {
"cpu_freq": 480000000,
"peri1_frequency": 120000000,
"peri2_frequency": 120000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"imu": {
"imu_i2c_bus": "I2C_Bus_2",
"imu_int_gpio": "GPIO_PIN(GPIOG, 13)",
"imu_invert_x": true,
"imu_invert_y": true,
"exti": [
{
"irq": "EXTI15_10_IRQ",
"priority": 6
}
]
},
"rotenc": {
"rotary_encoder_inverted": true,
"rotary_encoder_gpio_a": "GPIOI",
"rotary_encoder_gpio_pin_a": "LL_GPIO_PIN_7",
"rotary_encoder_gpio_b": "GPIOJ",
"rotary_encoder_gpio_pin_b": "LL_GPIO_PIN_8",
"rotary_encoder_position": "(((ROTARY_ENCODER_GPIO_A->IDR >> 7) & 0x01)|((ROTARY_ENCODER_GPIO_B->IDR >> 7) & 0x02))",
"rotary_encoder_exti_line1": "LL_EXTI_LINE_7",
"rotary_encoder_exti_line2": "LL_EXTI_LINE_8",
"exti": [
{
"irq": "EXTI7_IRQ",
"priority": 5
},
{
"irq": "EXTI8_IRQ",
"priority": 5
}
],
"rotary_encoder_exti_port_a": "LL_SYSCFG_EXTI_PORTI",
"rotary_encoder_exti_port_b": "LL_SYSCFG_EXTI_PORTJ",
"rotary_encoder_exti_sys_line1": "LL_SYSCFG_EXTI_LINE7",
"rotary_encoder_exti_sys_line2": "LL_SYSCFG_EXTI_LINE8",
"rotary_encoder_timer": "TIM17",
"rotary_encoder_timer_irqn": "TIM17_IRQn",
"rotary_encoder_timer_irqhandler": "TIM17_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOC, 7)",
"haptic_gpio_timer": "TIM3",
"haptic_gpio_af": "GPIO_AF2",
"haptic_timer_output_enable": "TIM_CCER_CC2E | TIM_CCER_CC2NE",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2 | TIM_CCMR1_OC2PE",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+52 -16
View File
@@ -333,27 +333,63 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"led_strip_length": 6,
"led_strip_gpio": "GPIO_PIN(GPIOA, 10)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA2",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_5",
"led_strip_timer_dma_irqn": "DMA2_Stream5_IRQn",
"led_strip_timer_dma_irqhandler": "DMA2_Stream5_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOE, 14)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 2)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+55 -16
View File
@@ -333,27 +333,66 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 1,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"oled_screen": true,
"lcd_horizontal_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"led_strip_length": 38,
"bling_led_strip_start": 6,
"bling_led_strip_length": 32,
"led_strip_gpio": "GPIO_PIN(GPIOA, 10)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA2",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_5",
"led_strip_timer_dma_irqn": "DMA2_Stream5_IRQn",
"led_strip_timer_dma_irqhandler": "DMA2_Stream5_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOE, 14)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 2)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 32,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xG",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+52 -16
View File
@@ -435,27 +435,63 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"led_strip_length": 40,
"bling_led_strip_start": 6,
"bling_led_strip_length": 34,
"led_strip_gpio": "GPIO_PIN(GPIOA, 10)",
"led_strip_gpio_af": "LL_GPIO_AF_1",
"led_strip_timer": "TIM1",
"led_strip_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"led_strip_timer_channel": "LL_TIM_CHANNEL_CH3",
"led_strip_timer_dma": "DMA2",
"led_strip_timer_dma_channel": "LL_DMA_CHANNEL_6",
"led_strip_timer_dma_stream": "LL_DMA_STREAM_5",
"led_strip_timer_dma_irqn": "DMA2_Stream5_IRQn",
"led_strip_timer_dma_irqhandler": "DMA2_Stream5_IRQHandler",
"led_strip_refresh_period": 50,
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_green_gpio": "GPIO_PIN(GPIOE, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 34,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC2E",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+38 -16
View File
@@ -435,27 +435,49 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"lcd_vertical_invert": true,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC2E",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+38 -16
View File
@@ -435,27 +435,49 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"lcd_vertical_invert": true,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 2)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 5)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOE, 6)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC2E",
"haptic_timer_mode": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR2"
}
}
+34 -16
View File
@@ -428,27 +428,45 @@
}
],
"display": {
"w": 480,
"h": 272,
"phys_w": 480,
"phys_h": 272,
"depth": 16,
"color": 1,
"oled": 0,
"backlight_color": 0
"lcd_w": 480,
"lcd_h": 272,
"lcd_phys_w": 480,
"lcd_phys_h": 272,
"lcd_depth": 16,
"ltdc_irq_prio": 4,
"dma_screen_irq_prio": 6
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F429xI",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM13",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_UP_TIM13_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_UP_TIM13_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 2)",
"haptic_gpio_timer": "TIM9",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer_output_enable": "TIM_CCER_CC1E",
"haptic_timer_mode": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_timer_compare_value": "HAPTIC_GPIO_TIMER->CCR1"
}
}
+36 -16
View File
@@ -302,27 +302,47 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 5)",
"led_green_gpio": "GPIO_PIN(GPIOC, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOB, 1)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+35 -16
View File
@@ -288,27 +288,46 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOC, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOB, 1)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 10)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM1",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR3",
"haptic_ccmr2": "TIM_CCMR2_OC3M_1 | TIM_CCMR2_OC3M_2",
"haptic_ccer": "TIM_CCER_CC3E"
}
}
+32 -16
View File
@@ -355,27 +355,43 @@
}
],
"display": {
"w": 212,
"h": 64,
"phys_w": 212,
"phys_h": 64,
"depth": 4,
"color": 0,
"oled": 0,
"backlight_color": 1
"lcd_w": 212,
"lcd_h": 64,
"lcd_phys_w": 212,
"lcd_phys_h": 64,
"lcd_depth": 4
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"has_backlight_color": true
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 0,
"has_ext_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+38 -16
View File
@@ -343,27 +343,49 @@
}
],
"display": {
"w": 212,
"h": 64,
"phys_w": 212,
"phys_h": 64,
"depth": 4,
"color": 0,
"oled": 0,
"backlight_color": 1
"lcd_w": 212,
"lcd_h": 64,
"lcd_phys_w": 212,
"lcd_phys_h": 64,
"lcd_depth": 4
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"has_backlight_color": true
},
"leds": {
"status_leds": true,
"gpio_led_gpio_on": "gpio_clear",
"gpio_led_gpio_off": "gpio_set",
"led_red_gpio": "GPIO_PIN(GPIOA, 13)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 0,
"has_ext_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOA, 10)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM1",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR3",
"haptic_ccmr2": "TIM_CCMR2_OC3M_1 | TIM_CCMR2_OC3M_2",
"haptic_ccer": "TIM_CCER_CC3E"
}
}
+23 -17
View File
@@ -344,27 +344,33 @@
}
],
"display": {
"w": 212,
"h": 64,
"phys_w": 212,
"phys_h": 64,
"depth": 4,
"color": 0,
"oled": 0,
"backlight_color": 0
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"lcd_w": 212,
"lcd_h": 64,
"lcd_phys_w": 212,
"lcd_phys_h": 64,
"lcd_depth": 4
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 0,
"has_ext_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_gpio": "GPIO_PIN(GPIOC, 14)"
}
}
+32 -16
View File
@@ -547,27 +547,43 @@
}
],
"display": {
"w": 212,
"h": 64,
"phys_w": 212,
"phys_h": 64,
"depth": 4,
"color": 0,
"oled": 0,
"backlight_color": 1
"lcd_w": 212,
"lcd_h": 64,
"lcd_phys_w": 212,
"lcd_phys_h": 64,
"lcd_depth": 4
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"has_backlight_color": true
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 0,
"has_ext_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 8)",
"haptic_gpio_af": "GPIO_AF3",
"haptic_timer": "TIM10",
"haptic_timer_freq": "(PERI2_FREQUENCY * TIMER_MULT_APB2)",
"haptic_counter_register": "HAPTIC_TIMER->CCR1",
"haptic_ccmr1": "TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2",
"haptic_ccer": "TIM_CCER_CC1E"
}
}
+39 -16
View File
@@ -247,27 +247,50 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 5)",
"led_green_gpio": "GPIO_PIN(GPIOE, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 6)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+38 -16
View File
@@ -275,27 +275,49 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 5)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 6)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+41 -16
View File
@@ -253,27 +253,52 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"gpio_led_gpio_on": "gpio_clear",
"gpio_led_gpio_off": "gpio_set",
"led_red_gpio": "GPIO_PIN(GPIOE, 4)",
"led_green_gpio": "GPIO_PIN(GPIOE, 5)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 6)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+40 -16
View File
@@ -281,27 +281,51 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"gpio_led_gpio_on": "gpio_clear",
"gpio_led_gpio_off": "gpio_set",
"led_red_gpio": "GPIO_PIN(GPIOE, 4)",
"led_blue_gpio": "GPIO_PIN(GPIOE, 6)"
},
"hardware": {
"has_audio_mute": 0,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 250000,
"surface": 0,
"cpu": "STM32F205xE",
"cpu_type": "STM32F2"
},
"timers": {
"cpu_freq": 120000000,
"peri1_frequency": 30000000,
"peri2_frequency": 60000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}
+41 -16
View File
@@ -323,27 +323,52 @@
}
],
"display": {
"w": 128,
"h": 64,
"phys_w": 128,
"phys_h": 64,
"depth": 1,
"color": 0,
"oled": 0,
"backlight_color": 0
"lcd_w": 128,
"lcd_h": 64,
"lcd_phys_w": 128,
"lcd_phys_h": 64,
"lcd_depth": 1,
"lcd_vertical_invert": true
},
"custom_switches": {
"rgb_led": 0,
"groups": 0
"backlight": {
"backlight_bdtr": "TIM_BDTR_MOE"
},
"leds": {
"status_leds": true,
"led_red_gpio": "GPIO_PIN(GPIOE, 13)",
"led_green_gpio": "GPIO_PIN(GPIOE, 2)",
"led_blue_gpio": "GPIO_PIN(GPIOA, 7)"
},
"hardware": {
"has_audio_mute": 1,
"has_bling_leds": 0,
"has_ext_module_support": 1,
"has_int_module_support": 1,
"has_audio_mute": true,
"has_ext_module_support": true,
"has_int_module_support": true,
"sport_max_baudrate": 400000,
"surface": 0,
"cpu": "STM32F407xE",
"cpu_type": "STM32F4"
},
"timers": {
"cpu_freq": 168000000,
"peri1_frequency": 42000000,
"peri2_frequency": 84000000,
"timer_mult_apb1": 2,
"timer_mult_apb2": 2,
"ms_timer": "TIM14",
"ms_timer_irqn": "TIM8_TRG_COM_TIM14_IRQn",
"ms_timer_irqhandler": "TIM8_TRG_COM_TIM14_IRQHandler",
"mixer_scheduler_timer": "TIM12",
"mixer_scheduler_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"mixer_scheduler_timer_irqn": "TIM8_BRK_TIM12_IRQn",
"mixer_scheduler_timer_irqhandler": "TIM8_BRK_TIM12_IRQHandler"
},
"haptic": {
"haptic_pwm": true,
"haptic_gpio": "GPIO_PIN(GPIOB, 3)",
"haptic_gpio_af": "GPIO_AF1",
"haptic_timer": "TIM2",
"haptic_timer_freq": "(PERI1_FREQUENCY * TIMER_MULT_APB1)",
"haptic_counter_register": "HAPTIC_TIMER->CCR2",
"haptic_ccmr1": "TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2",
"haptic_ccer": "TIM_CCER_CC2E"
}
}