zephyr/scripts
Martí Bolívar 0d5e6c13e9 boards/shields: re-work handling in cmake and west
Remove the boards and shields lists from the 'usage' target output.
That might have been readable at some point long ago in Zephyr's
history, when only a few boards were available, but right now it's
obscuring the high level targets we really want 'usage' to print.

Instead, add 'boards' and 'shields' targets which the user can run to
get those lists, and reference them from the 'usage' output. This
makes 'usage' squintable again. We use the new list_boards.py script
from the 'boards' target.

Reference the 'help' target from 'usage' as well, and drop the
recommendation that people run '--target help' from the 'west build
--help' output for the 'west build --target' option. The canonical
place to look is 'usage' now.

Use the new list_boards.py code from 'west boards' as well, which
allows us to add the board's directory as a format string key, in
addition to its name and architecture.

Keep west-completion.bash up to date. While doing that, I noticed that
a bunch of references to this file refer to a stale location, so fix
those too.

Finally, the 'usage' output is what we print for a failed board or
shield lookup, so that needs to be updated also. Handle that by
invoking boards.cmake and a new shields.cmake in CMake script mode to
print the relevant output.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-01-15 15:07:49 -05:00
..
checkpatch
ci ci: handle checpatch warnings as errors 2021-01-14 17:29:37 -05:00
coccinelle scripts: coccinelle: Scripts for finding wrong device instance usage 2020-09-02 13:48:13 +02:00
coredump coredump: add support for ARM Cortex-M 2020-08-24 20:28:24 -04:00
dts devicetree: generate extern's for devicetree struct devices 2021-01-15 07:16:21 -06:00
footprint cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
gitlint
kconfig scripts/Kconfig: Add dt_node_has_prop Kconfig function 2021-01-15 10:29:30 -05:00
net net: scripts: Make test runner script fully generic 2020-11-20 16:07:59 +02:00
pylib/twister twister: fix build_on_all configuration 2021-01-14 13:59:42 -05:00
release twister: change all occurances of sanitycheck 2020-12-11 14:13:02 -05:00
schemas/twister cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
support
tests twister: remove some leftover sanitycheck mentions 2020-12-14 14:13:16 -05:00
tracing tracing: scripts: add scripts for parsing ctf data 2020-08-24 13:21:12 +02:00
west_commands boards/shields: re-work handling in cmake and west 2021-01-15 15:07:49 -05:00
.gitignore cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
checkpatch.pl scripts: update checkpatch based on current linux kernel version 2020-08-21 13:57:02 -04:00
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py scripts: file2hex.py: PEP 8 style fix 2020-06-12 11:09:58 +02:00
filter-known-issues.py
gen_app_partitions.py linker: tweak section naming to feet all linkers 2020-09-05 10:22:56 -05:00
gen_cfb_font_header.py zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gen_gcov_files.py scripts: gen_gcov_files.py: add argument help text 2020-06-13 16:33:22 -04:00
gen_kobject_list.py userspace: update k_object API to support immutable objects 2020-09-02 13:48:13 +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 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gen_syscalls.py scripts: gen_syscalls: typo fix 2020-06-09 10:39:49 +02:00
get_maintainer.py scripts: add maintainer script 2020-07-24 17:07:48 +02:00
list_boards.py scripts: add list_boards.py 2021-01-15 15:07:49 -05:00
mergehex.py
parse_syscalls.py userspace: net sockets are kernel objects 2020-06-03 22:33:32 +02:00
process_gperf.py scripts: process_gperf: typo fix 2020-06-09 10:40:58 +02:00
requirements-base.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements-build-test.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements-compliance.txt requirements-compliance: restrict junitparser version < 2 2021-01-13 07:58:37 -05:00
requirements-doc.txt requirements-doc: add missing pkwalify 2021-01-11 14:51:45 -05:00
requirements-extras.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements-run-test.txt cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
requirements.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
sanitycheck twister: add a wrapper script with old name 2020-12-11 14:13:02 -05:00
series-push-hook.sh scripts: series-push-hook: Fix behavior after rebase 2020-10-21 07:16:54 -05:00
spelling.txt
subfolder_list.py scripts: subfolder_list.py: refactor the code 2020-07-20 17:31:53 -04:00
tags.sh
twister twister: remove some leftover sanitycheck mentions 2020-12-14 14:13:16 -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
west-commands.yml
zephyr_module.py modules: rename options for twister support 2020-12-11 14:13:02 -05:00