1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dist/tools/genconfig: add error on hidden symbols

This extends the error messages to check if a symbol could not be set
due to its visibility.
This commit is contained in:
Leandro Lanzieri 2022-02-01 10:35:10 +01:00
parent 361d41db05
commit b7bf1e2bd7
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

@ -173,6 +173,9 @@ def check_config_symbols(kconf):
if rng is not None:
msg = " Check that the value is in the correct range:"
msg += "[{} - {}] {}\n".format(rng[0], rng[1], rng[2])
elif not sym.visibility:
msg = " The symbol is not visible, either it is not "
msg += "configurable or its prompt is hidden."
log_error(msg)