VedantParanjape / esp-epaper-display

ESP-IDF component for waveshare epaper displays
Other
23 stars 14 forks source link

Add support for ESP-IDF >= v4.1 #5

Closed IsaacNez closed 1 year ago

IsaacNez commented 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.

VedantParanjape commented 1 year ago

Thanks @IsaacNez for the patch ! LGTM !