Fix STM32 flashing options (#2997)
[ExpressLRS.git] / src / include / target / DIY_2400_RX_STM32_CCG_Nano_v0_5.h
blob5e0d8a5703969ef6c2aa67ad6bebeee29196316a
1 #ifndef DEVICE_NAME
2 #define DEVICE_NAME "ELRS 2400RX"
3 #endif
5 // GPIO pin definitions
6 #define GPIO_PIN_NSS PA4
7 #define GPIO_PIN_MOSI PA7
8 #define GPIO_PIN_MISO PA6
9 #define GPIO_PIN_SCK PA5
11 #define GPIO_PIN_DIO1 PA10
12 #define GPIO_PIN_RST PB4
13 #define GPIO_PIN_BUSY PA11
15 #define GPIO_PIN_RCSIGNAL_RX PB7 // USART1, AFAIO
16 #define GPIO_PIN_RCSIGNAL_TX PB6 // USART1, AFAIO
18 #define GPIO_PIN_LED_RED PB5
20 // Output Power - use default SX1280
22 #define POWER_OUTPUT_FIXED 13 //MAX power for 2400 RXes that doesn't have PA is 12.5dbm