zephyr/scripts
Marc Herbert 16880cc381 scripts: gen_handles: silence "should it be static?" warnings
Some compilers and static analyzers warn when non-static (globals) are
not declared in some .h file. Tweak the generated code and add an
`extern` declaration before each device handle definition to make it
look it was declared in a (non-existent) .h file.

This makes the code a bit longer but it is already generated and very
repetitive anyway.

In the typical SOF configuration this silences about 150 sparse
warnings; as many as device handles.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-04-25 12:19:33 +02:00
..
build scripts: gen_handles: silence "should it be static?" warnings 2023-04-25 12:19:33 +02:00
checkpatch
ci scripts: ci: check_compliance: Ignore mcuboot Kconfigs 2023-04-24 13:27:53 +02:00
coccinelle
coredump
dts edtlib: finish adding type annotations 2023-04-17 08:58:14 -07:00
footprint footprint: ci: Remove audio SOF samples 2023-03-02 11:46:54 -05:00
generate_usb_vif scripts: generate_vif: cleanup edt loading 2023-04-07 13:37:51 +02:00
gitlint
kconfig scripts: kconfigfunctions: cleanup edt loading 2023-04-07 13:37:51 +02:00
logging/dictionary
net
pylib fb: cfb: Use TYPE_SECTION macros for cfb_fonts 2023-04-19 17:14:54 +02:00
pylint/checkers
release scripts: add list_devicetree_bindings_changes.py 2023-03-25 11:12:38 +01:00
schemas twister: Add configurable flashing timeout 2023-04-08 18:37:33 +02:00
support
tests scripts: tests: tests for choosing binaries 2023-04-14 08:01:31 -04:00
tracing
utils scripts: utils: migrate_mcumgr_kconfigs: Remove IMG dummy header 2023-04-21 16:33:30 +02:00
west_commands runners: stm32cubeprogrammer: fix program files path for win x64 2023-04-24 13:35:26 +02:00
.gitignore
checkpatch.pl
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py
github_helpers.py
list_boards.py
make_bugs_pickle.py
requirements-base.txt scripts: requirements: Move requests and pyserial to base 2023-03-27 07:12:27 -07:00
requirements-build-test.txt
requirements-compliance.txt
requirements-doc.txt
requirements-extras.txt
requirements-run-test.txt scripts: requirements: Move requests and pyserial to base 2023-03-27 07:12:27 -07:00
requirements.txt
series-push-hook.sh
set_assignees.py
snippets.py snippets: Fix cmake path output on Windows 2023-03-27 14:44:39 +00:00
spelling.txt
tags.sh
twister
valgrind.supp
west-commands.yml
zephyr_module.py zephyr modules: add 'snippet_root' support to module.yml 2023-03-26 16:12:41 +02:00