Skip to content

clang fails to compile esp-idf (LLVM-221) #35

@AshUK

Description

@AshUK

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions