components/esp32-owb/CMakeLists.txt

Wed, 04 Oct 2023 11:28:49 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 04 Oct 2023 11:28:49 +0200
changeset 80
715785443a95
parent 72
acc1904cd70d
permissions
-rw-r--r--

Version 0.3.1. Remove obsolete files from spiffs filesystem. Removed obsolete wifi stations.conf file and functions. Removed obsolete user screens.

72
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
1 if (NOT IDF_VERSION_MAJOR)
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
2 set(IDF_VERSION_MAJOR 3)
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
3 endif()
15
83314e7b1b4a Changed build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4
72
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
5 if (IDF_VERSION_MAJOR LESS 5)
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
6 message(FATAL_ERROR "Can't build: requires ESP-IDF version 5.0 or above.")
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
7 endif()
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
8
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
9 set(COMPONENT_ADD_INCLUDEDIRS include)
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
10 set(COMPONENT_SRCS "owb.c" "owb_gpio.c" "owb_rmt.c")
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
11 set(COMPONENT_REQUIRES "soc" "driver" "esp_rom")
acc1904cd70d Migrated to isp-idf v5.1
Michiel Broek <mbroek@mbse.eu>
parents: 15
diff changeset
12 register_component()

mercurial