Skip to content

Commit

Permalink
#38 Do not copile EPDiy as a component in unsupported S2/C3 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
martinberlin committed Jul 6, 2021
1 parent 61a9f4c commit c66d355
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/epd_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
idf_build_get_property(target IDF_TARGET)
# This component Requires a ESP32 target. Do not build if using this:
if(${target} STREQUAL "esp32c3")
return()
endif()
if(${target} STREQUAL "esp32s2")
return()
endif()

set(app_sources "epd_driver.c"
"render.c"
Expand Down

0 comments on commit c66d355

Please sign in to comment.