zephyr/scripts
Ulf Magnusson bb4a4e79dc scripts: kconfig.py: Detect all assignments to promptless symbols
Assigning to promptless symbols has no effect.

Previously, the only check was for whether the value assigned to a
symbol matched its final value. This misses cases where a promptless
symbol is assigned to and just happens to get the assigned-to value as
its final value.

Instead, detect whether configuration files are being merged (by
checking if zephyr/.config already exists), and explicitly check for
assignments to promptless symbols in that case. We can't do it when
zephyr/.config already exists (and is being loaded), because it includes
values for promptless symbols as well.

With the no-prompt check moved out, also use a more specific message for
it, and remove stuff related to prompts elsewhere. Shorten messages a
bit at the same time, and add two warn() and err() helpers.

Fixes: #20697

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-17 19:39:14 +01:00
..
checkpatch
ci ci: do not display timestamps 2020-01-17 08:30:23 -06:00
coccinelle
dts dts: gen_defines.py: Rename *_dev() to *_node() 2020-01-16 18:32:58 +01:00
footprint
gitlint
kconfig scripts: kconfig.py: Detect all assignments to promptless symbols 2020-01-17 19:39:14 +01:00
release
sanity_chk sanitycheck: additional scripting hook after flashing 2020-01-06 13:58:10 -05:00
support
west_commands scripts: runners: nrfjprog: sort SNR list before prompting 2020-01-16 10:20:39 -05:00
.gitignore
checkpatch.pl syscalls: Remove references to __syscall_inline 2019-12-09 12:47:15 -05:00
checkstack.pl
coccicheck
dir_is_writeable.py global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
elf_helper.py kernel: fix 64-bit for kobject generation 2019-12-12 14:48:42 -08:00
file2hex.py
filter-known-issues.py
gen_app_partitions.py
gen_cfb_font_header.py
gen_gcov_files.py
gen_kobject_list.py userspace: fix incorrect linker routing 2020-01-09 09:13:23 -08:00
gen_offset_header.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_priv_stacks.py
gen_relocate_app.py doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_syscalls.py syscalls: Remove gen_syscall_header.py 2019-12-09 16:08:50 +01:00
mergehex.py scripts: cmake: move print from python to cmake 2020-01-03 08:20:08 -05:00
parse_syscalls.py
process_gperf.py kernel: fix 64-bit for kobject generation 2019-12-12 14:48:42 -08:00
requirements.txt scripts: requirements: Request version 0.24.0 for pyocd 2020-01-13 11:49:57 +01:00
sanitycheck sanitycheck: support runtime artifact cleanup 2020-01-16 19:19:07 -05:00
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
valgrind.supp
west-commands.yml
zephyr_module.py west: Fix defining modules without a module.yml 2019-12-19 15:52:44 -05:00