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 kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
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 scripts: footprint: Fix pylint warnings 2019-09-14 13:35:08 +08:00
gitlint zephyr_commit_rules.py: Fix pylint warning by simplifying conditional 2019-09-08 22:19:37 -04:00
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 scripts: add script for listing closed bugs 2019-10-22 15:11:09 -04:00
sanity_chk sanitycheck: Add filtered test cases to the JUnit full report 2020-05-25 15:52:17 +02:00
support scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
tests/sanitycheck scripts: tests: sanitycheck: Add testcases for schema validation. 2020-05-20 10:35:35 +02:00
tracing scripts: add script for usb backend to receive tracing data 2020-02-05 23:54:26 -05:00
west_commands scripts: runners: handle uninstalled dependencies 2020-05-09 13:05:48 +02:00
.gitignore scripts: tests: sanitycheck: Add basic foundation for sanitycheck testsuite 2020-03-24 22:32:26 -04:00
checkpatch.pl scripts: checkpatch: Revert dt-binding vendor prefix check regex change 2020-05-06 12:40:35 +02:00
checkstack.pl First commit 2015-04-10 16:44:37 -07:00
coccicheck scripts: Fix documunt referenc for coccicheck 2020-05-08 17:44:44 +02:00
dir_is_writeable.py global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
file2hex.py file2hex.py: new --gzip-mtime option that defaults to zero + test 2019-04-17 08:27:40 -04:00
filter-known-issues.py filter-known-issues.py: Remove '== True' test 2019-09-08 22:20:20 -04:00
gen_app_partitions.py scripts: Fix random typo'd whitespace 2019-09-07 07:54:17 -04:00
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_gcov_files.py: Replace bare 'except' with 'except Exception' 2019-09-07 07:58:16 -04:00
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 doc: document python build scripts 2020-01-02 17:09:29 -05:00
gen_syscalls.py kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
mergehex.py scripts: cmake: move print from python to cmake 2020-01-03 08:20:08 -05:00
parse_syscalls.py scripts: Dynamically add driver subsystems to subsystems list 2020-03-11 17:13:39 +02:00
process_gperf.py doc: fix some missed renames 2020-03-17 20:11:27 +02:00
requirements-base.txt scripts: west: add CANopen flash runner 2020-05-08 10:53:42 +02:00
requirements-build-test.txt scripts: tests: sanitycheck: Add basic foundation for sanitycheck testsuite 2020-03-24 22:32:26 -04:00
requirements-doc.txt ci: do not use latest breathe release for docs 2020-04-07 18:51:13 -04:00
requirements-extras.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
requirements-run-test.txt requirements: add psutil, needed by sanitycheck 2020-05-06 11:07:22 -05:00
requirements.txt scripts/requirements: Split & document requirement.txt 2020-03-19 15:41:08 +01:00
sanitycheck sanitycheck: cleanup fixture processing 2020-05-24 20:25:51 +02:00
series-push-hook.sh scripts: fix path issue in push-hook script 2019-03-13 11:59:38 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
subfolder_list.py python: subfolder_list.py now generates shorter link names 2020-04-22 17:24:04 +02:00
tags.sh scripts: fix tags.sh to current source tree 2018-01-15 18:30:28 -05:00
user_wordsize.py posix arch: build on aarch64 / allow host-specific cmake includes 2020-05-09 12:17:24 +02:00
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml cmake: West extension command for Zephyr config package registration 2020-03-27 16:23:46 +01:00
zephyr_module.py cmake: propagating zephyr base to west 2020-03-27 16:23:46 +01:00