From 4df057042caa93c1274b3943dcb5dbbbe14605bd Mon Sep 17 00:00:00 2001 From: Manuel Bl <10954524+manuelbl@users.noreply.github.com> Date: Mon, 14 Oct 2019 22:09:16 +0200 Subject: [PATCH] Improve compatibility between ESP-IDF v3.3 and v4.x --- CMakeLists.txt | 3 ++- library.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab58eb3..654468e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,5 +13,6 @@ set(COMPONENT_REQUIRES register_component() +if (IDF_VER STRGREATER_EQUAL "v4.0") target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-expansion-to-defined) - +endif() diff --git a/library.json b/library.json index bedac3c..810d1a7 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "url": "https://github.com/manuelbl/ttn-esp32.git", "branch": "dev" }, - "version": "2.3.2", + "version": "3.0.99", "license": "MIT License", "export": { "include": [