Skip to content

Commit 18c03a7

Browse files
author
Руслан Ус
committed
chore: switch to eil-cmake-utils
1 parent d8d7e8b commit 18c03a7

10 files changed

Lines changed: 11 additions & 27 deletions

File tree

.eil.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ depends:
99
- i2cdev
1010
- log
1111
- esp_idf_lib_helpers
12+
- freertos
1213
thread_safe: yes
1314
targets:
1415
- esp32

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "common"]
2-
path = common
3-
url = https://github.com/esp-idf-lib/common.git
1+
[submodule "eil-cmake-utils"]
2+
path = eil-cmake-utils
3+
url = git@github.com:esp-idf-lib/eil-cmake-utils.git

CMakeLists.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/eil-cmake-utils/cmake)
2+
include(eil_check_idf_features)
3+
eil_check_idf_has_esp_drivers()
4+
15
idf_component_register(
26
SRCS tsl2591.c
37
INCLUDE_DIRS .
4-
REQUIRES i2cdev log esp_idf_lib_helpers
8+
REQUIRES i2cdev log esp_idf_lib_helpers freertos
59
)
610

7-
# include common cmake file for components
8-
set(ESP_IDF_LIB_CMAKE ${CMAKE_CURRENT_LIST_DIR}/common/cmake/esp-idf-lib.cmake)
9-
if(EXISTS ${ESP_IDF_LIB_CMAKE})
10-
include(${ESP_IDF_LIB_CMAKE})
11-
else()
12-
message(WARNING "${ESP_IDF_LIB_CMAKE} not found")
13-
endif()
11+
include(eil_ci)

common

Lines changed: 0 additions & 1 deletion
This file was deleted.

component.mk

Lines changed: 0 additions & 2 deletions
This file was deleted.

eil-cmake-utils

Submodule eil-cmake-utils added at c91055e

examples/default/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/default/main/component.mk

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/interrupt/Makefile

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/interrupt/main/component.mk

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)