File tree Expand file tree Collapse file tree 3 files changed +20
-9
lines changed Expand file tree Collapse file tree 3 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ He is making great Arduino libraries.
30
30
- [ Ethernet Support] ( #ethernet-support )
31
31
- [ Logo] ( #logo )
32
32
- [ mDNS] ( #mdns )
33
+ - [ Compile Flags] ( #compile-flags )
33
34
34
35
## Changes
35
36
@@ -241,3 +242,11 @@ If not provided, the logo won't appear in the Captive Portal.
241
242
242
243
mDNS takes quite a lot of space in flash (about 25KB).
243
244
You can disable it by setting `-D ESPCONNECT_NO_MDNS`.
245
+
246
+ ### Compile Flags
247
+
248
+ - `-D ESPCONNECT_NO_MDNS`: disable mDNS
249
+ - `-D ESPCONNECT_DEBUG`: enable debug logs on ESP8266
250
+ - `-D ESPCONNECT_NO_CAPTIVE_PORTAL`: disable Captive Portal and ESPAsyncWebServer dependency
251
+ - `-D ESPCONNECT_NO_STD_STRING`: use Arduino `String` instead of `std::string`
252
+ - `-D ESPCONNECT_NO_LOGGING`: disable logging
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ He is making great Arduino libraries.
30
30
- [ Ethernet Support] ( #ethernet-support )
31
31
- [ Logo] ( #logo )
32
32
- [ mDNS] ( #mdns )
33
+ - [ Compile Flags] ( #compile-flags )
33
34
34
35
## Changes
35
36
@@ -241,3 +242,11 @@ If not provided, the logo won't appear in the Captive Portal.
241
242
242
243
mDNS takes quite a lot of space in flash (about 25KB).
243
244
You can disable it by setting `-D ESPCONNECT_NO_MDNS`.
245
+
246
+ ### Compile Flags
247
+
248
+ - `-D ESPCONNECT_NO_MDNS`: disable mDNS
249
+ - `-D ESPCONNECT_DEBUG`: enable debug logs on ESP8266
250
+ - `-D ESPCONNECT_NO_CAPTIVE_PORTAL`: disable Captive Portal and ESPAsyncWebServer dependency
251
+ - `-D ESPCONNECT_NO_STD_STRING`: use Arduino `String` instead of `std::string`
252
+ - `-D ESPCONNECT_NO_LOGGING`: disable logging
Original file line number Diff line number Diff line change @@ -16,18 +16,11 @@ build_flags =
16
16
-Wall -Wextra
17
17
-D CONFIG_ARDUHAL_LOG_COLORS
18
18
-D CORE_DEBUG_LEVEL =ARDUHAL_LOG_LEVEL_DEBUG
19
- ; ------------------------------
20
- ; Logging ON by default
21
- ; -D ESPCONNECT_NO_LOGGING
22
- ; ------------------------------
23
- -D NVS_LOG
24
- ; -H -M
25
- ; -D HTTPCLIENT_NOSECURE
26
- ; -D ESPCONNECT_NO_MDNS
27
- ; -D DEBUG_ESP_CORE
19
+ ; -D ESPCONNECT_DEBUG
28
20
; -D ESPCONNECT_NO_MDNS
29
21
; -D ESPCONNECT_NO_CAPTIVE_PORTAL
30
22
; -D ESPCONNECT_NO_STD_STRING
23
+ ; -D ESPCONNECT_NO_LOGGING
31
24
lib_compat_mode = strict
32
25
lib_ldf_mode = chain
33
26
lib_deps =
You can’t perform that action at this time.
0 commit comments