chore: use settings from radio JSON files instead of hal.h (#7411)
Co-authored-by: 3djc <3djc@gh.com>
This commit is contained in:
@@ -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)"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user