makes GPIO_PIN_RST optional for the sx1276
[ExpressLRS.git] / src / include / target / DIY_900_TX_ESP32_SX127x_RFM95.h
blob210defb70186d2783f0d5538d7bae3df467b5f8b
1 // The name of the device in the LUA module
2 #ifndef DEVICE_NAME
3 #define DEVICE_NAME "DIY900 RFM95"
4 #endif
6 // GPIO pin definitions
7 #define GPIO_PIN_NSS 5
8 #define GPIO_PIN_DIO0 26
9 #define GPIO_PIN_DIO1 25
10 #define GPIO_PIN_MOSI 23
11 #define GPIO_PIN_MISO 19
12 #define GPIO_PIN_SCK 18
13 #define GPIO_PIN_RST 14
14 #define GPIO_PIN_RX_ENABLE 13
15 #define GPIO_PIN_TX_ENABLE 12
16 #define GPIO_PIN_RCSIGNAL_RX 2
17 #define GPIO_PIN_RCSIGNAL_TX 2 // so we don't have to solder the extra resistor, we switch rx/tx using gpio mux
18 #define GPIO_PIN_LED 27
20 // Output Power
21 #define MinPower PWR_10mW
22 #define MaxPower PWR_50mW
23 #define POWER_OUTPUT_VALUES {8,12,15}