]> 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>
Wed, 13 Mar 2019 05:50:55 +0000 (16:50 +1100)
commit6b49a355f72f69e73465945052e6eeb49332b061
treeb6285ec4bdb2c3516df69b8aa107fbbc3ddb2507
parentff99e0ea69f8b07cb46cd1b9d54ced120eb7aefb
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