esp-idf-lib/components/example/CMakeLists.txt@ec5c7794dcd6
esp-idf-lib/components/example/CMakeLists.txt
Mon, 17 Apr 2023 14:54:35 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Mon, 17 Apr 2023 14:54:35 +0200
- changeset 31
- ec5c7794dcd6
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
Added basic BLE code.
if(${IDF_TARGET} STREQUAL esp8266)
set(req esp8266 log)
else()
set(req driver log)
endif()
idf_component_register(
SRCS example.c
INCLUDE_DIRS .
REQUIRES ${req}
)