|
NinjaFlight
|
Go to the source code of this file.
| #define ACC |
| #define ACC_MPU6050_ALIGN CW270_DEG |
| #define ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA2 |
| #define ADC_DMA_CHANNEL DMA2_Channel1 |
| #define ADC_INSTANCE ADC2 |
| #define BARO |
| #define BEEP_GPIO GPIOC |
| #define BEEP_PERIPHERAL RCC_AHBPeriph_GPIOC |
| #define BEEP_PIN Pin_15 |
| #define BEEPER_INVERTED |
| #define BIND_PIN Pin_11 |
| #define BIND_PORT GPIOB |
| #define CURRENT_METER_ADC_CHANNEL ADC_Channel_2 |
| #define CURRENT_METER_ADC_GPIO GPIOA |
| #define CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_5 |
| #define DEFAULT_RX_FEATURE FEATURE_RX_PPM |
| #define ENSURE_MAG_DATA_READY_IS_HIGH |
| #define ENSURE_MPU_DATA_READY_IS_LOW |
| #define EXTI_CALLBACK_HANDLER_COUNT 2 |
| #define GYRO |
| #define GYRO_MPU6050_ALIGN CW270_DEG |
| #define LED0 |
| #define LED0_GPIO GPIOB |
| #define LED0_PERIPHERAL RCC_AHBPeriph_GPIOB |
| #define LED0_PIN Pin_3 |
| #define LED_STRIP |
| #define LED_STRIP_TIMER TIM1 |
| #define MAG_HMC5883_ALIGN CW270_DEG |
| #define RSSI_ADC_CHANNEL ADC_Channel_12 |
| #define RSSI_ADC_GPIO GPIOB |
| #define RSSI_ADC_GPIO_PIN GPIO_Pin_2 |
| #define SERIAL_PORT_COUNT 8 |
| #define SOFTSERIAL_1_TIMER TIM3 |
| #define SOFTSERIAL_1_TIMER_RX_HARDWARE 4 |
| #define SOFTSERIAL_1_TIMER_TX_HARDWARE 5 |
| #define SOFTSERIAL_2_TIMER TIM3 |
| #define SOFTSERIAL_2_TIMER_RX_HARDWARE 6 |
| #define SOFTSERIAL_2_TIMER_TX_HARDWARE 7 |
| #define SONAR_ECHO_GPIO GPIOB |
| #define SONAR_ECHO_PIN Pin_1 |
| #define SONAR_EXTI_IRQN EXTI1_IRQn |
| #define SONAR_EXTI_LINE EXTI_Line1 |
| #define SONAR_EXTI_PIN_SOURCE EXTI_PinSource1 |
| #define SONAR_TRIGGER_GPIO GPIOB |
| #define SONAR_TRIGGER_PIN Pin_0 |
| #define TARGET_BOARD_IDENTIFIER "SITL" |
| #define U_ID_0 'S' |
| #define U_ID_1 'I' |
| #define U_ID_2 'M' |
| #define UART1_GPIO GPIOA |
| #define UART1_GPIO_AF GPIO_AF_7 |
| #define UART1_RX_PIN GPIO_Pin_10 |
| #define UART1_RX_PINSOURCE GPIO_PinSource10 |
| #define UART1_TX_PIN GPIO_Pin_9 |
| #define UART1_TX_PINSOURCE GPIO_PinSource9 |
| #define UART2_GPIO GPIOA |
| #define UART2_GPIO_AF GPIO_AF_7 |
| #define UART2_RX_PIN GPIO_Pin_15 |
| #define UART2_RX_PINSOURCE GPIO_PinSource15 |
| #define UART2_TX_PIN GPIO_Pin_14 |
| #define UART2_TX_PINSOURCE GPIO_PinSource14 |
| #define UART3_GPIO GPIOB |
| #define UART3_GPIO_AF GPIO_AF_7 |
| #define UART3_RX_PIN GPIO_Pin_11 |
| #define UART3_RX_PINSOURCE GPIO_PinSource11 |
| #define UART3_TX_PIN GPIO_Pin_10 |
| #define UART3_TX_PINSOURCE GPIO_PinSource10 |
| #define UNIT_TEST |
| #define USABLE_TIMER_CHANNEL_COUNT 17 |
| #define USE_ACC_MPU6050 |
| #define USE_BARO_MS5611 |
| #define USE_BEEPER 1 |
| #define USE_BLACKBOX 0 |
| #define USE_CLI |
| #define USE_GYRO_MPU6050 |
| #define USE_MAG 0 |
| #define USE_MAG_AK8975 |
| #define USE_MAG_DATA_READY_SIGNAL |
| #define USE_MAG_HMC5883 |
| #define USE_MPU_DATA_READY_SIGNAL |
| #define USE_QUAD_MIXER_ONLY 0 |
| #define USE_SERVOS |
| #define USE_SOFTSERIAL1 |
| #define USE_SOFTSERIAL2 |
| #define USE_TILT 1 |
| #define USE_UART1 |
| #define USE_UART2 |
| #define USE_UART3 |
| #define VBAT_ADC_CHANNEL ADC_Channel_1 |
| #define VBAT_ADC_GPIO GPIOA |
| #define VBAT_ADC_GPIO_PIN GPIO_Pin_4 |
| #define WS2811_DMA_CHANNEL DMA1_Channel2 |
| #define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER |
| #define WS2811_DMA_TC_FLAG DMA1_FLAG_TC2 |
| #define WS2811_GPIO GPIOA |
| #define WS2811_GPIO_AF GPIO_AF_6 |
| #define WS2811_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA |
| #define WS2811_IRQ DMA1_Channel2_IRQn |
| #define WS2811_PIN GPIO_Pin_8 |
| #define WS2811_PIN_SOURCE GPIO_PinSource8 |
| #define WS2811_TIMER TIM1 |
| #define WS2811_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM1 |