mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 12:49:01 +08:00
Merge pull request #2713 from cesanta/nodetemb
move Mongoose options to mongoose_config
This commit is contained in:
commit
601af780c9
@ -3,10 +3,5 @@ idf_component_register(SRCS "main.c"
|
||||
"net.c"
|
||||
"packed_fs.c"
|
||||
"mongoose.c")
|
||||
component_compile_options(-DMG_ENABLE_LINES)
|
||||
component_compile_options(-DMG_ENABLE_PACKED_FS)
|
||||
component_compile_options(-DHTTP_URL="http://0.0.0.0:80")
|
||||
component_compile_options(-DHTTPS_URL="https://0.0.0.0:443")
|
||||
component_compile_options(-DMG_TLS=MG_TLS_NONE) # change to 'MG_TLS_MBED' to enable TLS
|
||||
component_compile_options(-DMG_OTA=MG_OTA_CUSTOM)
|
||||
component_compile_options(-DMG_DEVICE=MG_DEVICE_CUSTOM)
|
||||
|
@ -1 +1,6 @@
|
||||
#define MG_ARCH MG_ARCH_ESP32
|
||||
|
||||
#define MG_ENABLE_PACKED_FS 1
|
||||
#define MG_TLS MG_TLS_NONE // change to 'MG_TLS_MBED' to enable TLS
|
||||
#define MG_OTA MG_OTA_CUSTOM
|
||||
#define MG_DEVICE MG_DEVICE_CUSTOM
|
||||
|
@ -5,6 +5,4 @@ idf_component_register(SRCS "main.c"
|
||||
"net.c"
|
||||
"packed_fs.c"
|
||||
"mongoose.c")
|
||||
component_compile_options(-DMG_ENABLE_LINES=1)
|
||||
component_compile_options(-DMG_ENABLE_PACKED_FS=1)
|
||||
component_compile_options(-DUART_API_IMPLEMENTED=1)
|
||||
|
@ -1 +1,3 @@
|
||||
#define MG_ARCH MG_ARCH_ESP32
|
||||
|
||||
#define MG_ENABLE_PACKED_FS 1
|
||||
|
Loading…
Reference in New Issue
Block a user