![]() Type idf.py -help for a full list of commands. Older style projects with a Makefile will not work with idf.py. Idf.py should be run in an ESP-IDF “project” directory, ie one containing a CMakeLists.txt file. The getting started guide contains a brief introduction to how to set up idf.py to configure, build, and flash projects. A command line build tool (either Ninja build or GNU Make).CMake, which configures the project to be built.The idf.py command line tool provides a front-end for easily managing your project builds. The toolchain should be installed in the system command line PATH. The toolchain for compilation is not part of the project.This allows the IDF framework to be decoupled from your project. Instead it is standalone, and linked to the project via the IDF_PATH environment variable which holds the path of the esp-idf directory. At the moment, ESP-IDF supports only one target, esp32. “Target” is the hardware for which an application is built.Some are provided by ESP-IDF itself, others may be sourced from other places. “components” are modular pieces of standalone code which are compiled into static libraries (.a files) and linked into an app.A single project will usually build two apps - a “project app” (the main executable, ie your custom firmware) and a “bootloader app” (the initial bootloader program which launches the project app). An “app” is an executable which is built by ESP-IDF.A single project contains exactly one project configuration. This configuration file is modified via idf.py menuconfig to customise the configuration of the project. “Project configuration” is held in a single file called sdkconfig in the root directory of the project. ![]() A “project” is a directory that contains all the files and configuration to build a single “app” (executable), as well as additional supporting elements such as a partition table, data/filesystem partitions, and a bootloader.Using Third-Party CMake Projects with Components.Fully Overriding The Component Build Process.Requirements in the build system implementation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |