makes GPIO_PIN_RST optional for the sx1276
[ExpressLRS.git] / src / include / target / DIY_2400_RX_ESP8285_SX1280.h
blob8fce236c0e65a9545017efefbd7504a2a5183858
1 #ifndef DEVICE_NAME
2 #define DEVICE_NAME "ELRS 2400RX"
3 #endif
5 // GPIO pin definitions
6 #define GPIO_PIN_NSS 15
7 #define GPIO_PIN_BUSY 5
8 #define GPIO_PIN_DIO1 4
9 #define GPIO_PIN_MOSI 13
10 #define GPIO_PIN_MISO 12
11 #define GPIO_PIN_SCK 14
12 #define GPIO_PIN_RST 2
13 #define GPIO_PIN_LED_RED 16 // LED_RED on TX, copied to LED on RX
14 #if defined(USE_DIVERSITY)
15 #define GPIO_PIN_ANTENNA_SELECT 0 // Low = Ant1, High = Ant2, pulled high by external resistor
16 #endif
18 // Output Power - use default SX1280
20 #define Regulatory_Domain_ISM_2400 1