Closed IsaacNez closed 1 year ago
Between ESP-IDF v3 and v4, there were breaking changes for the SPI macros. Thus, here they are added for automatic support.
I also modified the CMake to detect for older versions that do not have the ESP_IDF_VERSION_MAJOR macro to avoid errors.
ESP_IDF_VERSION_MAJOR
Thanks @IsaacNez for the patch ! LGTM !
Between ESP-IDF v3 and v4, there were breaking changes for the SPI macros. Thus, here they are added for automatic support.
I also modified the CMake to detect for older versions that do not have the
ESP_IDF_VERSION_MAJOR
macro to avoid errors.