IDF 5.1.2 fails to build with a bunch of invalid conversion from 'int' to 'spi_event_t' [-fpermissive] error (IDFGH-11718) #12825
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
5.1.2
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
What is the expected behavior?
I expected updating my project to IDF 5.1.2 will not a cause major break.
What is the actual behavior?
When trying to build my C++ project i get a bunch of
IDF 5.1.2 fails to build with a bunch of invalid conversion from 'int' to 'spi_event_t' [-fpermissive] error
messages while building the project.
After some trial&error i find after commenting out both #include "esp_sleep.h" and esp_sleep_enable_gpio_wakeup() in my code, the project builds fine again.
So it seems esp_sleep.h of IDF 5.1.2 has changed in a breaking way
Steps to reproduce.
Build or installation Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: