arduino-CAN icon indicating copy to clipboard operation
arduino-CAN copied to clipboard

ESP32 esp_intr.h header file deprecation warning

Open pharapeti opened this issue 2 years ago • 1 comments

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

pharapeti avatar Jan 23 '23 10:01 pharapeti

Do you know what the solution is for this? Thanks

Maximize0987 avatar Jan 19 '24 17:01 Maximize0987