Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 esp_intr.h header file deprecation warning #113

Open
pharapeti opened this issue Jan 23, 2023 · 1 comment
Open

ESP32 esp_intr.h header file deprecation warning #113

pharapeti opened this issue Jan 23, 2023 · 1 comment

Comments

@pharapeti
Copy link

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

@Maximize0987
Copy link

Do you know what the solution is for this? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants