From ea13f6914b3428fb19e002412eacfd256975fa7e Mon Sep 17 00:00:00 2001 From: Jakub Zymelka Date: Mon, 9 Sep 2024 14:43:43 +0200 Subject: [PATCH] [nrf noup] samples: basic: blinky: add eGPIO tests configuration Add yaml configurations to enable eGPIO tests with sysbuild and different backends. Signed-off-by: Jakub Zymelka --- .../boards/nrf54l15dk_nrf54l15_cpuapp.overlay | 9 ++++ samples/basic/blinky/sample.yaml | 44 +++++++++++++++++++ samples/basic/blinky/sysbuild.conf | 1 + 3 files changed, 54 insertions(+) create mode 100644 samples/basic/blinky/boards/nrf54l15dk_nrf54l15_cpuapp.overlay create mode 100644 samples/basic/blinky/sysbuild.conf diff --git a/samples/basic/blinky/boards/nrf54l15dk_nrf54l15_cpuapp.overlay b/samples/basic/blinky/boards/nrf54l15dk_nrf54l15_cpuapp.overlay new file mode 100644 index 00000000000..1c59420d055 --- /dev/null +++ b/samples/basic/blinky/boards/nrf54l15dk_nrf54l15_cpuapp.overlay @@ -0,0 +1,9 @@ +/* + * Copyright (c) 2024 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +&led0 { + gpios = <&egpio 7 GPIO_ACTIVE_HIGH>; +}; diff --git a/samples/basic/blinky/sample.yaml b/samples/basic/blinky/sample.yaml index de711910dad..9418e325759 100644 --- a/samples/basic/blinky/sample.yaml +++ b/samples/basic/blinky/sample.yaml @@ -10,3 +10,47 @@ tests: harness: led integration_platforms: - frdm_k64f + + sample.basic.blinky.egpio_icmsg: + tags: + - LED + - gpio + filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") + depends_on: gpio + platform_allow: + - nrf54l15dk/nrf54l15/cpuapp + integration_platforms: + - nrf54l15dk/nrf54l15/cpuapp + sysbuild: true + harness: console + harness_config: + type: multi_line + ordered: true + regex: + - "LED state: ON" + - "LED state: OFF" + extra_args: blinky_SNIPPET=emulated-gpio-icmsg + SB_CONFIG_SDP=y + SB_CONFIG_EGPIO_FLPR_APPLICATION=y + + sample.basic.blinky.egpio_mbox: + tags: + - LED + - gpio + filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") + depends_on: gpio + platform_allow: + - nrf54l15dk/nrf54l15/cpuapp + integration_platforms: + - nrf54l15dk/nrf54l15/cpuapp + sysbuild: true + harness: console + harness_config: + type: multi_line + ordered: true + regex: + - "LED state: ON" + - "LED state: OFF" + extra_args: blinky_SNIPPET=emulated-gpio-mbox + SB_CONFIG_SDP=y + SB_CONFIG_EGPIO_FLPR_APPLICATION=y diff --git a/samples/basic/blinky/sysbuild.conf b/samples/basic/blinky/sysbuild.conf new file mode 100644 index 00000000000..6408669a847 --- /dev/null +++ b/samples/basic/blinky/sysbuild.conf @@ -0,0 +1 @@ +SB_CONFIG_PARTITION_MANAGER=n