re-enable transponder and ws2811
This commit is contained in:
parent
52def80b4f
commit
26ee39666e
|
@ -145,30 +145,28 @@
|
|||
//#define ADC_INSTANCE ADC3
|
||||
|
||||
|
||||
//#define LED_STRIP
|
||||
//
|
||||
//#define WS2811_PIN PA8
|
||||
//#define WS2811_TIMER TIM1
|
||||
//#define WS2811_DMA_CHANNEL DMA1_Channel2
|
||||
//#define WS2811_IRQ DMA1_Channel2_IRQn
|
||||
//#define WS2811_DMA_TC_FLAG DMA1_FLAG_TC2
|
||||
//#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER
|
||||
#define LED_STRIP
|
||||
#define WS2811_PIN PA8
|
||||
#define WS2811_TIMER TIM1
|
||||
#define WS2811_DMA_CHANNEL DMA1_Channel2
|
||||
#define WS2811_IRQ DMA1_Channel2_IRQn
|
||||
#define WS2811_DMA_TC_FLAG DMA1_FLAG_TC2
|
||||
#define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER
|
||||
|
||||
#define TRANSPONDER
|
||||
#define TRANSPONDER_GPIO GPIOA
|
||||
#define TRANSPONDER_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA
|
||||
#define TRANSPONDER_GPIO_AF GPIO_AF_6
|
||||
#define TRANSPONDER_PIN GPIO_Pin_8
|
||||
#define TRANSPONDER_PIN_SOURCE GPIO_PinSource8
|
||||
#define TRANSPONDER_TIMER TIM1
|
||||
#define TRANSPONDER_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM1
|
||||
#define TRANSPONDER_DMA_CHANNEL DMA1_Channel2
|
||||
#define TRANSPONDER_IRQ DMA1_Channel2_IRQn
|
||||
#define TRANSPONDER_DMA_TC_FLAG DMA1_FLAG_TC2
|
||||
#define TRANSPONDER_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER
|
||||
|
||||
//#define TRANSPONDER
|
||||
//#define TRANSPONDER_GPIO GPIOA
|
||||
//#define TRANSPONDER_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA
|
||||
//#define TRANSPONDER_GPIO_AF GPIO_AF_6
|
||||
//#define TRANSPONDER_PIN GPIO_Pin_8
|
||||
//#define TRANSPONDER_PIN_SOURCE GPIO_PinSource8
|
||||
//#define TRANSPONDER_TIMER TIM1
|
||||
//#define TRANSPONDER_TIMER_APB2_PERIPHERAL RCC_APB2Periph_TIM1
|
||||
//#define TRANSPONDER_DMA_CHANNEL DMA1_Channel2
|
||||
//#define TRANSPONDER_IRQ DMA1_Channel2_IRQn
|
||||
//#define TRANSPONDER_DMA_TC_FLAG DMA1_FLAG_TC2
|
||||
//#define TRANSPONDER_DMA_HANDLER_IDENTIFER DMA1_CH2_HANDLER
|
||||
|
||||
//#define REDUCE_TRANSPONDER_CURRENT_DRAW_WHEN_USB_CABLE_PRESENT
|
||||
#define REDUCE_TRANSPONDER_CURRENT_DRAW_WHEN_USB_CABLE_PRESENT
|
||||
|
||||
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
|
||||
#define DEFAULT_RX_FEATURE FEATURE_RX_PPM
|
||||
|
|
|
@ -9,5 +9,8 @@ TARGET_SRC = \
|
|||
drivers/light_ws2811strip.c \
|
||||
drivers/light_ws2811strip_stm32f30x.c \
|
||||
drivers/serial_usb_vcp.c \
|
||||
drivers/transponder_ir.c \
|
||||
drivers/transponder_ir_stm32f30x.c \
|
||||
io/transponder_ir.c \
|
||||
drivers/max7456.c \
|
||||
io/osd.c
|
||||
|
|
Loading…
Reference in New Issue