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

#warning esp_intr.h is deprecated

Open atestani opened this issue 1 year ago • 2 comments

I am using the library in an ESP32 application in PlatformIO using the Arduino framework with MCP2515 hardware. I am getting the warning message below. It is only a warning, so no big deal, but I thought you would like to know.

In file included from .pio/libdeps/esp32dev/CAN/src/ESP32SJA1000.cpp:6:
C:/Users/Al Testani/.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

atestani avatar Jun 14 '24 18:06 atestani

replaced with esp_intr_alloc.h.

zetazetterberg avatar Jul 04 '24 03:07 zetazetterberg

Hello, Please check this fix: https://github.com/sandeepmistry/arduino-CAN/pull/155

ZillKhan avatar Mar 21 '25 06:03 ZillKhan