From 9c381e5a16a9f87a160df505f73b9950ca2ea9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ayt=C3=BCrk=20D=C3=BCzen?= Date: Tue, 21 May 2024 11:10:36 +0200 Subject: [PATCH] boards: update nrf board names to hw model 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/zephyrproject-rtos/zephyr/issues/51831 Signed-off-by: Aytürk Düzen --- autopts/ptsprojects/boards/nrf52.py | 2 +- autopts/ptsprojects/boards/nrf52_wsl.py | 2 +- autopts/ptsprojects/boards/nrf53.py | 4 ++-- autopts/ptsprojects/boards/nrf54l.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/autopts/ptsprojects/boards/nrf52.py b/autopts/ptsprojects/boards/nrf52.py index 928da7364e..266dd766cd 100644 --- a/autopts/ptsprojects/boards/nrf52.py +++ b/autopts/ptsprojects/boards/nrf52.py @@ -17,4 +17,4 @@ from .nrf5x import * -board_type = 'nrf52840dk_nrf52840' +board_type = 'nrf52840dk/nrf52840' diff --git a/autopts/ptsprojects/boards/nrf52_wsl.py b/autopts/ptsprojects/boards/nrf52_wsl.py index fb28ba49a4..a4dc859633 100644 --- a/autopts/ptsprojects/boards/nrf52_wsl.py +++ b/autopts/ptsprojects/boards/nrf52_wsl.py @@ -24,7 +24,7 @@ supported_projects = ['zephyr'] -board_type = 'nrf52840dk_nrf52840' +board_type = 'nrf52840dk/nrf52840' def reset_cmd(iutctl): diff --git a/autopts/ptsprojects/boards/nrf53.py b/autopts/ptsprojects/boards/nrf53.py index 4f338b77a9..aa62a50c3a 100644 --- a/autopts/ptsprojects/boards/nrf53.py +++ b/autopts/ptsprojects/boards/nrf53.py @@ -16,7 +16,7 @@ from .nrf5x import * from autopts.bot.common import check_call -board_type = 'nrf5340dk_nrf5340_cpuapp' +board_type = 'nrf5340dk/nrf5340/cpuapp' def build_and_flash(zephyr_wd, board, debugger_snr, conf_file=None, *args): @@ -44,7 +44,7 @@ def build_and_flash(zephyr_wd, board, debugger_snr, conf_file=None, *args): check_call(cmd, cwd=tester_dir) check_call(['west', 'flash', '--skip-rebuild', '--recover', '-i', debugger_snr], cwd=tester_dir) - cmd = ['west', 'build', '-b', 'nrf5340dk_nrf5340_cpunet', '--', + cmd = ['west', 'build', '-b', 'nrf5340dk/nrf5340/cpunet', '--', f'-DOVERLAY_CONFIG=\'nrf5340_cpunet_iso-bt_ll_sw_split.conf;' f'../../../tests/bluetooth/tester/nrf5340_hci_ipc_cpunet.conf\''] check_call(cmd, cwd=controller_dir) diff --git a/autopts/ptsprojects/boards/nrf54l.py b/autopts/ptsprojects/boards/nrf54l.py index 4c8682cf50..8f52d92663 100644 --- a/autopts/ptsprojects/boards/nrf54l.py +++ b/autopts/ptsprojects/boards/nrf54l.py @@ -16,5 +16,5 @@ from .nrf5x import * -board_type = 'nrf54l15pdk_nrf54l15_cpuapp' +board_type = 'nrf54l15pdk/nrf54l15/cpuapp'