4 #define QUOTE(arg) #arg
5 #define STR(macro) QUOTE(macro)
6 const unsigned char target_name
[] = "\xBE\xEF\xCA\xFE" STR(TARGET_NAME
);
7 const uint8_t target_name_size
= sizeof(target_name
);
8 const char device_name
[] = DEVICE_NAME
;
9 const uint8_t device_name_size
= sizeof(device_name
);
10 const char commit
[] {LATEST_COMMIT
, 0};
11 const char version
[] = {LATEST_VERSION
, 0};
13 #if defined(TARGET_TX)
14 const char *wifi_hostname
= "elrs_tx";
15 const char *wifi_ap_ssid
= "ExpressLRS TX";
17 const char *wifi_hostname
= "elrs_rx";
18 const char *wifi_ap_ssid
= "ExpressLRS RX";
20 const char *wifi_ap_password
= "expresslrs";
21 const char *wifi_ap_address
= "10.0.0.1";
23 const char *home_wifi_ssid
= ""
28 const char *home_wifi_password
= ""
29 #ifdef HOME_WIFI_PASSWORD
30 STR(HOME_WIFI_PASSWORD
)
34 const char PROGMEM compile_options
[] = {
35 #ifdef MY_BINDING_PHRASE
36 "-DMY_BINDING_PHRASE=\"" STR(MY_BINDING_PHRASE
) "\" "
40 #ifdef UNLOCK_HIGHER_POWER
41 "-DUNLOCK_HIGHER_POWER "
46 #ifdef FEATURE_OPENTX_SYNC
47 "-DFEATURE_OPENTX_SYNC "
49 #ifdef FEATURE_OPENTX_SYNC_AUTOTUNE
50 "-DFEATURE_OPENTX_SYNC_AUTOTUNE "
55 #ifdef DISABLE_ALL_BEEPS
56 "-DDISABLE_ALL_BEEPS "
61 #ifdef DISABLE_STARTUP_BEEP
62 "-DDISABLE_STARTUP_BEEP "
64 #ifdef MY_STARTUP_MELODY
65 "-DMY_STARTUP_MELODY=\"" STR(MY_STARTUP_MELODY
) "\" "
70 #ifdef TLM_REPORT_INTERVAL_MS
71 "-DTLM_REPORT_INTERVAL_MS=" STR(TLM_REPORT_INTERVAL_MS
) " "
73 #ifdef USE_TX_BACKPACK
76 #ifdef USE_BLE_JOYSTICK
82 #ifdef LOCK_ON_FIRST_CONNECTION
83 "-DLOCK_ON_FIRST_CONNECTION "
85 #ifdef USE_R9MM_R9MINI_SBUS
86 "-DUSE_R9MM_R9MINI_SBUS "
88 #ifdef AUTO_WIFI_ON_INTERVAL
89 "-DAUTO_WIFI_ON_INTERVAL=" STR(AUTO_WIFI_ON_INTERVAL
) " "
95 "-DRCVR_UART_BAUD=" STR(RCVR_UART_BAUD
) " "
100 #ifdef USE_R9MM_R9MINI_SBUS
101 "-DUSE_R9MM_R9MINI_SBUS "