From 7e4216a6c97cadc36a1e5be69652518ff6f34793 Mon Sep 17 00:00:00 2001 From: Gerson Fernando Budke Date: Sun, 3 Nov 2019 16:42:38 -0300 Subject: [PATCH] samples: wpanusb: Add atsamr21_xpro board support Define CONFIG_NET_CONFIG_IEEE802154_DEV_NAME value necessary to enable atsamr21_xpro board on wpanusb sample. The documentation was updated referencing the atsamr21_xpro board. Signed-off-by: Gerson Fernando Budke --- samples/net/wpanusb/README.rst | 3 ++- samples/net/wpanusb/boards/atsamr21_xpro.conf | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 samples/net/wpanusb/boards/atsamr21_xpro.conf diff --git a/samples/net/wpanusb/README.rst b/samples/net/wpanusb/README.rst index 377abe94c37..4c1a2f7ea85 100644 --- a/samples/net/wpanusb/README.rst +++ b/samples/net/wpanusb/README.rst @@ -16,7 +16,8 @@ Requirements ************ - a Zephyr board with supported 802.15.4 radio and supported USB driver - (such as the :ref:`nrf52840_pca10056`) connected via USB to a Linux host + (such as the :ref:`nrf52840_pca10056` or :ref:`atsamr21_xpro`) + connected via USB to a Linux host - wpanusb Linux kernel driver (in the process of being open sourced) - wpan-tools (available for all Linux distributions) diff --git a/samples/net/wpanusb/boards/atsamr21_xpro.conf b/samples/net/wpanusb/boards/atsamr21_xpro.conf new file mode 100644 index 00000000000..18f0ba3e5ab --- /dev/null +++ b/samples/net/wpanusb/boards/atsamr21_xpro.conf @@ -0,0 +1,7 @@ +# +# Copyright (c) 2019, Gerson Fernando Budke +# +# SPDX-License-Identifier: Apache-2.0 +# + +CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="RF2XX_0"