boards/arduino/uno_q/doc/index.rst
.. zephyr:board:: arduino_uno_q
Overview
The Arduino UNO Q is a development board featuring a Qualcomm QRB2210 processor (Quad core ARM Cortex-A53) and an STM32U585 microcontroller. The board is designed around the Arduino form factor and is compatible with traditional Arduino shields and accessories. This port targets the STM32U585 microcontroller on the board.
Hardware
.. zephyr:board-supported-hw::
Programming and debugging
.. zephyr:board-supported-runners::
The QRB2210 microprocessor can act as an SWD debug adapter for the STM32U585.
This is supported by the openocd binary available in the board, and its
functionality can be made available to the computer via adb port forwarding
commands.
This interface is not yet integrated with the west flash command, but
debugging is supported.
Debugging can be done with the usual west debug command after starting the
debug server on the board. The following commands, run from an USB-connected
computer, allow to debug the :zephyr:code-sample:blinky application on the
Uno Q board:
.. code-block:: console
adb forward tcp:3333 tcp:3333 && adb shell arduino-debug
west build -b arduino_uno_q samples/basic/blinky west debug -r openocd
The Arduino UNO Q comes with a pre-installed application that acts as a loader for user sketches, and is shipped as part of the Arduino Zephyr cores. If you overwrite this application, you can restore it later by issuing the following command from an USB-connected computer:
.. code-block:: console
adb shell arduino-cli burn-bootloader -b arduino:zephyr:unoq -P jlink
The same arduino-cli command can also be directly used on the board, when
in standalone mode:
.. code-block:: console
arduino-cli burn-bootloader -b arduino:zephyr:unoq -P jlink