1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 05:45:31 +03:00

Add MOTOLAB build target and associated source files

This commit is contained in:
Moto Moto 2015-08-15 17:33:52 -05:00
parent c49bd407bf
commit 2e351b0991
9 changed files with 825 additions and 6 deletions

View file

@ -120,6 +120,19 @@ const mpu6050Config_t *selectMPU6050Config(void)
return &spRacingF3MPU6050Config;
#endif
#ifdef MOTOLAB
static const mpu6050Config_t MotolabF3MPU6050Config = {
.gpioAHBPeripherals = RCC_AHBPeriph_GPIOA,
.gpioPort = GPIOA,
.gpioPin = Pin_15,
.exti_port_source = EXTI_PortSourceGPIOA,
.exti_pin_source = EXTI_PinSource15,
.exti_line = EXTI_Line15,
.exti_irqn = EXTI15_10_IRQn
};
return &MotolabF3MPU6050Config;
#endif
return NULL;
}