We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd1a730 commit 2c34693Copy full SHA for 2c34693
ports/espressif/Makefile
@@ -181,7 +181,10 @@ ifneq ($(IDF_TARGET),esp32c6)
181
endif
182
183
ifeq ($(IDF_TARGET_ARCH),xtensa)
184
-CFLAGS += -mlongcalls
+# Remove the last two flags once TinyUSB is updated with the `#include <xtensa_api.h>` instead of
185
+# `#include "xtensa/xtensa_api.h"`.
186
+
187
+CFLAGS += -mlongcalls -isystem esp-idf/components/xtensa/deprecated_include/ -Wno-error=cpp
188
else ifeq ($(IDF_TARGET_ARCH),riscv)
189
CFLAGS += -march=rv32imac_zicsr_zifencei
190
0 commit comments