From 412a7850683fa05a2d5e9552ac2a2b2617db8e9d Mon Sep 17 00:00:00 2001 From: Metin Kaya Date: Thu, 4 Jul 2024 08:53:15 +0100 Subject: [PATCH] target/descriptor: Support adb_port parameter devlib/AdbConnection class supports customizing ADB port number. Enable that feature in WA side. Signed-off-by: Metin Kaya --- doc/source/user_information/user_guide.rst | 1 + wa/framework/target/descriptor.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/doc/source/user_information/user_guide.rst b/doc/source/user_information/user_guide.rst index 56ae6bbc..535eef5e 100644 --- a/doc/source/user_information/user_guide.rst +++ b/doc/source/user_information/user_guide.rst @@ -373,6 +373,7 @@ below: device: generic_android device_config: adb_server: null + adb_port: null big_core: null core_clusters: null core_names: null diff --git a/wa/framework/target/descriptor.py b/wa/framework/target/descriptor.py index 87a6b250..aeb46ccf 100644 --- a/wa/framework/target/descriptor.py +++ b/wa/framework/target/descriptor.py @@ -308,6 +308,11 @@ CONNECTION_PARAMS = { description=""" ADB server to connect to. """), + Parameter( + 'adb_port', kind=int, + description=""" + ADB port to connect to. + """), Parameter( 'poll_transfers', kind=bool, default=True,