Commit 9ec8aec7 authored by Hubert Miś's avatar Hubert Miś Committed by Carles Cufi
Browse files

samples: boards: nrf: ieee802154: New serialization sample



A new sample exposing IEEE 802.15.4 radio controller using serialization
over IPM drivers.

Signed-off-by: default avatarHubert Miś <hubert.mis@nordicsemi.no>
parent 09f6e8a1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ menuconfig NRF_802154_RADIO_DRIVER
	bool "Enable nRF IEEE 802.15.4 radio driver"
	depends on HAS_HW_NRF_RADIO_IEEE802154
	select DYNAMIC_INTERRUPTS
	select ENTROPY_GENERATOR
	help
	  This option enables nRF IEEE 802.15.4 radio driver in Zephyr. Note,
	  that beside the radio peripheral itself, this drivers occupies several
+8 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(802154_rpmsg)

target_sources(app PRIVATE src/main.c)
+32 −0
Original line number Diff line number Diff line
.. _nrf-ieee802154-rpmsg-sample:

nRF IEEE 802.15.4: Serialization RPMsg
######################################

Overview
********

This sample exposes IEEE 802.15.4 radio driver support
to another device or CPU using the RPMsg transport which is
a part of `OpenAMP <https://github.com/OpenAMP/open-amp/>`__.

Requirements
************

* A board with nRF53 SoC

Building and Running
********************

This sample can be found under :zephyr_file:`samples/boards/nrf/ieee802154/802154_rpmsg`
in the Zephyr tree.

To use this application, you need a board with nRF53 SoC.
You can then build this application and flash it onto your board in
the usual way. See :ref:`boards` for board-specific building and
programming information.

To test this sample, you need a separate device/CPU that acts as 802.15.4
serialization RPMsg peer.
This sample is compatible with the Nordic 802.15.4 serialization. See the
:option:`CONFIG_NRF_802154_SER_HOST` configuration option for more information.
+6 −0
Original line number Diff line number Diff line
CONFIG_OPENAMP=y
CONFIG_OPENAMP_MASTER=n
CONFIG_OPENAMP_SLAVE=y

CONFIG_NRF_802154_SER_RADIO=y
CONFIG_NRF_802154_SL_OPENSOURCE=y
+4 −0
Original line number Diff line number Diff line
sample:
  description: Allows Zephyr to provide 802.15.4 connectivity
    for nRF devices via RPMsg.
  name: 802.15.4 RPMsg serialization
Loading