From 963c3dc5b03648694830fa70b6027a541faeab23 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 20 Jun 2022 09:53:47 +0200 Subject: [PATCH 1/2] cmake: Add explicit dependency on esp_netif esp_netif component is a private requeirements for some freemodbus sources. This works without declaring a depencency, since esp_netif is implicitely dependent on esp_event. This will be cleaned up in IDF v5.0. This change makes the depencency explicit. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d2a64a..cb48063 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,4 +69,5 @@ endif() idf_component_register(SRCS "${srcs}" INCLUDE_DIRS "${include_dirs}" PRIV_INCLUDE_DIRS "${priv_include_dirs}" - REQUIRES ${requires}) + REQUIRES ${requires} + PRIV_REQUIRES esp_netif) From 3892c77c2619bc295cb5ab6a5c3cad55e0b2d80d Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 20 Jun 2022 09:59:56 +0200 Subject: [PATCH 2/2] version: Bump version number to 1.0.2 --- idf_component.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idf_component.yml b/idf_component.yml index 479ed1b..2edf7a6 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.1" +version: "1.0.2" description: ESP-MODBUS is the official Modbus library for Espressif SoCs. url: https://github.com/espressif/esp-modbus dependencies: