From 4e41405f2b1e0efbea7029f237414a5ea4905ce8 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 29 Dec 2020 12:17:54 +0800 Subject: [PATCH] esp32c3: Disable components that are not yet supported * Original commit: espressif/esp-idf@0301c66bf0dbfe9c46f0048d084e770473393f36 --- components/freemodbus/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/freemodbus/CMakeLists.txt b/components/freemodbus/CMakeLists.txt index 43765ea..3af4831 100644 --- a/components/freemodbus/CMakeLists.txt +++ b/components/freemodbus/CMakeLists.txt @@ -1,3 +1,8 @@ +idf_build_get_property(target IDF_TARGET) +if(${target} STREQUAL "esp32c3") + return() # TODO ESP32-C3 IDF-2173 +endif() + # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly set(srcs