forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
Description
I'm attempting to build to esp-idf 4.1 using clang from this repo. If this is not currently possible or with this version of the IDF please let me know.
The clang compiler spews the following error:
/home/hello/esp-idf/components/bt/controller/bt.c:756:5: error: invalid register name
XTHAL_SET_INTSET((1<<intr_no));
^
/home/hello/esp-idf/components/xtensa/include/xtensa/core-macros.h:341:25: note: expanded from macro 'XTHAL_SET_INTSET'
__asm__ __volatile__("wsr.intset %0" :: "a"(__interrupt):"memory"); \
^
<inline asm>:1:2: note: instantiated into assembly here
wsr.intset a8