List of Changes in the Pyparsing Parser
Although we tried to keep the esp-idf-kconfig
package as close to the original kconfiglib
as possible, there are some differences between the two. This section describes those differences. For the original definition of the Kconfig language, please refer to the Kconfig language documentation.
option
keyword is deprecated and supported only in the form ofoption env=
.def_<type>
keywords are not supported.tristate
logic (and thusm
value) is not supported.optional
keyword forchoice
entries is not supported.Explicit prompts for
menu
entries are not supported.choice
entries are now forced to be abool
type.---help---
keyword is not supported.config
orchoice
names must contain only numbers, uppercase letters from the English alphabet and underscores.Multiple definitions of
config
/choice
entries are now reported to the user.The inference of default values has been reworked (see Default Values and Their Inference).
Preprocessor macros are supported only in the form of
symbol = value
orsymbol := value
and strings need to be enclosed in quotes.New parser recognizes default values in
sdkconfig
files (see Default Values and Their Inference).New
set
andset default
options are supported, allowing you to indirectly set a value of a config of any type, similarly toselect
forbool
configs (see The set and set default Options).