zephyr/scripts
Martí Bolívar b6dc0a24f7 edtlib: improve enum support
Add enum_tokenizable and enum_upper_tokenizable to PropertySpec. These
allow a PropertySpec to declare that it both has an enumeration of
values and all of them are strings which are "tokenizable". Don't
bother extending Property with these; the user can access the
information through Property.spec now, so the extra delegation is
unnecessary.

See the docstrings for details on what "tokenizable" means. The basic
idea is that we should be able to use the DT binding's enum values as
C 'enum' enumerators in a "reasonable way".

Add val_as_token to Property. This produces a canonical token for the
property value.

Add tests for this feature in particular and property enumerations in
general.

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: improve enum support 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