Skip to content

Commit 747440c

Browse files
soburicarlescufi
authored andcommitted
boards: arduino: uno_r4: Update document about Arduino UNO R4 WiFi
Update documents about adding Arduino UNO R4 WiFi. Adding a description that a debug adapter is required when flashing and debugging. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 1b25601 commit 747440c

File tree

1 file changed

+58
-5
lines changed

1 file changed

+58
-5
lines changed

boards/arduino/uno_r4/doc/index.rst

+58-5
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,58 @@
11
.. _arduino_uno_r4:
22

3-
Arduino UNO R4 Minima
4-
#####################
3+
Arduino UNO R4
4+
##############
55

66
Overview
77
********
88

9-
The Arduino UNO R4 Minima is a development board featuring the Renesas RA4M1 SoC
9+
The Arduino UNO R4 Minima/WiFi is a development board featuring the Renesas RA4M1 SoC
1010
in the Arduino form factor and is compatible with traditional Arduino.
1111

12+
Hardware
13+
********
14+
15+
- Renesas RA4MA1 Processor (ARM Cortex-M4 at 48 MHz)
16+
- 256 KiB flash memory and 32 KiB of RAM
17+
- One user LEDs
18+
- One reset button
19+
- One WiFi Transceiver (Arduino UNO R4 WiFi only)
20+
- One 12x8 LED Matrix (Arduino UNO R4 WiFi only)
21+
- Built-in CMSIS-DAP debug adapter (Arduino UNO R4 WiFi only)
22+
23+
Supported Features
24+
==================
25+
26+
The Arduino UNO R4 Minima/Wifi board configuration supports the following
27+
hardware features:
28+
29+
+-----------+------------+------------------------------------------+
30+
| Interface | Controller | Driver/Component |
31+
+===========+============+==========================================+
32+
| GPIO | on-chip | I/O ports |
33+
+-----------+------------+------------------------------------------+
34+
| UART | on-chip | Serial ports |
35+
+-----------+------------+------------------------------------------+
36+
1237
Programming and debugging
1338
*************************
1439

40+
Debug adapter
41+
=============
42+
43+
A debug adapter is required to flash and debug programs.
44+
Arduino UNO R4 WiFi has a built-in debug adapter that
45+
you can use for flashing and debugging.
46+
47+
In the Arduino UNO R4 Minima case, You need to prepare
48+
debug adapter separately. A 5V-compatible CMSIS-DAP adapter
49+
adapts to this board.
50+
51+
1552
Building & Flashing
1653
===================
1754

18-
You can build and flash an application in the usual way (See
55+
You can build and flash with ``west flash`` command (See
1956
:ref:`build_an_application` and
2057
:ref:`application_run` for more details).
2158

@@ -26,10 +63,15 @@ Here is an example for building and flashing the :zephyr:code-sample:`blinky` ap
2663
:board: arduino_uno_r4_minima
2764
:goals: build flash
2865

66+
.. zephyr-app-commands::
67+
:zephyr-app: samples/basic/blinky
68+
:board: arduino_uno_r4_wifi
69+
:goals: build flash
70+
2971
Debugging
3072
=========
3173

32-
Debugging also can be done in the usual way.
74+
Debugging can be done with ``west debug`` command.
3375
The following command is debugging the :zephyr:code-sample:`blinky` application.
3476
Also, see the instructions specific to the debug server that you use.
3577

@@ -39,6 +81,12 @@ Also, see the instructions specific to the debug server that you use.
3981
:maybe-skip-config:
4082
:goals: debug
4183

84+
.. zephyr-app-commands::
85+
:zephyr-app: samples/basic/blinky
86+
:board: arduino_uno_r4_wifi
87+
:maybe-skip-config:
88+
:goals: debug
89+
4290

4391
Using pyOCD
4492
-----------
@@ -62,3 +110,8 @@ If you corrupt the Arduino bootloader, you can restore it with the following com
62110
63111
wget https://raw.githubusercontent.com/arduino/ArduinoCore-renesas/main/bootloaders/UNO_R4/dfu_minima.hex
64112
pyocd flash -e sector -a 0x0 -t r7fa4m1ab dfu_minima.hex
113+
114+
.. code-block:: console
115+
116+
wget https://raw.githubusercontent.com/arduino/ArduinoCore-renesas/main/bootloaders/UNO_R4/dfu_wifi.hex
117+
pyocd flash -e sector -a 0x0 -t r7fa4m1ab dfu_wifi.hex

0 commit comments

Comments
 (0)