From 3e4358844d5b1cac0d906ebb5765419b04dfdf95 Mon Sep 17 00:00:00 2001 From: Mihaela-Madalina Nuta Date: Sun, 3 Mar 2024 13:28:49 +0200 Subject: [PATCH] ESP32: Add platform support --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index a6a6953f8e..08878ea324 100644 --- a/configure.ac +++ b/configure.ac @@ -1120,6 +1120,11 @@ case $host in LIBS="${LIBS} -lws2_32" ;; + *xtensa-esp32-elf*) + AC_MSG_RESULT([XtensaEsp32Elf]) + ADDITIONAL_CFLAGS="-D_GNU_SOURCE -DWITH_POSIX" + ;; + *) AC_MSG_WARN([==> Currently unsupported operating system '${host}' !]) AC_MSG_ERROR([==> If you can provide patches to support your operating system please write to 'libcoap-developers@lists.sourceforge.net'.])