UPDATE
Included libGSM to test libCurl with GSM modems.
For more info on using GSM modules see viewtopic.php?f=17&t=1496
Full example of using libcurl with ESP32
-
- Posts: 1
- Joined: Mon Mar 01, 2021 10:59 am
Re: Full example of using libcurl with ESP32
I try compile the code at ESP_IDF v4.2 framework, but the command 'make' didn't work because this framework use the scripts idf.py to compile. is there update for this example?
Best regards
Best regards
Re: Full example of using libcurl with ESP32
Hi,mcamarotto wrote: ↑Mon Mar 01, 2021 11:21 amI try compile the code at ESP_IDF v4.2 framework, but the command 'make' didn't work because this framework use the scripts idf.py to compile. is there update for this example?
Best regards
It has been a while so I don't know whether you have figured it out, I just post here for future reference.
You may just create a CMakeLists.txt under the top level folder along with lib and include folders, with following content:
Code: Select all
set (srcs "lib/amigaos.c"
... other.c files in lib folder
"lib/x509asn1.c")
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "include" "lib"
REQUIRES mbedtls libssh2 zlib)
add_definitions(-DHAVE_CONFIG_H -DBUILDING_LIBCURL)
Hope this helps.
Who is online
Users browsing this forum: No registered users and 50 guests