mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Add SINGULARITY target
This commit is contained in:
parent
2df7e3cefa
commit
0a3bf6e991
8 changed files with 710 additions and 4 deletions
|
@ -182,6 +182,19 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
|
|||
return &MotolabF3MPU6050Config;
|
||||
#endif
|
||||
|
||||
#ifdef SINGULARITY
|
||||
static const extiConfig_t singularityMPU6050Config = {
|
||||
.gpioAHBPeripherals = RCC_AHBPeriph_GPIOC,
|
||||
.gpioPort = GPIOC,
|
||||
.gpioPin = Pin_13,
|
||||
.exti_port_source = EXTI_PortSourceGPIOC,
|
||||
.exti_pin_source = EXTI_PinSource13,
|
||||
.exti_line = EXTI_Line13,
|
||||
.exti_irqn = EXTI15_10_IRQn
|
||||
};
|
||||
return &singularityMPU6050Config;
|
||||
#endif
|
||||
|
||||
#ifdef ALIENFLIGHTF3
|
||||
// MPU_INT output on V1 PA15
|
||||
static const extiConfig_t alienFlightF3V1MPUIntExtiConfig = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue