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.
optionkeyword is deprecated and supported only in the form ofoption env=.def_<type>keywords are not supported.tristatelogic (and thusmvalue) is not supported.optionalkeyword forchoiceentries is not supported.choiceentries are now forced to be abooltype.---help---keyword is not supported.configorchoicenames must contain only numbers, uppercase letters from the English alphabet and underscores.Multiple definitions of
config/choiceentries 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 = valueorsymbol := valueand strings need to be enclosed in quotes.New parser recognizes default values in
sdkconfigfiles (see Default Values and Their Inference).New
setandset defaultoptions are supported, allowing you to indirectly set a value of a config of any type, similarly toselectforboolconfigs (see The set and set default Options).