Skip to content

Commit

Permalink
[nrf noup] samples: basic: blinky: add eGPIO tests configuration
Browse files Browse the repository at this point in the history
Add yaml configurations to enable eGPIO tests with sysbuild
and different backends.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
  • Loading branch information
jaz1-nordic committed Sep 9, 2024
1 parent 83195a3 commit ea13f69
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

&led0 {
gpios = <&egpio 7 GPIO_ACTIVE_HIGH>;
};
44 changes: 44 additions & 0 deletions samples/basic/blinky/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions samples/basic/blinky/sysbuild.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SB_CONFIG_PARTITION_MANAGER=n

0 comments on commit ea13f69

Please sign in to comment.