Skip to content

Commit

Permalink
tests: benchmarks: try adc, gpio and spim with DVFS
Browse files Browse the repository at this point in the history
Testing

Signed-off-by: Piotr Kosycarz <[email protected]>
  • Loading branch information
nordic-piks committed Jan 17, 2025
1 parent 4389cc3 commit a689ba8
Show file tree
Hide file tree
Showing 8 changed files with 312 additions and 66 deletions.
21 changes: 21 additions & 0 deletions tests/benchmarks/multicore/idle_spim_loopback/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,25 @@ config GLOBAL_DOMAIN_CLOCK_FREQUENCY_MHZ
default 128 if GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ
default 64 if GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ

choice LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION
prompt "Local domain clock frequency"
default LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_320MHZ

config LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_320MHZ
bool "320MHz"

config LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ
bool "128MHz"

config LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ
bool "64MHz"

endchoice

config LOCAL_DOMAIN_CLOCK_FREQUENCY_MHZ
int
default 320 if LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_320MHZ
default 128 if LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ
default 64 if LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ

source "Kconfig.zephyr"
49 changes: 40 additions & 9 deletions tests/benchmarks/multicore/idle_spim_loopback/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,55 @@ static struct k_timer my_timer;
static bool timer_expired;

#if defined(CONFIG_CLOCK_CONTROL)
const struct nrf_clock_spec clk_spec_global_hsfll = {
.frequency = MHZ(CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_MHZ)
// const struct nrf_clock_spec clk_spec_global_hsfll = {

Check failure on line 57 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:57 do not use C99 // comments
// .frequency = MHZ(CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_MHZ)

Check warning on line 58 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

SPACE_BEFORE_TAB

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:58 please, no space before tabs

Check failure on line 58 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:58 do not use C99 // comments
// };

Check failure on line 59 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:59 do not use C99 // comments

// /*

Check failure on line 61 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:61 do not use C99 // comments
// * Set Global Domain frequency (HSFLL120)

Check warning on line 62 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

BLOCK_COMMENT_STYLE

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:62 Block comments use * on subsequent lines

Check failure on line 62 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:62 do not use C99 // comments
// * based on: CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_MHZ

Check failure on line 63 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:63 do not use C99 // comments
// */

Check warning on line 64 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

BLOCK_COMMENT_STYLE

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:64 Block comments use a trailing */ on a separate line

Check failure on line 64 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:64 do not use C99 // comments
// void set_global_domain_frequency(void)

Check failure on line 65 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:65 do not use C99 // comments
// {

Check failure on line 66 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:66 do not use C99 // comments
// int err;

Check failure on line 67 in tests/benchmarks/multicore/idle_spim_loopback/src/main.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

C99_COMMENTS

tests/benchmarks/multicore/idle_spim_loopback/src/main.c:67 do not use C99 // comments
// int res;
// struct onoff_client cli;
// const struct device *hsfll_dev = DEVICE_DT_GET(DT_NODELABEL(hsfll120));

// printk("Requested frequency [Hz]: %d\n", clk_spec_global_hsfll.frequency);
// sys_notify_init_spinwait(&cli.notify);
// err = nrf_clock_control_request(hsfll_dev, &clk_spec_global_hsfll, &cli);
// printk("Return code: %d\n", err);
// __ASSERT_NO_MSG(err < 3);
// __ASSERT_NO_MSG(err >= 0);
// do {
// err = sys_notify_fetch_result(&cli.notify, &res);
// k_yield();
// } while (err == -EAGAIN);
// printk("Clock control request return value: %d\n", err);
// printk("Clock control request response code: %d\n", res);
// __ASSERT_NO_MSG(err == 0);
// __ASSERT_NO_MSG(res == 0);
// }

const struct nrf_clock_spec clk_spec_local_hsfll = {
.frequency = MHZ(CONFIG_LOCAL_DOMAIN_CLOCK_FREQUENCY_MHZ)
};

/*
* Set Global Domain frequency (HSFLL120)
* based on: CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_MHZ
* Set Local Domain frequency (HSFLL120)
* based on: CONFIG_LOCAL_DOMAIN_CLOCK_FREQUENCY_MHZ
*/
void set_global_domain_frequency(void)
void set_local_domain_frequency(void)
{
int err;
int res;
struct onoff_client cli;
const struct device *hsfll_dev = DEVICE_DT_GET(DT_NODELABEL(hsfll120));
const struct device *hsfll_dev = DEVICE_DT_GET(DT_NODELABEL(cpuapp_hsfll));

printk("Requested frequency [Hz]: %d\n", clk_spec_global_hsfll.frequency);
printk("Requested frequency [Hz]: %d\n", clk_spec_local_hsfll.frequency);
sys_notify_init_spinwait(&cli.notify);
err = nrf_clock_control_request(hsfll_dev, &clk_spec_global_hsfll, &cli);
err = nrf_clock_control_request(hsfll_dev, &clk_spec_local_hsfll, &cli);
printk("Return code: %d\n", err);
__ASSERT_NO_MSG(err < 3);
__ASSERT_NO_MSG(err >= 0);
Expand Down Expand Up @@ -141,7 +172,7 @@ int main(void)
__ASSERT(ret == 0, "Could not configure led GPIO");
k_msleep(1000);
gpio_pin_set_dt(&led, 1);
set_global_domain_frequency();
set_local_domain_frequency();
k_msleep(100);
#else
ret = gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE);
Expand Down
142 changes: 85 additions & 57 deletions tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,44 +84,44 @@ tests:
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.4_bytes.gd_freq_256MHz.s2ram_fast:
tags: ppk_power_measure
extra_args:
- idle_spim_loopback_CONF_FILE=prj_s2ram.conf
- idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
- CONFIG_CLOCK_CONTROL=y
- CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_256MHZ=y
harness: pytest
harness_config:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.4_bytes.gd_freq_128MHz.s2ram_fast:
tags: ppk_power_measure
extra_args:
- idle_spim_loopback_CONF_FILE=prj_s2ram.conf
- idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
- CONFIG_CLOCK_CONTROL=y
- CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ=y
harness: pytest
harness_config:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.4_bytes.gd_freq_64MHz.s2ram_fast:
tags: ppk_power_measure
extra_args:
- idle_spim_loopback_CONF_FILE=prj_s2ram.conf
- idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
- CONFIG_CLOCK_CONTROL=y
- CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ=y
harness: pytest
harness_config:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"
# benchmarks.multicore.idle_spim_loopback.4_bytes.gd_freq_256MHz.s2ram_fast:
# tags: ppk_power_measure
# extra_args:
# - idle_spim_loopback_CONF_FILE=prj_s2ram.conf
# - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
# - CONFIG_CLOCK_CONTROL=y
# - CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_256MHZ=y
# harness: pytest
# harness_config:
# fixture: spi_loopback
# pytest_root:
# - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

Check warning on line 98 in tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (line-length)

tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml:98 line too long (114 > 100 characters)

# benchmarks.multicore.idle_spim_loopback.4_bytes.gd_freq_128MHz.s2ram_fast:
# tags: ppk_power_measure
# extra_args:
# - idle_spim_loopback_CONF_FILE=prj_s2ram.conf
# - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
# - CONFIG_CLOCK_CONTROL=y
# - CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ=y
# harness: pytest
# harness_config:
# fixture: spi_loopback
# pytest_root:
# - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

Check warning on line 111 in tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (line-length)

tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml:111 line too long (114 > 100 characters)

# benchmarks.multicore.idle_spim_loopback.4_bytes.gd_freq_64MHz.s2ram_fast:
# tags: ppk_power_measure
# extra_args:
# - idle_spim_loopback_CONF_FILE=prj_s2ram.conf
# - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
# - CONFIG_CLOCK_CONTROL=y
# - CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ=y
# harness: pytest
# harness_config:
# fixture: spi_loopback
# pytest_root:
# - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

Check warning on line 124 in tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (line-length)

tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml:124 line too long (114 > 100 characters)

#
# 16 Bytes of data
Expand Down Expand Up @@ -203,47 +203,75 @@ tests:
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.16_bytes.gd_freq_256MHz.s2ram_fast:
benchmarks.multicore.idle_spim_loopback.16_bytes.s2ram_fast.ld_64MHz:
tags: ppk_power_measure
extra_args:
- idle_spim_loopback_CONF_FILE=prj_s2ram.conf
- idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
- idle_spim_loopback_CONFIG_DATA_FIELD=16
- CONFIG_CLOCK_CONTROL=y
- CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_256MHZ=y
- idle_spim_loopback_CONFIG_CLOCK_CONTROL=y
- idle_spim_loopback_CONFIG_LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ=y
harness: pytest
harness_config:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.16_bytes.gd_freq_128MHz.s2ram_fast:
benchmarks.multicore.idle_spim_loopback.16_bytes.s2ram_fast.ld_128MHz:
tags: ppk_power_measure
extra_args:
- idle_spim_loopback_CONF_FILE=prj_s2ram.conf
- idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
- idle_spim_loopback_CONFIG_DATA_FIELD=16
- CONFIG_CLOCK_CONTROL=y
- CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ=y
- idle_spim_loopback_CONFIG_CLOCK_CONTROL=y
- idle_spim_loopback_CONFIG_LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ=y
harness: pytest
harness_config:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

benchmarks.multicore.idle_spim_loopback.16_bytes.gd_freq_64MHz.s2ram_fast:
tags: ppk_power_measure
extra_args:
- idle_spim_loopback_CONF_FILE=prj_s2ram.conf
- idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
- idle_spim_loopback_CONFIG_DATA_FIELD=16
- CONFIG_CLOCK_CONTROL=y
- CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ=y
harness: pytest
harness_config:
fixture: spi_loopback
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"
# benchmarks.multicore.idle_spim_loopback.16_bytes.gd_freq_256MHz.s2ram_fast:
# tags: ppk_power_measure
# extra_args:
# - idle_spim_loopback_CONF_FILE=prj_s2ram.conf
# - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
# - idle_spim_loopback_CONFIG_DATA_FIELD=16
# - CONFIG_CLOCK_CONTROL=y
# - CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_256MHZ=y
# harness: pytest
# harness_config:
# fixture: spi_loopback
# pytest_root:
# - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

Check warning on line 246 in tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (line-length)

tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml:246 line too long (114 > 100 characters)

# benchmarks.multicore.idle_spim_loopback.16_bytes.gd_freq_128MHz.s2ram_fast:
# tags: ppk_power_measure
# extra_args:
# - idle_spim_loopback_CONF_FILE=prj_s2ram.conf
# - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
# - idle_spim_loopback_CONFIG_DATA_FIELD=16
# - CONFIG_CLOCK_CONTROL=y
# - CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ=y
# harness: pytest
# harness_config:
# fixture: spi_loopback
# pytest_root:
# - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

Check warning on line 260 in tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (line-length)

tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml:260 line too long (114 > 100 characters)

# benchmarks.multicore.idle_spim_loopback.16_bytes.gd_freq_64MHz.s2ram_fast:
# tags: ppk_power_measure
# extra_args:
# - idle_spim_loopback_CONF_FILE=prj_s2ram.conf
# - idle_spim_loopback_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
# - idle_spim_loopback_CONFIG_DATA_FIELD=16
# - CONFIG_CLOCK_CONTROL=y
# - CONFIG_GLOBAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ=y
# harness: pytest
# harness_config:
# fixture: spi_loopback
# pytest_root:
# - "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_spim_and_s2ram"

Check warning on line 274 in tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (line-length)

tests/benchmarks/multicore/idle_spim_loopback/testcase.yaml:274 line too long (114 > 100 characters)

#
# 4 Bytes of data with SPI Chip Select Lock enabled
Expand Down
29 changes: 29 additions & 0 deletions tests/benchmarks/power_consumption/adc/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# Copyright (c) 20245 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#


choice LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION
prompt "Local domain clock frequency"
default LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_320MHZ

config LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_320MHZ
bool "320MHz"

config LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ
bool "128MHz"

config LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ
bool "64MHz"

endchoice

config LOCAL_DOMAIN_CLOCK_FREQUENCY_MHZ
int
default 320 if LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_320MHZ
default 128 if LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ
default 64 if LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ

source "Kconfig.zephyr"
30 changes: 30 additions & 0 deletions tests/benchmarks/power_consumption/adc/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,33 @@ tests:
fixture: ppk_power_measure
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_thread_suspend_resume_adc_54H"
benchmarks.power_consumption.adc_nrf54h.ld_64MHz:
sysbuild: true
integration_platforms:
- nrf54h20dk/nrf54h20/cpuapp
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
extra_args:
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
- adc_CONFIG_CLOCK_CONTROL=y
- adc_CONFIG_LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_64MHZ=y
harness: pytest
harness_config:
fixture: ppk_power_measure
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_thread_suspend_resume_adc_54H"
benchmarks.power_consumption.adc_nrf54h.ld_128MHz:
sysbuild: true
integration_platforms:
- nrf54h20dk/nrf54h20/cpuapp
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp
extra_args:
- SB_CONF_FILE=sysbuild/nrf54h20dk_nrf54h20_cpurad.conf
- adc_CONFIG_CLOCK_CONTROL=y
- adc_CONFIG_LOCAL_DOMAIN_CLOCK_FREQUENCY_OPTION_128MHZ=y
harness: pytest
harness_config:
fixture: ppk_power_measure
pytest_root:
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_thread_suspend_resume_adc_54H"

Check warning on line 57 in tests/benchmarks/power_consumption/adc/testcase.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (new-line-at-end-of-file)

tests/benchmarks/power_consumption/adc/testcase.yaml:57 no new line character at the end of file
Loading

0 comments on commit a689ba8

Please sign in to comment.