Skip to content

Commit 601af78

Browse files
authored
Merge pull request #2713 from cesanta/nodetemb
move Mongoose options to mongoose_config
2 parents ec5531d + 93477c8 commit 601af78

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/esp32/device-dashboard/main/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,5 @@ idf_component_register(SRCS "main.c"
33
"net.c"
44
"packed_fs.c"
55
"mongoose.c")
6-
component_compile_options(-DMG_ENABLE_LINES)
7-
component_compile_options(-DMG_ENABLE_PACKED_FS)
86
component_compile_options(-DHTTP_URL="http://0.0.0.0:80")
97
component_compile_options(-DHTTPS_URL="https://0.0.0.0:443")
10-
component_compile_options(-DMG_TLS=MG_TLS_NONE) # change to 'MG_TLS_MBED' to enable TLS
11-
component_compile_options(-DMG_OTA=MG_OTA_CUSTOM)
12-
component_compile_options(-DMG_DEVICE=MG_DEVICE_CUSTOM)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
#define MG_ARCH MG_ARCH_ESP32
2+
3+
#define MG_ENABLE_PACKED_FS 1
4+
#define MG_TLS MG_TLS_NONE // change to 'MG_TLS_MBED' to enable TLS
5+
#define MG_OTA MG_OTA_CUSTOM
6+
#define MG_DEVICE MG_DEVICE_CUSTOM

examples/esp32/uart-bridge/main/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,4 @@ idf_component_register(SRCS "main.c"
55
"net.c"
66
"packed_fs.c"
77
"mongoose.c")
8-
component_compile_options(-DMG_ENABLE_LINES=1)
9-
component_compile_options(-DMG_ENABLE_PACKED_FS=1)
108
component_compile_options(-DUART_API_IMPLEMENTED=1)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
#define MG_ARCH MG_ARCH_ESP32
2+
3+
#define MG_ENABLE_PACKED_FS 1

0 commit comments

Comments
 (0)