NinjaFlight
|
Go to the source code of this file.
#define ACC |
#define ACC_ADXL345_ALIGN CW270_DEG |
#define ACC_BMA280_ALIGN CW0_DEG |
#define ACC_MMA8452_ALIGN CW90_DEG |
#define ACC_MPU6050_ALIGN CW0_DEG |
#define ACC_MPU6500_ALIGN CW0_DEG |
#define BARO |
#define BARO_APB2_PERIPHERALS RCC_APB2Periph_GPIOC |
#define BARO_EOC_GPIO GPIOC |
#define BARO_EOC_PIN Pin_14 |
#define BARO_XCLR_GPIO GPIOC |
#define BARO_XCLR_PIN Pin_13 |
#define BEEP_GPIO GPIOA |
#define BEEP_PERIPHERAL RCC_APB2Periph_GPIOA |
#define BEEP_PIN Pin_12 |
#define BIND_PIN Pin_3 |
#define BIND_PORT GPIOA |
#define BOARD_HAS_VOLTAGE_DIVIDER |
#define CURRENT_METER_ADC_CHANNEL ADC_Channel_9 |
#define CURRENT_METER_ADC_GPIO GPIOB |
#define CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_1 |
#define EXTERNAL1_ADC_CHANNEL ADC_Channel_5 |
#define EXTERNAL1_ADC_GPIO GPIOA |
#define EXTERNAL1_ADC_GPIO_PIN GPIO_Pin_5 |
#define EXTI_CALLBACK_HANDLER_COUNT 3 |
#define GYRO |
#define GYRO_MPU3050_ALIGN CW0_DEG |
#define GYRO_MPU6050_ALIGN CW0_DEG |
#define GYRO_MPU6500_ALIGN CW0_DEG |
#define I2C_DEVICE (I2CDEV_2) |
#define INVERTER |
#define INVERTER_GPIO GPIOB |
#define INVERTER_PERIPHERAL RCC_APB2Periph_GPIOB |
#define INVERTER_PIN Pin_2 |
#define INVERTER_USART USART2 |
#define LED0 |
#define LED0_GPIO GPIOB |
#define LED0_PERIPHERAL RCC_APB2Periph_GPIOB |
#define LED0_PIN Pin_3 |
#define LED1 |
#define LED1_GPIO GPIOB |
#define LED1_PERIPHERAL RCC_APB2Periph_GPIOB |
#define LED1_PIN Pin_4 |
#define LED_STRIP |
#define LED_STRIP_TIMER TIM3 |
#define M25P16_CS_GPIO NAZE_SPI_CS_GPIO |
#define M25P16_CS_PIN NAZE_SPI_CS_PIN |
#define M25P16_SPI_INSTANCE NAZE_SPI_INSTANCE |
#define MAG_HMC5883_ALIGN CW180_DEG |
#define MPU6500_CS_GPIO NAZE_SPI_CS_GPIO |
#define MPU6500_CS_GPIO_CLK_PERIPHERAL NAZE_CS_GPIO_CLK_PERIPHERAL |
#define MPU6500_CS_PIN NAZE_SPI_CS_PIN |
#define MPU6500_SPI_INSTANCE NAZE_SPI_INSTANCE |
#define NAZE_CS_GPIO_CLK_PERIPHERAL RCC_APB2Periph_GPIOB |
#define NAZE_SPI_CS_GPIO GPIOB |
#define NAZE_SPI_CS_PIN GPIO_Pin_12 |
#define NAZE_SPI_INSTANCE SPI2 |
#define RSSI_ADC_CHANNEL ADC_Channel_1 |
#define RSSI_ADC_GPIO GPIOA |
#define RSSI_ADC_GPIO_PIN GPIO_Pin_1 |
#define SERIAL_PORT_COUNT 5 |
#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 TARGET_BOARD_IDENTIFIER "AFNA" |
#define UART3_APB1_PERIPHERALS RCC_APB1Periph_USART3 |
#define UART3_APB2_PERIPHERALS RCC_APB2Periph_GPIOB |
#define UART3_GPIO GPIOB |
#define UART3_RX_PIN Pin_11 |
#define UART3_TX_PIN Pin_10 |
#define USE_ACC_ADXL345 |
#define USE_ACC_BMA280 |
#define USE_ACC_MMA8452 |
#define USE_ACC_MPU6050 |
#define USE_ACC_MPU6500 |
#define USE_ACC_SPI_MPU6500 |
#define USE_ADC |
#define USE_BARO_BMP085 |
#define USE_BARO_BMP280 |
#define USE_BARO_MS5611 |
#define USE_BEEPER 1 |
#define USE_CLI |
#define USE_FLASH_M25P16 |
#define USE_FLASHFS |
#define USE_GYRO_MPU3050 |
#define USE_GYRO_MPU6050 |
#define USE_GYRO_MPU6500 |
#define USE_GYRO_SPI_MPU6500 |
#define USE_HARDWARE_REVISION_DETECTION |
#define USE_I2C |
#define USE_MAG 0 |
#define USE_MAG_DATA_READY_SIGNAL |
#define USE_MAG_HMC5883 |
#define USE_MPU_DATA_READY_SIGNAL |
#define USE_QUAD_MIXER_ONLY 0 |
#define USE_SERIAL_4WAY_BLHELI_INTERFACE |
#define USE_SERVOS |
#define USE_SOFTSERIAL1 |
#define USE_SOFTSERIAL2 |
#define USE_SPI |
#define USE_SPI_DEVICE_2 |
#define USE_TILT 1 |
#define USE_UART1 |
#define USE_UART2 |
#define USE_UART3 |
#define VBAT_ADC_CHANNEL ADC_Channel_4 |
#define VBAT_ADC_GPIO GPIOA |
#define VBAT_ADC_GPIO_PIN GPIO_Pin_4 |
#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH6_HANDLER |
#define WS2811_DMA_TC_FLAG DMA1_FLAG_TC6 |