esp-idf-lib/components/lib8tion/CMakeLists.txt

Thu, 06 Apr 2023 13:22:03 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 06 Apr 2023 13:22:03 +0200
changeset 17
1599e696d947
parent 1
1c9894662795
permissions
-rw-r--r--

Code changes to try to fix the not working ADPS9930 driver.

if(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3)
	set(req)	
else()
    set(req esp_timer)
endif()

idf_component_register(
    INCLUDE_DIRS .
    SRCS lib8tion.c
    REQUIRES ${req}
)

mercurial