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 <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2019-11-03 16:42:38 -03:00 committed by Jukka Rissanen
commit 7e4216a6c9
2 changed files with 9 additions and 1 deletions

View file

@ -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)

View file

@ -0,0 +1,7 @@
#
# Copyright (c) 2019, Gerson Fernando Budke
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="RF2XX_0"