-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add simple readme for SDP GPIO application. Signed-off-by: Marcin Szymczyk <[email protected]>
- Loading branch information
1 parent
41bc7bf
commit 39af1e8
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
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,35 @@ | ||
.. _sdp_gpio: | ||
|
||
SDP GPIO | ||
######## | ||
|
||
This application demonstrates how to create SDP on FLPR in Zephyr threadless mode by implementing a subset of Zephyr GPIO API. | ||
It is intended for use with Zephyr's :zephyr:code-sample:`blinky` sample. | ||
|
||
You can use the following IPC backends: | ||
|
||
* mbox (:kconfig:option:`SB_CONFIG_SDP_GPIO_BACKEND_MBOX`) | ||
* icmsg (:kconfig:option:`SB_CONFIG_SDP_GPIO_BACKEND_ICMSG`) | ||
* icbmsg (:kconfig:option:`SB_CONFIG_SDP_GPIO_BACKEND_ICBMSG`) | ||
|
||
Requirements | ||
************ | ||
|
||
The firmware supports the following development kit: | ||
|
||
.. table-from-sample-yaml:: | ||
|
||
Building and running | ||
******************** | ||
|
||
You must include code for both the application core and FLPR core. | ||
The recommended method is to build the :zephyr:code-sample:`blinky` with the necessary sysbuild configuration. | ||
|
||
For example, to build with icmsg backend, run the following commands: | ||
|
||
.. code-block:: console | ||
west build -b nrf54l15dk/nrf54l15/cpuapp -- -DSB_CONFIG_PARTITION_MANAGER=n -DSB_CONFIG_SDP=y -DSB_CONFIG_SDP_GPIO=y -DSB_CONFIG_SDP_GPIO_BACKEND_ICMSG=y -DEXTRA_DTC_OVERLAY_FILE="./boards/nrf54l15dk_nrf54l15_cpuapp_egpio.overlay" | ||
west flash | ||
Upon successful execution, **LED0** will start flashing. |
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