mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
Add MOTOLAB build target and associated source files
This commit is contained in:
parent
efc31f9d57
commit
b7517aa599
9 changed files with 826 additions and 6 deletions
|
@ -137,6 +137,19 @@ const extiConfig_t *selectMPUIntExtiConfig(void)
|
|||
return &cc3dMPUIntExtiConfig;
|
||||
#endif
|
||||
|
||||
#ifdef MOTOLAB
|
||||
static const extiConfig_t MotolabF3MPUIntExtiConfig = {
|
||||
.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 &MotolabF3MPUIntExtiConfig;
|
||||
#endif
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue