Thanks for the quick answer Angus!
Using sed was what I was thinking. So it's nice, that it's actually "allowed" to just replace values in sdkconfig.
The second alternative you described seems very intriguing, though. So I tried it, but it doesn't work properly the way I do it. When I change my Kconfig.projbuild from
to
Code: Select all
config MY_VARIABLE
string
option env="MY_VARIABLE"
the value of the environment variable "MY_VARIABLE" appears when running menuconfig, but after closing menuconfig it doesn't get written to sdkconfig. In fact the entire variable doesn't appear. Not even
without a value. Am I doing something wrong?
Frow