zephyr/scripts
Chris Duf 5abce9b8ec Devicetree: edtlib: fix possible KeyError in Binding.description
Attempting to access the Binding.description property
when the description is unavailable would raise KeyError: 'description'.

Known bindings that won't define a 'description' key in the
Binding.raw dictionary include the 'compatible' property's binding
of nodes such as /, /soc, /leds or /pwmleds.
Note that this may also occur when a proper YAML
binding file is available (e.g. pwmleds.yaml).

This patch simply substitutes the Binding.raw dictionary indexing
with the get() function: will return None and not raise KeyError.

Signed-off-by: Chris Duf <chris@openmarl.org>
2022-10-12 18:45:32 +09:00
..
build scripts: build: gen_handles: use Z_DECL_ALIGN 2022-10-11 18:11:47 +02:00
checkpatch scripts: checkpatch: add Atmel Pwm typedef 2022-07-12 17:51:23 +02:00
ci scripts: ci: test_plan: Specify ZEPHYR_BASE for list_boards 2022-09-08 18:17:10 +09:00
coccinelle
coredump debug: coredump: add xtensa intel adsp, support toolchains 2022-06-23 15:44:45 -04:00
dts Devicetree: edtlib: fix possible KeyError in Binding.description 2022-10-12 18:45:32 +09:00
footprint footprint: Remove bt_hap_ha for nrf52840dk 2022-10-07 10:09:25 +00:00
gitlint
kconfig scripts: kconfig: update size functions to convert bits to bytes 2022-09-21 15:22:36 +02:00
logging/dictionary scripts: dictionary: Initialise Colorama during module load 2022-05-24 09:00:16 -07:00
net
pylib/twister twister: fix UnicodeDecodeError on input handling in BinaryHandler 2022-10-11 08:25:39 -04:00
release scripts: release: strip title names 2022-09-27 16:51:45 -05:00
schemas/twister scripts: twister: add support for sysbuild 2022-10-04 14:06:58 -04:00
support
tests twister: fix bug retrieving subtests 2022-08-12 17:39:35 +02:00
tracing scripts: tracing: Initialise Colorama during module load 2022-05-24 09:00:16 -07:00
utils scripts: migrate_includes: migrate zephyr.h to kernel.h 2022-09-05 16:31:47 +02:00
west_commands west: runners: blackmagicprobe: fix on windows 2022-10-10 09:54:14 +02:00
.gitignore
checkpatch.pl scripts: checkpatch: allow leading spaces in multi-lines macros 2022-06-17 10:18:37 +02:00
checkstack.pl
coccicheck
dump_bugs_pickle.py scripts: dump_bugs_pickle: strip bug titles 2022-09-27 16:51:45 -05:00
gen_gcov_files.py
get_maintainer.py
github_helpers.py scripts: add github_helpers.py 2022-05-24 18:48:03 +02:00
list_boards.py scripts: remove ZEPHYR_BASE as default root for board listing 2022-08-18 14:29:14 +02:00
make_bugs_pickle.py scripts: add make_bugs_pickle.py 2022-05-24 18:48:03 +02:00
requirements-base.txt requirements: bump pyelftools to >=0.27 2022-06-10 09:46:31 +02:00
requirements-build-test.txt
requirements-compliance.txt scripts: Upgrade to junitparser v2+ 2022-08-03 14:04:36 -04:00
requirements-doc.txt doc: Do not use Sphinx 5.2.0.post0 2022-09-25 10:37:32 +02:00
requirements-extras.txt scripts: requirements-extras: Request imgtool 1.9 for write-block-size > 8 2022-09-01 10:28:33 +02:00
requirements-run-test.txt soc: xtensa: tools: remove dependency of netifaces package 2022-08-16 22:51:53 -07:00
requirements.txt
series-push-hook.sh
set_assignees.py scripts: set_assignees: move misplaced log entry 2022-10-04 15:14:27 +00:00
spelling.txt
tags.sh
twister scripts: twister: add support for sysbuild 2022-10-04 14:06:58 -04:00
valgrind.supp
west-commands.yml west: Add completion support for zsh 2022-09-06 08:43:15 -07:00
zephyr_module.py scripts: modules: Mark the build as tainted if blobs present 2022-08-29 15:57:59 +02:00