zephyr/scripts
Martí Bolívar e4a761cffe devicetree: add migration guide documentation and tests
Add test cases that verify various bits and pieces of the legacy
devicetree macros match the new APIs.

Writing these test cases without giving rise to deprecated macro
warnings which might break people's CI if they build with -Werror
requires turning off the __WARN() generation in
devicetree_legacy_unfixed.h. The entire file is deprecated at this
point and must be explicitly enabled with an opt-in Kconfig option, so
there isn't any harm in doing this.

Nevertheless, take a minimally invasive approach to avoiding __WARN()
generation in gen_legacy_defines.py, to avoid the possibility of
breakage. This code is basically frozen anyway, so hacks like this
won't cause maintainability problems since it isn't being actively
maintained.

Use the new tests as fodder for a migration guide from the old API in
the documentation.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-28 22:12:38 +02:00
..
checkpatch
ci ci: changes to python requirements should not trigger sanitycheck 2020-05-06 11:07:22 -05:00
coccinelle scripts/coccinelle: add script to preserve const qualifier on config_info 2020-05-13 18:21:52 +02:00
dts devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
footprint
gitlint
kconfig kconfig: add dt_chosen_path() helper 2020-04-28 12:11:14 -05:00
net scripts: net: Fix incorrect error messages 2020-05-21 14:45:07 +02:00
release
sanity_chk sanitycheck: Add filtered test cases to the JUnit full report 2020-05-25 15:52:17 +02:00
support
tests/sanitycheck scripts: tests: sanitycheck: Add testcases for schema validation. 2020-05-20 10:35:35 +02:00
tracing
west_commands scripts: runners: handle uninstalled dependencies 2020-05-09 13:05:48 +02:00
.gitignore
checkpatch.pl scripts: checkpatch: Revert dt-binding vendor prefix check regex change 2020-05-06 12:40:35 +02:00
checkstack.pl
coccicheck scripts: Fix documunt referenc for coccicheck 2020-05-08 17:44:44 +02:00
dir_is_writeable.py
file2hex.py
filter-known-issues.py
gen_app_partitions.py
gen_cfb_font_header.py scripts: gen_cfb_font_header: extend to additional representations 2020-04-27 13:27:03 +02:00
gen_gcov_files.py
gen_kobject_list.py scripts: use debug function instead of debug_die to dump objs 2020-05-25 18:07:20 +02:00
gen_offset_header.py scripts: gen_offset_header: add argument help text 2020-05-21 14:45:24 +02:00
gen_relocate_app.py
gen_syscalls.py
mergehex.py
parse_syscalls.py
process_gperf.py
requirements-base.txt scripts: west: add CANopen flash runner 2020-05-08 10:53:42 +02:00
requirements-build-test.txt
requirements-doc.txt ci: do not use latest breathe release for docs 2020-04-07 18:51:13 -04:00
requirements-extras.txt
requirements-run-test.txt requirements: add psutil, needed by sanitycheck 2020-05-06 11:07:22 -05:00
requirements.txt
sanitycheck sanitycheck: cleanup fixture processing 2020-05-24 20:25:51 +02:00
series-push-hook.sh
spelling.txt
subfolder_list.py python: subfolder_list.py now generates shorter link names 2020-04-22 17:24:04 +02:00
tags.sh
user_wordsize.py posix arch: build on aarch64 / allow host-specific cmake includes 2020-05-09 12:17:24 +02:00
valgrind.supp
west-commands.yml
zephyr_module.py