Mon, 24 Jun 2024 17:05:20 +0200
Start migration to IDF 5.1
129 | 1 | if (NOT IDF_VERSION_MAJOR) |
2 | set(IDF_VERSION_MAJOR 3) | |
3 | endif() | |
74
cba50f7529d0
Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
4 | |
129 | 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() |