Skip to content

Commit

Permalink
samples: atmel_sam0: Update platform name
Browse files Browse the repository at this point in the history
This update all atmel_sam0 related entries to use the new
platform name.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
  • Loading branch information
nandojve committed Feb 19, 2024
1 parent 7d86f87 commit 5d2818a
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion samples/drivers/counter/alarm/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tests:
- nrf52dk/nrf52832
- nrf52840dk/nrf52840
- nrf9160dk/nrf9160
- atsamd20_xpro
- samd20_xpro
- bl5340_dvk/nrf5340/cpuapp
- gd32e103v_eval
- gd32e507z_eval
Expand Down
2 changes: 1 addition & 1 deletion samples/drivers/counter/alarm/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

struct counter_alarm_cfg alarm_cfg;

#if defined(CONFIG_BOARD_ATSAMD20_XPRO)
#if defined(CONFIG_BOARD_SAMD20_XPRO)
#define TIMER DT_NODELABEL(tc4)
#elif defined(CONFIG_SOC_FAMILY_SAM)
#define TIMER DT_NODELABEL(tc0)
Expand Down
2 changes: 1 addition & 1 deletion samples/net/sockets/echo_client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Example building for the IEEE 802.15.4 RF2XX transceiver:
.. zephyr-app-commands::
:zephyr-app: samples/net/sockets/echo_client
:host-os: unix
:board: [atsamr21_xpro | sam4s_xplained | sam_v71_xult/samv71q21]
:board: [samr21_xpro | sam4s_xplained | sam_v71_xult/samv71q21]
:gen-args: -DEXTRA_CONF_FILE=overlay-802154.conf
:goals: build flash
:compact:
Expand Down
2 changes: 1 addition & 1 deletion samples/net/sockets/echo_client/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tests:
platform_allow: qemu_x86
sample.net.sockets.echo_client.802154.rf2xx:
extra_args: OVERLAY_CONFIG="overlay-802154.conf"
platform_allow: atsamr21_xpro
platform_allow: samr21_xpro
sample.net.sockets.echo_client.802154.rf2xx.xplained:
extra_args:
- SHIELD=atmel_rf2xx_xplained
Expand Down
4 changes: 2 additions & 2 deletions samples/net/sockets/echo_server/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ Example building for the nrf52840dk/nrf52840 with OpenThread support:
:goals: run
:compact:

Example building for the atsamr21_xpro with RF2XX driver support:
Example building for the samr21_xpro with RF2XX driver support:

.. zephyr-app-commands::
:zephyr-app: samples/net/sockets/echo_server
:host-os: unix
:board: [atsamr21_xpro | sam4e_xpro | sam_v71_xult/samv71q21]
:board: [samr21_xpro | sam4e_xpro | sam_v71_xult/samv71q21]
:gen-args: -DEXTRA_CONF_FILE=overlay-802154.conf
:goals: build flash
:compact:
Expand Down
2 changes: 1 addition & 1 deletion samples/net/wpan_serial/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Building and Running

.. zephyr-app-commands::
:zephyr-app: samples/net/wpan_serial
:board: atsamr21_xpro
:board: samr21_xpro
:goals: build flash
:compact:

Expand Down
2 changes: 1 addition & 1 deletion samples/net/wpanusb/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Requirements
************

- a Zephyr board with supported 802.15.4 radio and supported USB driver
(such as the :ref:`nrf52840dk_nrf52840` or :ref:`atsamr21_xpro`)
(such as the :ref:`nrf52840dk_nrf52840` or :ref:`samr21_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)
Expand Down

0 comments on commit 5d2818a

Please sign in to comment.