This is a Espressif ESP-IDF CMake Build System component wrapper for Libwebsocket library.
If you are not using ESP-IDF and its CMake Build System, please ignore this wrapper and try using Libwebsocket directly.
https://github.com/huming2207/lws-esp32-test
- Enter the 'esp-idf' directory
- Run
git submodule add https://github.com/FredrikFornstad/lws-esp32.git components/lws-esp32
- Run
git submodule update --init --recursive
- Go to 'your_project'/main directory and open the
CMakeList.txt
, addREQUIRES lws-esp32
intoidf_component_register()
function - Reload the project (if you are using IDE or editor plugin)
- Better documentation & demo project?
- Make a bot for dynamically update the Libwebsocket submodule?