zephyr/scripts
Martí Bolívar 88094ecfb1 edtlib: tweak Property initialization
In the 'normal' case of a property whose definition is taken from a
binding YAML file, a fair number (three at present) of the attributes
available on Property objects are directly taken from the
corresponding PropertySpec object.

Refactor the internals of how a Property gets initialized so that it
has a direct reference to its PropertySpec, and make those attributes
properties which just delegate to the PropertySpec (which in turn just
delegate to the binding). Additionally, expose the PropertySpec
directly.

This will make it easier to extend the Property class with additional
attributes that normally come from the PropertySpec without having to
touch all the locations where Property.__init__ is called.

In the case of the 'default' properties, we handle this by dummying
out some PropertySpec objects. These dummy PropertySpecs in turn
require a dummy Binding.

This change has the advantage that it improves the degree to which
these defaults are checked, e.g. it makes sure that 'status' is one of
the permitted values.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-12-13 19:25:24 -05:00
..
checkpatch
ci ci: rename sanitycheck -> twister 2020-12-11 14:13:02 -05:00
coccinelle
coredump
dts edtlib: tweak Property initialization 2020-12-13 19:25:24 -05:00
footprint twister: fixed pylint issues 2020-12-11 14:13:02 -05:00
gitlint
kconfig
net net: scripts: Make test runner script fully generic 2020-11-20 16:07:59 +02:00
pylib/twister sanitycheck: add more logging 2020-12-11 17:41:40 -05:00
release twister: change all occurances of sanitycheck 2020-12-11 14:13:02 -05:00
schemas/twister twister: adapt platform schema 2020-12-11 14:13:02 -05:00
support
tests twister: tests: rename sanitycheck -> twister 2020-12-11 14:13:02 -05:00
tracing
west_commands runners: mdb: fix imports 2020-12-11 16:49:59 -05:00
.gitignore
checkpatch.pl
checkstack.pl
coccicheck
dir_is_writeable.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_relocate_app.py
gen_syscalls.py
get_maintainer.py
mergehex.py
parse_syscalls.py
process_gperf.py
requirements-base.txt ARC: west: mdb runner: record MDB's CLD process pid to file 2020-11-11 08:18:38 -05:00
requirements-build-test.txt
requirements-compliance.txt
requirements-doc.txt doc: bump sphinx>=3.3.0 2020-11-03 10:24:25 -06:00
requirements-extras.txt scripts: Add imgtool to requirements 2020-11-16 13:38:47 +01:00
requirements-run-test.txt
requirements.txt
sanitycheck twister: add a wrapper script with old name 2020-12-11 14:13:02 -05:00
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
twister sanitycheck: add more logging 2020-12-11 17:41:40 -05:00
user_wordsize.py
valgrind.supp
west-commands.yml
zephyr_module.py modules: rename options for twister support 2020-12-11 14:13:02 -05:00