NinjaFlight
|
Go to the source code of this file.
#define ACC |
#define ACC_MPU6050_ALIGN CW0_DEG |
#define ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA1 |
#define ADC_DMA_CHANNEL DMA1_Channel1 |
#define ADC_INSTANCE ADC1 |
#define BARO |
#define BEEP_GPIO GPIOE |
#define BEEP_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define BEEPER_INVERTED |
#define BLACKBOX |
#define CURRENT_METER_ADC_CHANNEL ADC_Channel_7 |
#define CURRENT_METER_ADC_GPIO GPIOC |
#define CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_1 |
#define DISPLAY |
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT |
#define EXTERNAL1_ADC_CHANNEL ADC_Channel_9 |
#define EXTERNAL1_ADC_GPIO GPIOC |
#define EXTERNAL1_ADC_GPIO_PIN GPIO_Pin_3 |
#define GPS |
#define GTUNE |
#define GYRO |
#define GYRO_L3GD20_ALIGN CW270_DEG |
#define GYRO_MPU6050_ALIGN CW0_DEG |
#define I2C_DEVICE (I2CDEV_1) |
#define L3GD20_CS_GPIO GPIOE |
#define L3GD20_CS_GPIO_CLK_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define L3GD20_CS_PIN GPIO_Pin_3 |
#define L3GD20_SPI SPI1 |
#define LED0 |
#define LED0_GPIO GPIOE |
#define LED0_INVERTED |
#define LED0_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define LED1 |
#define LED1_GPIO GPIOE |
#define LED1_INVERTED |
#define LED1_PERIPHERAL RCC_AHBPeriph_GPIOE |
#define LED_STRIP |
#define LED_STRIP_TIMER TIM16 |
#define MAG_AK8975_ALIGN CW90_DEG_FLIP |
#define RSSI_ADC_CHANNEL ADC_Channel_8 |
#define RSSI_ADC_GPIO GPIOC |
#define RSSI_ADC_GPIO_PIN GPIO_Pin_2 |
#define SDCARD_DETECT_EXTI_IRQn EXTI15_10_IRQn |
#define SDCARD_DETECT_EXTI_LINE EXTI_Line14 |
#define SDCARD_DETECT_EXTI_PIN_SOURCE EXTI_PinSource14 |
#define SDCARD_DETECT_EXTI_PORT_SOURCE EXTI_PortSourceGPIOC |
#define SDCARD_DETECT_GPIO_CLK RCC_AHBPeriph_GPIOC |
#define SDCARD_DETECT_GPIO_PORT GPIOC |
#define SDCARD_DETECT_PIN GPIO_Pin_14 |
#define SDCARD_DMA_CHANNEL_TX DMA1_Channel5 |
#define SDCARD_DMA_CHANNEL_TX_COMPLETE_FLAG DMA1_FLAG_TC5 |
#define SDCARD_SPI_CS_GPIO SPI2_GPIO |
#define SDCARD_SPI_CS_PIN SPI2_NSS_PIN |
#define SDCARD_SPI_FULL_SPEED_CLOCK_DIVIDER 2 |
#define SDCARD_SPI_INITIALIZATION_CLOCK_DIVIDER 128 |
#define SDCARD_SPI_INSTANCE SPI2 |
#define SERIAL_PORT_COUNT 6 |
#define SERIAL_RX |
#define SPI2_GPIO GPIOB |
#define SPI2_GPIO_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define SPI2_MISO_PIN Pin_14 |
#define SPI2_MISO_PIN_SOURCE GPIO_PinSource14 |
#define SPI2_MOSI_PIN Pin_15 |
#define SPI2_MOSI_PIN_SOURCE GPIO_PinSource15 |
#define SPI2_NSS_PIN Pin_12 |
#define SPI2_NSS_PIN_SOURCE GPIO_PinSource12 |
#define SPI2_SCK_PIN Pin_13 |
#define SPI2_SCK_PIN_SOURCE GPIO_PinSource13 |
#define TARGET_BOARD_IDENTIFIER "CHF3" |
#define TELEMETRY |
#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 GPIOD |
#define UART2_GPIO_AF GPIO_AF_7 |
#define UART2_RX_PIN GPIO_Pin_6 |
#define UART2_RX_PINSOURCE GPIO_PinSource6 |
#define UART2_TX_PIN GPIO_Pin_5 |
#define UART2_TX_PINSOURCE GPIO_PinSource5 |
#define USABLE_TIMER_CHANNEL_COUNT 18 |
#define USB_IO |
#define USE_ACC_LSM303DLHC |
#define USE_ACC_MPU6050 |
#define USE_ADC |
#define USE_BARO_MS5611 |
#define USE_BEEPER 1 |
#define USE_CLI |
#define USE_GYRO_L3GD20 |
#define USE_GYRO_MPU6050 |
#define USE_I2C |
#define USE_MAG 1 |
#define USE_MAG_AK8975 |
#define USE_QUAD_MIXER_ONLY 0 |
#define USE_SDCARD |
#define USE_SDCARD_SPI2 |
#define USE_SERVOS |
#define USE_SPI |
#define USE_SPI_DEVICE_1 |
#define USE_SPI_DEVICE_2 |
#define USE_TILT 0 |
#define USE_UART1 |
#define USE_UART2 |
#define USE_UART3 |
#define USE_UART4 |
#define USE_UART5 |
#define USE_VCP |
#define VBAT_ADC_CHANNEL ADC_Channel_6 |
#define VBAT_ADC_GPIO GPIOC |
#define VBAT_ADC_GPIO_PIN GPIO_Pin_0 |
#define WS2811_DMA_CHANNEL DMA1_Channel3 |
#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH3_HANDLER |
#define WS2811_DMA_TC_FLAG DMA1_FLAG_TC3 |
#define WS2811_GPIO GPIOB |
#define WS2811_GPIO_AF GPIO_AF_1 |
#define WS2811_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOB |
#define WS2811_IRQ DMA1_Channel3_IRQn |
#define WS2811_PIN GPIO_Pin_8 |
#define WS2811_PIN_SOURCE GPIO_PinSource8 |
#define WS2811_TIMER TIM16 |
#define WS2811_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM16 |