Page 1 of 1

Can I add custom options in sdkconfig.defaults?

Posted: Thu Dec 16, 2021 3:47 am
by willhelm
I thought one could add custom options in sdkconfig.defaults such as:

CONFIG_THE_MEANING_OF_LIFE_IS=42

I thought this would be inserted into the two auto generated files sdkconfig and sdkconfig.h?

Re: Can I add custom options in sdkconfig.defaults?

Posted: Fri Dec 17, 2021 5:03 am
by ESP_Sprite
No. The sdkconfig.defaults simply sets default options for existing config options. For your thing to work, you'd also need to define CONFIG_THE_MEANING_OF_LIFE_IS in a Kconfig somewhere.