A library to easily import CURL into your PlatformIO projects.
- Open platformio.ini, a project configuration file located in the root of PlatformIO project.
- Add the following line to the
lib_deps
option of[env:YourESP32BuildTarget]
:anto/libcurl-esp32
. - Add
-DBUILDING_LIBCURL
and-DHAVE_CONFIG_H
in thebuild_flags
of the project. - Build the project, PlatformIO will automatically install dependencies.
To update CURL, raise an issue or fork the repository and change the commit hash to the one you want in the updateProject.sh
file.
If for some reason CURL stopped compiling, raise an issue.
This project has been made for ESP32 chips (via the custom curl_config.h
file) and might not compile properly for other systems.