arduino-CAN
arduino-CAN copied to clipboard
ESP32 esp_intr.h header file deprecation warning
Background
When compiling for board esp32doit-devkit-v1, the following deprecation warning is generated.
In file included from .pio/libdeps/esp32doit-devkit-v1/CAN/src/ESP32SJA1000.cpp:6:
/Users/xxx/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hw_support/include/esp_intr.h:8:2: warning: #warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead [-Wcpp]
#warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead
Potential solution Include esp_intr_alloc.h instead of esp_intr.h
Do you know what the solution is for this? Thanks