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> |
||
|---|---|---|
| .. | ||
| diffconfig | ||
| guiconfig.py | ||
| hardenconfig.py | ||
| hardened.csv | ||
| kconfig.py | ||
| kconfigfunctions.py | ||
| kconfiglib.py | ||
| lint.py | ||
| menuconfig.py | ||