# The following lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.16) list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers") # "Trim" the build. Include the minimal set of components, main, and anything it depends on. set(COMPONENTS main) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(test_esp_ringbuf)