You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compilation for ESP32 on XTENSA architecture #1598
In the current build environment for libcurl, we find the file called:
curl/include/curl/system.h
contains environmental definitions. In my environment, I wish to build on the ESP32 MCU which uses the XTENSA chip set/architecture. GCC on this environment supplies the pre-defined macro called __XTENSA__. This issue requests a change of the source in system.h from this:
Activity
jay commentedon Jun 21, 2017
does it build ok with that change, are the type sizes in that section correct for your platform?
bagder commentedon Jun 24, 2017
fixed in ceff21a
jay commentedon Jun 25, 2017
I'd still like to know if this was actually tested on that platform. That section assumes sizeof long is 4 which may not be right
nkolban commentedon Jun 25, 2017
I had a number of ESP32 users test the suggested change and so far so good. See:
nkolban/esp32-snippets#18
jay commentedon Jun 25, 2017
ok. on your platform is sizeof(long) 4 or 8
nkolban commentedon Jun 25, 2017
On the ESP32 device, sizeof(long) evaluates to 4 bytes.
jay commentedon Jun 26, 2017
ok. thanks for clearing that up