Skip to content

Commit

Permalink
snippets: sdp: gpio: support custom boards
Browse files Browse the repository at this point in the history
Allow using SDP GPIO snippet with custom boards.

Signed-off-by: Marcin Szymczyk <[email protected]>
  • Loading branch information
masz-nordic authored and rlubos committed Nov 13, 2024
1 parent 03653cc commit e4f2005
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 13 deletions.
8 changes: 4 additions & 4 deletions snippets/sdp/gpio/icbmsg/snippet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
name: sdp-gpio-icbmsg

boards:
nrf54l15dk/nrf54l15/cpuapp:
/.*/nrf54l15/cpuapp/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay
EXTRA_CONF_FILE: app.conf
nrf54l15dk/nrf54l15/cpuflpr:
EXTRA_DTC_OVERLAY_FILE: soc/nrf54l15_cpuapp.overlay
/.*/nrf54l15/cpuflpr/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuflpr.overlay
EXTRA_CONF_FILE: flpr.conf
EXTRA_DTC_OVERLAY_FILE: soc/nrf54l15_cpuflpr.overlay
8 changes: 4 additions & 4 deletions snippets/sdp/gpio/icmsg/snippet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
name: sdp-gpio-icmsg

boards:
nrf54l15dk/nrf54l15/cpuapp:
/.*/nrf54l15/cpuapp/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay
EXTRA_CONF_FILE: app.conf
nrf54l15dk/nrf54l15/cpuflpr:
EXTRA_DTC_OVERLAY_FILE: soc/nrf54l15_cpuapp.overlay
/.*/nrf54l15/cpuflpr/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuflpr.overlay
EXTRA_CONF_FILE: flpr.conf
EXTRA_DTC_OVERLAY_FILE: soc/nrf54l15_cpuflpr.overlay
9 changes: 4 additions & 5 deletions snippets/sdp/gpio/mbox/snippet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
name: sdp-gpio-mbox

boards:
nrf54l15dk/nrf54l15/cpuapp:
/.*/nrf54l15/cpuapp/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay
EXTRA_CONF_FILE: app.conf

nrf54l15dk/nrf54l15/cpuflpr:
EXTRA_DTC_OVERLAY_FILE: soc/nrf54l15_cpuapp.overlay
/.*/nrf54l15/cpuflpr/:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuflpr.overlay
EXTRA_CONF_FILE: flpr.conf
EXTRA_DTC_OVERLAY_FILE: soc/nrf54l15_cpuflpr.overlay
Empty file removed snippets/sdp/gpio/sysbuild.conf
Empty file.

0 comments on commit e4f2005

Please sign in to comment.