mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-24 02:59:01 +08:00
move Mongoose options to mongoose_config
This commit is contained in:
parent
ec5531dbf4
commit
93477c8db4
@ -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