Skip to content

Commit

Permalink
samples: blinky: add eGPIO option
Browse files Browse the repository at this point in the history
Signed-off-by: Magdalena Pastula <[email protected]>
  • Loading branch information
magp-nordic committed Jun 13, 2024
1 parent f79b54b commit 7d391e8
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
37 changes: 37 additions & 0 deletions samples/basic/blinky/boards/nrf54l15pdk_nrf54l15_cpuapp.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@


/ {
soc {
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;

sram_rx: memory@20018000 {
reg = <0x20018000 0x0800>;
};

sram_tx: memory@20020000 {
reg = <0x20020000 0x0800>;
};
};
};

ipc {
ipc0: ipc0 {
compatible = "zephyr,ipc-icmsg";
tx-region = <&sram_tx>;
rx-region = <&sram_rx>;
mboxes = <&mbox_cpuapp_rx_cpuflpr 15>, <&mbox_cpuapp_tx_cpuflpr 16>;
mbox-names = "rx", "tx";
status = "okay";
};
};
};

&mbox_cpuapp_rx_cpuflpr {
status = "okay";
};

&mbox_cpuapp_tx_cpuflpr {
status = "okay";
};
6 changes: 6 additions & 0 deletions samples/basic/blinky/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
CONFIG_GPIO=y

CONFIG_NRFE_GPIO=y

CONFIG_IPC_SERVICE=y
CONFIG_IPC_SERVICE_BACKEND_ICMSG=y
CONFIG_MBOX=y

0 comments on commit 7d391e8

Please sign in to comment.