From 0693f5ac6d7524cda416def8133b8cf235520117 Mon Sep 17 00:00:00 2001 From: beni Date: Wed, 8 Feb 2023 12:00:00 +0100 Subject: [PATCH] Added idf v5 compatibility --- CMakeLists.txt | 2 +- main/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4da3a2f..f31a6d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # The following lines of boilerplate have to be in your project's CMakeLists # in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.16) set(SUPPORTED_TARGETS esp32) include($ENV{IDF_PATH}/tools/cmake/project.cmake) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 5a61976..31d5ae7 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -3,6 +3,6 @@ idf_component_register(SRCS "ble_hidd_demo_main.c" "hid_dev.c" "hid_device_le_prf.c" INCLUDE_DIRS "." - REQUIRES esp_hid PRIV_REQUIRES esp32 esp_wifi esp_https_server esp_eth mdns lwip fatfs esp_https_ota esp_hid app_update) + REQUIRES esp_hid PRIV_REQUIRES esp_wifi esp_https_server esp_eth nvs_flash lwip fatfs esp_https_ota esp_hid app_update) target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-const-variable)