Add missing wifi targets for some DIY modules (#1210)
[ExpressLRS.git] / src / include / target / DIY_2400_TX_ESP32_SX1280_E28.h
blobd8f8d67325ef234cf0cb616624782724308ecb9e
1 #ifndef DEVICE_NAME
2 #define DEVICE_NAME "DIY2400 E28"
3 #endif
5 // Any device features
6 #define USE_OLED_SPI
7 #define USE_SX1280_DCDC
9 // GPIO pin definitions
10 #define GPIO_PIN_NSS 5
11 #define GPIO_PIN_BUSY 21
12 #define GPIO_PIN_DIO1 4
13 #define GPIO_PIN_MOSI 23
14 #define GPIO_PIN_MISO 19
15 #define GPIO_PIN_SCK 18
16 #define GPIO_PIN_RST 14
17 #define GPIO_PIN_RX_ENABLE 27
18 #define GPIO_PIN_TX_ENABLE 26
19 #define GPIO_PIN_OLED_CS 2
20 #define GPIO_PIN_OLED_RST 16
21 #define GPIO_PIN_OLED_DC 22
22 #define GPIO_PIN_OLED_MOSI 32
23 #define GPIO_PIN_OLED_SCK 33
24 #define GPIO_PIN_RCSIGNAL_RX 13
25 #define GPIO_PIN_RCSIGNAL_TX 13
26 #define GPIO_PIN_LED_WS2812 15
27 #define GPIO_PIN_FAN_EN 17
29 // Output Power
30 #define MinPower PWR_10mW
31 #define MaxPower PWR_250mW
32 #define POWER_OUTPUT_VALUES {-15,-11,-8,-5,-1}
34 #define Regulatory_Domain_ISM_2400 1