Error newlibc ESP32 #45269
Unanswered
oscarbaselga
asked this question in
Q&A
Error newlibc ESP32
#45269
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am trying to build a Zephyr project for ESP32 which uses libc functions. First option has been set
CONFIG_NEWLIB_LIBC=y
, however, the compilation fails. Maybe newlib libc provided by the Zephyr SDK is not supported in ESP32. I saw that other option is to build the project linking an external provided C library throughCONFIG_EXTERNAL_LIBC=y
. I thought to provide the ESP-IDF newlib libc implementation, but the compilation still fails (I do not know if I am doing it right, I have only added this last flag).My board is the ESP32 DevKitC, I have the Zephyr SDK v0.13.1, Zephyr v2.7.0 and ESP-IDF v4.3.0
My project is based on hello_world sample. I have only modified the
prj.conf
with previous configuration flags andmain.c
with one call to themalloc()
function. This same project works forfrdm_k64f
board, so the problem aims to be caused by ESP32.Thanks ;)
Beta Was this translation helpful? Give feedback.
All reactions