ARC: west: mdb runner: support 12 cores targets
Bump number of cores limit in mdb west runner. As we are here - adjust core number in runner test closer to the limit. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
54e0731666
commit
06b28fc4ea
2 changed files with 5 additions and 5 deletions
|
@ -72,7 +72,7 @@ def mdb_do_run(mdb_runner, command):
|
||||||
if mdb_runner.cores == 1:
|
if mdb_runner.cores == 1:
|
||||||
# single core's mdb command is different with multicores
|
# single core's mdb command is different with multicores
|
||||||
mdb_cmd = [commander] + mdb_basic_options + mdb_target + mdb_run + [mdb_runner.elf_name]
|
mdb_cmd = [commander] + mdb_basic_options + mdb_target + mdb_run + [mdb_runner.elf_name]
|
||||||
elif 1 < mdb_runner.cores <= 4:
|
elif 1 < mdb_runner.cores <= 12:
|
||||||
mdb_multifiles = '-multifiles='
|
mdb_multifiles = '-multifiles='
|
||||||
for i in range(mdb_runner.cores):
|
for i in range(mdb_runner.cores):
|
||||||
mdb_sub_cmd = [commander] + ['-pset={}'.format(i + 1), '-psetname=core{}'.format(i)]
|
mdb_sub_cmd = [commander] + ['-pset={}'.format(i + 1), '-psetname=core{}'.format(i)]
|
||||||
|
|
|
@ -92,8 +92,8 @@ TEST_HW_FLASH_CASES_ERR = [
|
||||||
'i': ['--jtag=test_debug', '--cores=1'],
|
'i': ['--jtag=test_debug', '--cores=1'],
|
||||||
'e': "unsupported jtag adapter test_debug"
|
'e': "unsupported jtag adapter test_debug"
|
||||||
},{
|
},{
|
||||||
'i': ['--jtag=digilent', '--cores=16'],
|
'i': ['--jtag=digilent', '--cores=13'],
|
||||||
'e': "unsupported cores 16"
|
'e': "unsupported cores 13"
|
||||||
}]
|
}]
|
||||||
|
|
||||||
TEST_HW_DEBUG_CASES = [
|
TEST_HW_DEBUG_CASES = [
|
||||||
|
@ -116,8 +116,8 @@ TEST_HW_DEBUG_CASES_ERR = [
|
||||||
'i': ['--jtag=test_debug', '--cores=1'],
|
'i': ['--jtag=test_debug', '--cores=1'],
|
||||||
'e': "unsupported jtag adapter test_debug"
|
'e': "unsupported jtag adapter test_debug"
|
||||||
}, {
|
}, {
|
||||||
'i': ['--jtag=digilent', '--cores=16'],
|
'i': ['--jtag=digilent', '--cores=13'],
|
||||||
'e': "unsupported cores 16"
|
'e': "unsupported cores 13"
|
||||||
}]
|
}]
|
||||||
|
|
||||||
TEST_HW_MULTICORE_CASES = [['--jtag=digilent', '--cores=2']]
|
TEST_HW_MULTICORE_CASES = [['--jtag=digilent', '--cores=2']]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue