-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Config.h
138 lines (121 loc) · 3.99 KB
/
Config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#ifndef FIREBASE_CONFIG_H
#define FIREBASE_CONFIG_H
/** 📌 Predefined Build Options
* ⛔ Use following build flag to disable all predefined options.
* -D FIREBASE_DISABLE_ALL_OPTIONS
*/
/**📍 For RTDB compilation
* ⛔ Use following build flag to disable.
* -D DISABLE_DATABASE
*/
#define ENABLE_DATABASE
/**📍 For Firestore compilation
* ⛔ Use following build flag to disable.
* -D DISABLE_FIRESTORE
*/
#define ENABLE_FIRESTORE
/**📍 For Firestore Query feature compilation
* ⛔ Use following build flag to disable.
* -D DISABLE_FIRESTORE_QUERY
*/
#define ENABLE_FIRESTORE_QUERY
/**📍 For Firebase Cloud Messaging compilation
* ⛔ Use following build flag to disable.
* -D DISABLE_MESSAGING
*/
#define ENABLE_MESSAGING
/**📍 For Firebase Storage compilation
* ⛔ Use following build flag to disable.
* -D DISABLE_STORAGE
*/
#define ENABLE_STORAGE
/**📍 For Google Cloud Storage compilation
* ⛔ Use following build flag to disable.
* -D DISABLE_CLOUD_STORAGE
*/
#define ENABLE_CLOUD_STORAGE
/**📍 For Google Cloud Functions compilation
* ⛔ Use following build flag to disable.
* -D DISABLE_FUNCTIONS
*/
#define ENABLE_FUNCTIONS
/**📍 For enabling PSRAM support
* ⛔ Use following build flag to disable.
* -D DISABLE_PSRAM
*/
#define ENABLE_PSRAM
/**📍 For enabling OTA updates support via RTDB, Firebase Storage and Google Cloud Storage buckets
* ⛔ Use following build flag to disable.
* -D DISABLE_OTA
*/
#define ENABLE_OTA
/**📍 For enabling filesystem
* ⛔ Use following build flag to disable.
* -D DISABLE_FS
*/
#define ENABLE_FS
/**📍 For enabling authentication and token
* ⛔ Use following build flag to disable.
* -D DISABLE_SERVICE_AUTH
* -D DISABLE_CUSTOM_AUTH
* -D DISABLE_USER_AUTH
* -D DISABLE_ACCESS_TOKEN
* -D DISABLE_CUSTOM_TOKEN
* -D DISABLE_ID_TOKEN
* -D DISABLE_LEGACY_TOKEN
*/
#define ENABLE_SERVICE_AUTH
#define ENABLE_CUSTOM_AUTH
#define ENABLE_USER_AUTH
#define ENABLE_ACCESS_TOKEN
#define ENABLE_CUSTOM_TOKEN
#define ENABLE_ID_TOKEN
#define ENABLE_LEGACY_TOKEN
#define ENABLE_ETHERNET_NETWORK
#define ENABLE_GSM_NETWORK
/** 🔖 Optional Build Options
*
* 🏷️ For external Ethernet module support.
* - Should define both library name and class object name.
* - FIREBASE_ETHERNET_MODULE_LIB is the Ethernet library name with extension (.h) and
* should be inside "" or <> e.g. "Ethernet.h".
* - FIREBASE_ETHERNET_MODULE_CLASS is the name of static object defined from class e.g. Ethernet.
* - FIREBASE_ETHERNET_MODULE_TIMEOUT is the time out in milliseconds to wait network connection.
*
* #define FIREBASE_ETHERNET_MODULE_LIB "EthernetLib.h"
* #define FIREBASE_ETHERNET_MODULE_CLASS EthernetClass
* #define FIREBASE_ETHERNET_MODULE_TIMEOUT 2000
*
* 🏷️ For native core library ENC28J60 Ethernet module support in ESP8266.
* #define ENABLE_ESP8266_ENC28J60_ETH
*
* 🏷️ For native core library W5500 Ethernet module support in ESP8266.
* #define ENABLE_ESP8266_W5500_ETH
*
* 🏷️ For native core library W5100 Ethernet module support in ESP8266.
* #define ENABLE_ESP8266_W5100_ETH
*
* 🏷️ For disabling on-board WiFI functionality in case external Client usage.
* #define FIREBASE_DISABLE_ONBOARD_WIFI
*
* 🏷️ For disabling native (sdk) Ethernet functionality in case external Client usage.
* #define FIREBASE_DISABLE_NATIVE_ETHERNET
*
* 🏷️ For Async TCP Client usage.
* #define ENABLE_ASYNC_TCP_CLIENT
*
* 🏷️ For maximum async queue limit setting for an async client
* #define FIREBASE_ASYNC_QUEUE_LIMIT 10
*
* 🏷️ For Firebase.printf debug port.
* #define FIREBASE_PRINTF_PORT Serial
*
* * 🏷️ For Firebase.printf buffer size.
* The default printf buffer size is 1024 for ESP8266 and SAMD otherwise 4096.
* #define FIREBASE_PRINTF_BUFFER 2048
*/
#if __has_include("UserConfig.h")
#include "UserConfig.h"
#endif
#include "core/Options.h"
#endif