mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-28 09:14:28 +03:00
spinlock.h used #else to include riscv/rv_utils.h for all non-Xtensa targets. On Linux host (neither __XTENSA__ nor __riscv defined), this pulls in a non-existent header. Change to #elif __riscv, matching esp_cpu.h's existing pattern.