Improve compatibility between ESP-IDF v3.3 and v4.x

This commit is contained in:
Manuel Bl 2019-10-14 22:09:16 +02:00
parent 48668b3295
commit 4df057042c
2 changed files with 3 additions and 2 deletions

View File

@ -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()

View File

@ -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": [