This example demonstrates the capability of wildcard URI matching allowing for a full fledged file server to be created using esp_http_server.
6 lines
165 B
CMake
6 lines
165 B
CMake
set(COMPONENT_SRCS "main.c" "file_server.c")
|
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
|
|
|
set(COMPONENT_EMBED_FILES "favicon.ico" "upload_script.html")
|
|
|
|
register_component()
|