Skip to content
Snippets Groups Projects
Commit 9d2d1113 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdpv2: randomize t32 intercom port"

parents acc789b0 ca6744c7
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ import struct ...@@ -16,6 +16,7 @@ import struct
import gzip import gzip
import functools import functools
import string import string
import random
from boards import get_supported_boards, get_supported_ids from boards import get_supported_boards, get_supported_ids
from tempfile import NamedTemporaryFile from tempfile import NamedTemporaryFile
...@@ -703,7 +704,7 @@ class RamDump(): ...@@ -703,7 +704,7 @@ class RamDump():
launch_config.write('\n') launch_config.write('\n')
launch_config.write('RCL=NETASSIST\n') launch_config.write('RCL=NETASSIST\n')
launch_config.write('PACKLEN=1024\n') launch_config.write('PACKLEN=1024\n')
launch_config.write('PORT=20000\n') launch_config.write('PORT=%d\n' % random.randint(20000, 30000))
launch_config.write('\n') launch_config.write('\n')
launch_config.close() launch_config.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment