mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 17:22:06 +00:00
Use Galak's idea from https://github.com/zephyrproject-rtos/zephyr/pull/18313 to read the 'properties: compatible: constraint: "foo"' string from bindings in a more robust way. First, check if any of the compatible strings are in the file (needed as an optimization). If any of them are, do a more careful check for the 'properties: compatible: constraint: ...' value matching a compatible, to filter out false positives from comments and the like. This commit a no-op in itself besides making things a bit more robust, but it'll make later work easier (supporting multiple compatibles for a binding, in a dt-schema-like way). Co-authored-by: Kumar Gala <kumar.gala@linaro.org> Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> |
||
---|---|---|
.. | ||
checkpatch | ||
ci | ||
coccinelle | ||
dts | ||
footprint | ||
gitlint | ||
kconfig | ||
sanity_chk | ||
support | ||
west_commands | ||
.gitignore | ||
checkpatch.pl | ||
checkstack.pl | ||
coccicheck | ||
dir_is_writeable.py | ||
elf_helper.py | ||
file2hex.py | ||
filter-known-issues.py | ||
gen_app_partitions.py | ||
gen_cfb_font_header.py | ||
gen_gcov_files.py | ||
gen_kobject_list.py | ||
gen_offset_header.py | ||
gen_priv_stacks.py | ||
gen_relocate_app.py | ||
gen_syscall_header.py | ||
gen_syscalls.py | ||
mergehex.py | ||
parse_syscalls.py | ||
process_gperf.py | ||
requirements.txt | ||
sanitycheck | ||
series-push-hook.sh | ||
spelling.txt | ||
subfolder_list.py | ||
tags.sh | ||
valgrind.supp | ||
waitpid | ||
west-commands.yml | ||
zephyr_module.py |