2020-12-14 20:58:27 +08:00
|
|
|
idf_component_register(SRCS "main.c"
|
|
|
|
"wifi.c"
|
2022-06-08 20:54:20 +08:00
|
|
|
"net.c"
|
|
|
|
"packed_fs.c"
|
2021-11-11 22:21:52 +08:00
|
|
|
"mongoose.c")
|
2021-07-29 21:21:20 +08:00
|
|
|
component_compile_options(-DMG_ENABLE_LINES)
|
2022-06-08 20:54:20 +08:00
|
|
|
component_compile_options(-DMG_ENABLE_PACKED_FS)
|
2023-05-27 01:43:36 +08:00
|
|
|
component_compile_options(-DHTTP_URL="http://0.0.0.0:80")
|
|
|
|
component_compile_options(-DHTTPS_URL="https://0.0.0.0:443")
|
2023-07-26 05:41:41 +08:00
|
|
|
component_compile_options(-DMG_TLS=MG_TLS_NONE) # change to 'MG_TLS_MBED' to enable TLS
|