-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <jakub.zymelka@nordicsemi.no>
- Loading branch information
1 parent
78f6547
commit 4d49986
Showing
2 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
samples/basic/blinky/boards/nrf54l15dk_nrf54l15_cpuapp_egpio.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,51 @@ | ||
sample: | ||
name: Blinky Sample | ||
common: | ||
tags: | ||
- LED | ||
- gpio | ||
depends_on: gpio | ||
tests: | ||
sample.basic.blinky: | ||
tags: | ||
- LED | ||
- gpio | ||
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") | ||
depends_on: gpio | ||
harness: led | ||
integration_platforms: | ||
- frdm_k64f | ||
|
||
sample.basic.blinky.egpio_icmsg: | ||
sysbuild: true | ||
platform_allow: | ||
- nrf54l15dk/nrf54l15/cpuapp | ||
integration_platforms: | ||
- nrf54l15dk/nrf54l15/cpuapp | ||
extra_args: blinky_SNIPPET=emulated-gpio-icmsg | ||
SB_CONFIG_SDP=y | ||
SB_CONFIG_EGPIO_FLPR_APPLICATION=y | ||
SB_CONFIG_PARTITION_MANAGER=n | ||
EXTRA_DTC_OVERLAY_FILE="./boards/nrf54l15dk_nrf54l15_cpuapp_egpio.overlay" | ||
harness: console | ||
harness_config: | ||
type: multi_line | ||
ordered: true | ||
regex: | ||
- "LED state: ON" | ||
- "LED state: OFF" | ||
|
||
sample.basic.blinky.egpio_mbox: | ||
sysbuild: true | ||
platform_allow: | ||
- nrf54l15dk/nrf54l15/cpuapp | ||
integration_platforms: | ||
- nrf54l15dk/nrf54l15/cpuapp | ||
extra_args: blinky_SNIPPET=emulated-gpio-mbox | ||
SB_CONFIG_SDP=y | ||
SB_CONFIG_EGPIO_FLPR_APPLICATION=y | ||
SB_CONFIG_PARTITION_MANAGER=n | ||
EXTRA_DTC_OVERLAY_FILE="./boards/nrf54l15dk_nrf54l15_cpuapp_egpio.overlay" | ||
harness: console | ||
harness_config: | ||
type: multi_line | ||
ordered: true | ||
regex: | ||
- "LED state: ON" | ||
- "LED state: OFF" |