1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

Initial commit of DTFc.

Adds support for Invensense ICM-20608-G and BMP280 SPI mode.
This commit is contained in:
DTF UHF 2016-04-08 16:35:03 -04:00
parent d5532cc139
commit 9386841abc
14 changed files with 962 additions and 46 deletions

View file

@ -156,6 +156,19 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
return &RaceMPUIntExtiConfig;
#endif
#if defined(DOGE)
static const extiConfig_t dogeMPUIntExtiConfig = {
.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 &dogeMPUIntExtiConfig;
#endif
#if defined(MOTOLAB) || defined(SPARKY)
static const extiConfig_t MotolabF3MPU6050Config = {
.gpioAHBPeripherals = RCC_AHBPeriph_GPIOA,