From d8bdb3434d486e0f70da79d29bac155c7b618d4d Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Fri, 19 Jul 2024 13:50:00 +1000 Subject: Adds sdkconfig.local (intentionally not tracked in .git) for local overrides. Here's what I have in mine, for example: ``` CONFIG_LOG_DEFAULT_LEVEL_WARN=n CONFIG_LOG_DEFAULT_LEVEL_INFO=y CONFIG_LOG_DEFAULT_LEVEL=3 ``` --- BUILDING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'BUILDING.md') diff --git a/BUILDING.md b/BUILDING.md index 571aa359..ee64b088 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -72,3 +72,15 @@ If you get errors involving missing C++ includes, then you may need to edit your editor's LSP invocation to include `--query-driver=**`. You should then get proper LSP integration via clangd. + +# ESP-IDF configuration + +Espressif exposes a large collection of configuration options[1] for its +framework; you can use `idf.py menuconfig` to generate a custom `sdkconfig` +file, eg. to change the logging level. + +To avoid needing to select the same set of options every time you regenerate +the sdkconfig, you can also set some defaults in `sdkconfig.local`; this is not +tracked in git, and is ideal for local / per-checkout changes. + +1. https://docs.espressif.com/projects/esp-idf/en/release-v3.3/api-reference/kconfig.html -- cgit v1.2.3