File tree Expand file tree Collapse file tree 4 files changed +56
-5
lines changed
tests/benchmarks/current_consumption/nfc_idle Expand file tree Collapse file tree 4 files changed +56
-5
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2024 Nordic Semiconductor ASA
3+ #
4+ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+ #
6+
7+ source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"
8+
9+ config REMOTE_BOARD
10+ string
11+ default "$(BOARD)/nrf54h20/cpurad" if SOC_NRF54H20_CPUAPP
Original file line number Diff line number Diff line change 1- CONFIG_CONSOLE=n
2- CONFIG_UART_CONSOLE=n
3- CONFIG_SERIAL=n
4-
51CONFIG_POWEROFF=y
62
73CONFIG_NFC_T2T_NRFXLIB=y
@@ -10,3 +6,10 @@ CONFIG_NFC_NDEF=y
106CONFIG_NFC_NDEF_MSG=y
117CONFIG_NFC_NDEF_RECORD=y
128CONFIG_NFC_NDEF_TEXT_RECORD=y
9+
10+ # Enable for debugging purpose only
11+ CONFIG_CONSOLE=n
12+ CONFIG_UART_CONSOLE=n
13+ CONFIG_SERIAL=n
14+ CONFIG_PRINTK=n
15+ CONFIG_LOG=n
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2024 Nordic Semiconductor ASA
3+ #
4+ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+ #
6+
7+ if (SB_CONFIG_SOC_NRF54H20)
8+ # Add remote project
9+ ExternalZephyrProject_Add(
10+ APPLICATION remote
11+ SOURCE_DIR ${SYSBUILD_NRF_MODULE_DIR} /tests/benchmarks/power_consumption/common/remote_sleep_forever
12+ BOARD ${SB_CONFIG_REMOTE_BOARD}
13+ BOARD_REVISION ${BOARD_REVISION}
14+ )
15+ # Add a dependency so that the remote image will be built and flashed first
16+ add_dependencies (nfc_idle remote)
17+ # Add dependency so that the remote image is flashed first.
18+ sysbuild_add_dependencies(FLASH nfc_idle remote)
19+ endif ()
Original file line number Diff line number Diff line change @@ -12,5 +12,23 @@ tests:
1212 harness_config :
1313 fixture : ppk_power_measure
1414 pytest_root :
15- - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_with_rx_wakeup_54L_nfc_idle"
15+ - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_with_rx_wakeup_nfc_idle"
16+ timeout : 80
17+
18+ benchmarks.current_consumption.nfc_idle_nrf54h :
19+ platform_allow :
20+ - nrf54h20dk/nrf54h20/cpuapp
21+ integration_platforms :
22+ - nrf54h20dk/nrf54h20/cpuapp
23+ extra_args :
24+ - CONFIG_PM=y
25+ - CONFIG_PM_S2RAM=y
26+ - CONFIG_PM_S2RAM_CUSTOM_MARKING=y
27+ - CONFIG_BOOT_BANNER=n
28+ - CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
29+ harness : pytest
30+ harness_config :
31+ fixture : ppk_power_measure
32+ pytest_root :
33+ - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_with_rx_wakeup_nfc_idle"
1634 timeout : 80
You can’t perform that action at this time.
0 commit comments