Code: Select all
# 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)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main bt esp_psram wear_levelling)
project(esp32-s3-develop)
While building IDF/CMake decides these components are also required. But many of them aren't. I am not using mcpwm or C++. Is there a way to forcefully leave them out:
Code: Select all
[ 32%] Built target __idf_esp_driver_mcpwm
[ 33%] Built target __idf_esp_driver_gptimer
[ 34%] Built target __idf_esp_driver_pcnt
[ 38%] Built target __idf_cxx
[ 67%] Built target __idf_efuse
[ 71%] Built target mbedx509
Also is there a way to build without internet connectivity? It looks like CMake checks for new versions of some packages on EVERY build run.