71:995557380e5f | 72:acc1904cd70d |
---|---|
1 idf_component_register(SRCS owb_rmt.c owb.c owb_gpio.c INCLUDE_DIRS include) | 1 if (NOT IDF_VERSION_MAJOR) |
2 set(IDF_VERSION_MAJOR 3) | |
3 endif() | |
2 | 4 |
5 if (IDF_VERSION_MAJOR LESS 5) | |
6 message(FATAL_ERROR "Can't build: requires ESP-IDF version 5.0 or above.") | |
7 endif() | |
8 | |
9 set(COMPONENT_ADD_INCLUDEDIRS include) | |
10 set(COMPONENT_SRCS "owb.c" "owb_gpio.c" "owb_rmt.c") | |
11 set(COMPONENT_REQUIRES "soc" "driver" "esp_rom") | |
12 register_component() |