mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 11:36:51 +03:00
- Update `esp-nn` to v1.0.2 - Update `esp32-camera` to v2.0.6 - Updated `tflite-micro-esp-examples` (The repo got renamed to `esp-tflite-micro ` and the folder structure got cleaned up).
23 lines
840 B
CMake
23 lines
840 B
CMake
cmake_minimum_required(VERSION 3.16.0)
|
|
|
|
list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common components/esp-tflite-micro)
|
|
|
|
ADD_CUSTOM_COMMAND(
|
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version.cpp
|
|
${CMAKE_CURRENT_BINARY_DIR}/_version.cpp
|
|
COMMAND ${CMAKE_COMMAND} -P
|
|
${CMAKE_CURRENT_SOURCE_DIR}/version.cmake)
|
|
|
|
if(EXISTS "${SDKCONFIG}.defaults")
|
|
if(EXISTS "sdkconfig.defaults")
|
|
set(SDKCONFIG_DEFAULTS "${SDKCONFIG}.defaults;sdkconfig.defaults")
|
|
message(STATUS "-- Using defaults: ${SDKCONFIG_DEFAULTS} + sdkconfig.defaults")
|
|
else()
|
|
set(SDKCONFIG_DEFAULTS "${SDKCONFIG}.defaults")
|
|
endif()
|
|
message(STATUS "-- Using defaults: ${SDKCONFIG_DEFAULTS}")
|
|
endif()
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(AI-on-the-edge)
|