Add missing wifi targets for some DIY modules (#1210)
[ExpressLRS.git] / src / include / target / DIY_2400_RX_PWMP.h
bloba495c85b9395b186c9057d34fa5789f30a3edb11
1 #ifndef DEVICE_NAME
2 #define DEVICE_NAME "DIY2400 PWMP"
3 #endif
5 #define CRSF_RCVR_NO_SERIAL
7 // GPIO pin definitions
8 // same as TARGET_RX_ESP8266_SX1280 except with no serial/button and PWM outputs
9 #define GPIO_PIN_NSS 15
10 #define GPIO_PIN_BUSY 5
11 #define GPIO_PIN_DIO1 4
12 #define GPIO_PIN_MOSI 13
13 #define GPIO_PIN_MISO 12
14 #define GPIO_PIN_SCK 14
15 #define GPIO_PIN_RST 2
16 //#define GPIO_PIN_RCSIGNAL_RX -1 // does not use UART
17 //#define GPIO_PIN_RCSIGNAL_TX -1
18 #define GPIO_PIN_LED_RED 16 // LED_RED on RX
19 #if defined(DEBUG_LOG)
20 #define GPIO_PIN_PWM_OUTPUTS {0, 9, 10}
21 #else
22 #define GPIO_PIN_PWM_OUTPUTS {0, 1, 3, 9, 10}
23 #endif
25 #define Regulatory_Domain_ISM_2400 1