esp-idf/examples/build_system/cmake/multi_config/sdkconfig.defaults
Ivan Grokhotkov 5730711185 examples: build_system: demonstrate building app with multiple configs
This example shows how to use ESP-IDF build system features to build
multiple configurations of an app from the same source files.

Configurations are set by overriding SDKCONFIG_DEFAULTS variable when
invoking idf.py.

Related: https://github.com/espressif/esp-idf/issues/5658
2021-04-21 01:11:06 +02:00

7 lines
282 B
Plaintext

# In this example, the default build (obtained with 'idf.py build')
# targets a hypothetical development platform.
CONFIG_EXAMPLE_PRODUCT_NAME="Blinky Development Board"
# This selects 'func_dev.c' file to be compiled and linked, see CMakeLists.txt.
CONFIG_EXAMPLE_FUNC_IMPL_DEV=y