zephyr/scripts/kconfig
Ulf Magnusson b4e18072a8 kconfig: Fix wrong max argument count for some preprocessor functions
dt_chosen_reg() and dt_node_reg() take between 1 and 3 arguments, not
between 1 and 4 arguments. The implicit name argument isn't included in
the count.

These functions implement $(dt_chosen_reg_*) and $(dt_node_reg_*).

Giving the right max argument count makes Kconfiglib generate error
messages that give the location of the call, instead of getting a
cryptic generic Python error.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-13 13:48:17 +01:00
..
diffconfig license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
guiconfig.py kconfig: Update Kconfiglib and use new helpers in kconfig.py 2019-11-07 15:34:09 +01:00
hardenconfig.py hardening: Introducing hardenconfig tool 2019-12-09 12:54:29 -05:00
hardened.csv hardening: Introducing hardenconfig tool 2019-12-09 12:54:29 -05:00
kconfig.py kconfiglib: Update to hide tracebacks for expected errors 2019-12-20 19:48:09 -05:00
kconfigfunctions.py kconfig: Fix wrong max argument count for some preprocessor functions 2020-01-13 13:48:17 +01:00
kconfiglib.py kconfiglib: Update to hide tracebacks for expected errors 2019-12-20 19:48:09 -05:00
lint.py scripts: kconfig: lint.py: Improve error reporting 2020-01-09 11:19:57 -05:00
menuconfig.py kconfiglib: Update to hide tracebacks for expected errors 2019-12-20 19:48:09 -05:00