zephyr/scripts
Mike Szczys 7eaca455fa twister: fix serial connection for flash_before
The --flash-before flag allows devices to be flashed before the serial
connection is established. However, the implementation was incomplete and
only worked if the port address already existed at the start of the run.
This is incompatible with devices that implement the USB in software
(eg: USB-CDC).

This commit fixes the implementation to delay setting up the connection
until after the device is flashed, and to retry the connection for two
seconds after flashing to give the device time to enumerate as a USB
device.

Signed-off-by: Mike Szczys <mike@golioth.io>
2024-05-22 21:39:13 -04:00
..
build subsys/llext: Generate syscalls stubs for EDK exclusively for userspace 2024-05-17 16:21:48 +01:00
checkpatch
ci scripts: ci: test_plan: add parameter for no of testcase roots 2024-05-21 16:43:28 -04:00
coccinelle
coredump arch: riscv: update coredump for 64BIT RISCV 2024-04-13 07:03:23 -04:00
dts devicetree: Add DT/DT_INST_CHILD_NUM and DT/DT_INST_CHILD_NUM_STATUS_OKAY 2024-05-03 11:18:43 +02:00
footprint scripts: size_report: Fix tree build for symbol copies 2024-05-13 16:04:59 -04:00
generate_usb_vif
gitlint gitlint: do not allow treewide as an area in commit messages 2024-04-10 09:22:24 +02:00
kconfig Bluetooth: Remove legacy debug symbols 2024-05-07 09:49:27 +02:00
logging/dictionary scripts: logging: support native_posix dictionary logging 2024-04-12 11:54:18 +02:00
native_simulator native_simulator: Rework fuzzing support 2024-05-02 20:46:03 +03:00
net tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
pylib twister: fix serial connection for flash_before 2024-05-22 21:39:13 -04:00
pylint/checkers
release
schemas scripts: twister: Remove harness repeat field 2024-04-30 18:23:23 +02:00
support
tests scripts: twister: Fix Unit Tests on Windows systems 2024-05-15 17:08:06 +02:00
tracing
utils hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
west_commands scripts: west: commands: build: fix pylint issue 2024-05-21 16:47:24 -04:00
.gitignore
checkpatch.pl scripts/checkpatch: Improve blank line check after declarations 2024-04-19 17:03:49 +00:00
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py MAINTAINERS: add 2 new keys: tags, tests 2023-12-22 09:54:12 +01:00
github_helpers.py
list_boards.py scripts: Loader change 2024-05-07 09:38:00 +02:00
list_hardware.py scripts: Loader change 2024-05-07 09:38:00 +02:00
list_shields.py scripts: list_shields: add script for listing the supported shields 2024-05-21 16:47:24 -04:00
make_bugs_pickle.py
requirements-base.txt scripts: dts: update pyyaml version 2024-03-29 09:03:34 -04:00
requirements-build-test.txt scripts: coverage: gcovr to ignore negative counters 2023-11-03 07:57:10 -04:00
requirements-compliance.txt
requirements-extras.txt scripts/requirements: bump imgtool to 2.0.0 2024-02-12 23:26:04 +01:00
requirements-run-test.txt scripts: tests: --package-artifacts fix, blackbox tests 2024-03-11 16:12:55 -04:00
requirements.txt
series-push-hook.sh
set_assignees.py scripts: set_maintainer: add log messages for skipped collabs 2024-04-04 11:14:42 +01:00
snippets.py terminology: adopt CMake, python, and Kconfig code to use qualifiers 2024-03-21 15:32:17 +01:00
spelling.txt spelling: Replace occurrences of "iff" with "if and only if" 2024-05-06 14:58:08 +01:00
tags.sh
twister twister: Add Twister execution options to twister.json 2024-05-15 14:56:59 +02:00
valgrind.supp valgrind: Update POSIX soc no cpu cleanup suppression 2023-11-29 15:33:49 +01:00
west-commands.yml scripts: west: commands: shields: add cmd for listing supported shields 2024-05-21 16:47:24 -04:00
zephyr_module.py scripts: Loader change 2024-05-07 09:38:00 +02:00