zephyr/scripts/build
Fabio Baltieri 5212a4c619 scripts: check_init_priorities: use the Zephyr executable file
Rework check_init_priorities to use the main executable file instead of
the individual object files for discovering the devices.

This should make the script more robust in case of stale files in the
build directory, and also makes it work with LTO object files.

Additionally, keep track of the detected init calls, and add a handy
"-i" option to produce a human readable print of the initcalls in the
call sequence, which can be useful for debugging initialization problems
due to odd SYS_INIT and DEVICE interactions.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-09-20 20:24:46 +01:00
..
check_init_priorities.py scripts: check_init_priorities: use the Zephyr executable file 2023-09-20 20:24:46 +01:00
check_init_priorities_test.py scripts: check_init_priorities: use the Zephyr executable file 2023-09-20 20:24:46 +01:00
dir_is_writeable.py scripts: move dir_is_writeable.py to scripts/build 2022-07-12 10:03:45 +02:00
elf_parser.py scripts: build: elf_parser: _DEVICE_STRUCT_HANDLES_OFFSET is optional 2023-09-01 15:50:32 +02:00
file2hex.py scripts: build: file2hex: Add optional offset and length parameters 2023-09-15 13:23:30 +02:00
gen_app_partitions.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_cfb_font_header.py scripts: Update CFB font generator 2023-09-13 14:40:00 -07:00
gen_device_deps.py scripts: build: gen_device_deps: s/--dynamic-handles/--dynamic-deps 2023-06-21 09:32:05 +02:00
gen_image_info.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_isr_tables.py arch: Add support for static shared interrupts 2023-09-14 08:35:12 +02:00
gen_kobject_list.py sensor_shell: Update to new sensor_read API 2023-05-26 11:04:54 -05:00
gen_kobject_placeholders.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_offset_header.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_relocate_app.py build: relocation: Fix long command-line invocations 2023-08-01 09:47:57 -07:00
gen_strerror_table.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_strsignal_table.py posix: signal: implement strsignal 2023-07-18 15:35:42 -04:00
gen_syscalls.py scripts: gen_syscalls: rename shadow variables 2023-08-22 17:30:56 -04:00
mergehex.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
parse_syscalls.py scripts: build: parse_syscalls: Fix duplicate paths on windows 2023-06-19 14:57:39 +02:00
process_gperf.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
subfolder_list.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
uf2conv.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
user_wordsize.py scripts: move user_wordsize.py to scripts/build/user_wordsize.py 2022-07-12 10:03:45 +02:00