Skip to content

Commit 71d3323

Browse files
committed
Rename SAFEBOOT_LOGGING to MYCILA_SAFEBOOT_LOGGING
1 parent 56969ff commit 71d3323

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ if (partition) {
245245

246246
Squezing everything into the SafeBoot partition (655360 bytes only) is a tight fit especially on ethernet enabled boards.
247247

248-
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `SAFEBOOT_LOGGING` in `platformio.ini`.
248+
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `MYCILA_SAFEBOOT_LOGGING` in `platformio.ini`.
249249

250250
```ini
251-
; -D SAFEBOOT_LOGGING
251+
; -D MYCILA_SAFEBOOT_LOGGING
252252
```
253253

254254
Disabling mDNS saves about 24 kbytes. Enable both [...]\_NO_DNS options in `platformio.ini` to reduce the build size:
@@ -502,10 +502,10 @@ if (partition) {
502502

503503
Squezing everything into the SafeBoot partition (655360 bytes only) is a tight fit especially on ethernet enabled boards.
504504

505-
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `SAFEBOOT_LOGGING` in `platformio.ini`.
505+
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `MYCILA_SAFEBOOT_LOGGING` in `platformio.ini`.
506506

507507
```ini
508-
; -D SAFEBOOT_LOGGING
508+
; -D MYCILA_SAFEBOOT_LOGGING
509509
```
510510

511511
Disabling mDNS saves about 24 kbytes. Enable both [...]\_NO_DNS options in `platformio.ini` to reduce the build size:

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ if (partition) {
245245

246246
Squezing everything into the SafeBoot partition (655360 bytes only) is a tight fit especially on ethernet enabled boards.
247247

248-
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `SAFEBOOT_LOGGING` in `platformio.ini`.
248+
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `MYCILA_SAFEBOOT_LOGGING` in `platformio.ini`.
249249

250250
```ini
251-
; -D SAFEBOOT_LOGGING
251+
; -D MYCILA_SAFEBOOT_LOGGING
252252
```
253253

254254
Disabling mDNS saves about 24 kbytes. Enable both [...]\_NO_DNS options in `platformio.ini` to reduce the build size:
@@ -502,10 +502,10 @@ if (partition) {
502502

503503
Squezing everything into the SafeBoot partition (655360 bytes only) is a tight fit especially on ethernet enabled boards.
504504

505-
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `SAFEBOOT_LOGGING` in `platformio.ini`.
505+
Disabling the logging capabilites saves about 12 kbytes in the final build. Just comment out `MYCILA_SAFEBOOT_LOGGING` in `platformio.ini`.
506506

507507
```ini
508-
; -D SAFEBOOT_LOGGING
508+
; -D MYCILA_SAFEBOOT_LOGGING
509509
```
510510

511511
Disabling mDNS saves about 24 kbytes. Enable both [...]\_NO_DNS options in `platformio.ini` to reduce the build size:

platformio.ini

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ build_flags =
4545
; -D MYCILA_SAFEBOOT_NO_MDNS
4646
; ------------------------------
4747
; Logging OFF by default
48-
; -D SAFEBOOT_LOGGING
48+
; -D MYCILA_SAFEBOOT_LOGGING
4949
; ------------------------------
5050
; C++
5151
-Wall -Wextra
@@ -79,7 +79,7 @@ board = denky_d4
7979
board = esp32-c3-devkitc-02
8080
build_flags =
8181
${env.build_flags}
82-
-D SAFEBOOT_LOGGING
82+
-D MYCILA_SAFEBOOT_LOGGING
8383

8484
[env:esp32-c6-devkitc-1]
8585
board = esp32-c6-devkitc-1
@@ -117,37 +117,37 @@ build_flags =
117117
board = esp32-s2-saola-1
118118
build_flags =
119119
${env.build_flags}
120-
-D SAFEBOOT_LOGGING
120+
-D MYCILA_SAFEBOOT_LOGGING
121121

122122
[env:esp32-s3-devkitc-1]
123123
board = esp32-s3-devkitc-1
124124
build_flags =
125125
${env.build_flags}
126-
-D SAFEBOOT_LOGGING
126+
-D MYCILA_SAFEBOOT_LOGGING
127127

128128
[env:esp32-solo1]
129129
board = esp32-solo1
130130
build_flags =
131131
${env.build_flags}
132-
-D SAFEBOOT_LOGGING
132+
-D MYCILA_SAFEBOOT_LOGGING
133133

134134
[env:esp32dev]
135135
board = esp32dev
136136
build_flags =
137137
${env.build_flags}
138-
-D SAFEBOOT_LOGGING
138+
-D MYCILA_SAFEBOOT_LOGGING
139139

140140
[env:esp32s3box]
141141
board = esp32s3box
142142
build_flags =
143143
${env.build_flags}
144-
-D SAFEBOOT_LOGGING
144+
-D MYCILA_SAFEBOOT_LOGGING
145145

146146
[env:lilygo-t-eth-lite-s3]
147147
board = esp32s3box
148148
build_flags =
149149
${env.build_flags}
150-
-D SAFEBOOT_LOGGING
150+
-D MYCILA_SAFEBOOT_LOGGING
151151
-D ESPCONNECT_ETH_SUPPORT
152152
-D ETH_PHY_ADDR=1
153153
-D ETH_PHY_CS=9
@@ -162,7 +162,7 @@ build_flags =
162162
board = lolin_s2_mini
163163
build_flags =
164164
${env.build_flags}
165-
-D SAFEBOOT_LOGGING
165+
-D MYCILA_SAFEBOOT_LOGGING
166166

167167
[env:tinypico]
168168
board = tinypico
@@ -171,7 +171,7 @@ board = tinypico
171171
board = wemos_d1_uno32
172172
build_flags =
173173
${env.build_flags}
174-
-D SAFEBOOT_LOGGING
174+
-D MYCILA_SAFEBOOT_LOGGING
175175

176176
[env:wipy3]
177177
board = wipy3

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <ESPmDNS.h>
1717
#endif
1818

19-
#ifdef SAFEBOOT_LOGGING
19+
#ifdef MYCILA_SAFEBOOT_LOGGING
2020
#define LOG(format, ...) Serial.printf(format, ##__VA_ARGS__)
2121
#else
2222
#define LOG(format, ...)
@@ -191,7 +191,7 @@ static void start_arduino_ota() {
191191
}
192192

193193
void setup() {
194-
#ifdef SAFEBOOT_LOGGING
194+
#ifdef MYCILA_SAFEBOOT_LOGGING
195195
Serial.begin(115200);
196196
#if ARDUINO_USB_CDC_ON_BOOT
197197
Serial.setTxTimeoutMs(0);

0 commit comments

Comments
 (0)