Add missing wifi targets for some DIY modules (#1210)
[ExpressLRS.git] / src / include / target / NamimnoRC_FLASH_2400_OLED_TX.h
blob63da6b336a9b42ae11ca18ecbf5b5d10391957ce
1 #ifndef DEVICE_NAME
2 #define DEVICE_NAME "NM Flash OLED"
3 #endif
5 // Features
6 #define USE_TX_BACKPACK
7 #define USE_OLED_SPI
9 // GPIO pin definitions
10 #define GPIO_PIN_RST 21
11 #define GPIO_PIN_BUSY 22
12 #define GPIO_PIN_DIO1 17
13 #define GPIO_PIN_DIO2 16
14 #define GPIO_PIN_NSS 5
15 #define GPIO_PIN_MOSI 23
16 #define GPIO_PIN_MISO 19
17 #define GPIO_PIN_SCK 18
18 // SKY65383-11 front end control
19 #define GPIO_PIN_RX_ENABLE 32 // CRX
20 #define GPIO_PIN_TX_ENABLE 33 // CTX
21 #define GPIO_PIN_PA_ENABLE 25 // CSD
23 /* OLED definition */
24 #define GPIO_PIN_OLED_CS 12
25 #define GPIO_PIN_OLED_RST 27
26 #define GPIO_PIN_OLED_DC 26
27 #define GPIO_PIN_OLED_MOSI 15
28 #define GPIO_PIN_OLED_SCK 14
30 /* Joystick definition */
31 #define GPIO_PIN_JOYSTICK 35
33 /* S.Port input signal */
34 #define GPIO_PIN_RCSIGNAL_RX 13
35 #define GPIO_PIN_RCSIGNAL_TX 13
36 #define GPIO_PIN_FAN_EN 2
38 /* Backpack logger connection */
39 #define GPIO_PIN_DEBUG_RX 3
40 #define GPIO_PIN_DEBUG_TX 1
42 /* WS2812 led */
43 #define GPIO_PIN_LED_WS2812 4
45 // Output Power
46 #define MinPower PWR_25mW
47 #define MaxPower PWR_1000mW
48 #define POWER_OUTPUT_VALUES {-18,-13,-10,-5,-2,3}
50 #define Regulatory_Domain_ISM_2400 1