Skip to content

Commit

Permalink
target/descriptor: Support adb_port parameter
Browse files Browse the repository at this point in the history
devlib/AdbConnection class supports customizing ADB port number. Enable
that feature in WA side.

Signed-off-by: Metin Kaya <[email protected]>
  • Loading branch information
metin-arm authored and marcbonnici committed Jul 11, 2024
1 parent 6fc5340 commit 412a785
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/user_information/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions wa/framework/target/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ def get_descriptions(self): # pylint: disable=no-self-use
description="""
ADB server to connect to.
"""),
Parameter(
'adb_port', kind=int,
description="""
ADB port to connect to.
"""),
Parameter(
'poll_transfers', kind=bool,
default=True,
Expand Down

0 comments on commit 412a785

Please sign in to comment.