2021-03-01 12:56:34 +08:00
|
|
|
# The following lines of boilerplate have to be in your project's
|
|
|
|
|
# CMakeLists in this exact order for cmake to work correctly
|
2022-05-27 10:10:51 +02:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
2021-03-01 12:56:34 +08:00
|
|
|
|
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
2024-09-25 17:10:37 +02:00
|
|
|
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
|
|
|
|
|
idf_build_set_property(MINIMAL_BUILD ON)
|
2024-12-02 17:49:54 +08:00
|
|
|
|
|
|
|
|
idf_build_set_property(BOOTLOADER_EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/managed_components/
|
|
|
|
|
espressif__esp_flash_nor/" APPEND)
|
|
|
|
|
|
2021-07-05 14:33:56 +08:00
|
|
|
project(custom_flash_driver)
|