Page 1 of 1

All unlisted idf.py options

Posted: Mon Feb 27, 2023 7:25 pm
by derricksenva
Is there documentation for all possible commands and options passable to idf.py (and any other tools as well: esptool.py, espefuse.py, espsecure.py, etc.)?

For example,

Code: Select all

idf.py -DSDKCONFIG=<filename> bootloader/partition-table/app
allows us to specify a specific sdkconfig when we have multiple build configurations.

Re: All unlisted idf.py options

Posted: Mon Feb 27, 2023 11:09 pm
by ESP_igrr
Hi derricksenva,

Indeed we don't have the -D option documented now in idf.py docs (https://docs.espressif.com/projects/esp ... al-options), i think it was forgotten about because it has the same meaning as -D option of CMake.

CMake variables such as SDKCONFIG, SDKCONFIG_DEFAULTS are mentioned in the build system docs: https://docs.espressif.com/projects/esp ... ystem.html

Re: All unlisted idf.py options

Posted: Mon Mar 13, 2023 4:08 pm
by derricksenva
Is it possible to define different build/launch configurations in Eclipse to use different sdkconfig files? I tried adding those options as additional CMake arguments as seen below, but it didn't work and does the default behavior of building in the build/ directory and using the plain sdkconfig file.

2023-02-28 11_30_23-Edit Configuration.png
2023-02-28 11_30_23-Edit Configuration.png (22.57 KiB) Viewed 1665 times