]> granicus.if.org Git - esp-idf/commit
confgen: Fix bug with JSON metadata conditional range generation
authorAngus Gratton <angus@espressif.com>
Fri, 1 Mar 2019 04:38:23 +0000 (15:38 +1100)
committerAngus Gratton <gus@projectgus.com>
Fri, 1 Mar 2019 04:38:23 +0000 (15:38 +1100)
commit673441aba0aa393ad50b6af9d82dd8822054080b
treedf6e685baa480c2dc238894b540a364a84753e26
parent6c49f19247cc95d364b54718e4c29b7d345267af
confgen: Fix bug with JSON metadata conditional range generation

When generating JSON metadata for ranges where there are conditional ranges (ie different allowed range
depending on another config setting), the JSON metadata would always have the last named range as
the expression was not evaluated properly.

Thanks to ulfalizer on GitHub for pointing this out.

Closes https://github.com/espressif/esp-idf/issues/2195
tools/kconfig_new/confgen.py