boards/sparkfun/rp2040_mikrobus/doc/index.rst
.. zephyr:board:: sparkfun_rp2040_mikrobus
Overview
The SparkFun RP2040 mikroBUS Development Board_ is a low-cost, high
performance platform with flexible digital interfaces. It is equipped
with an RP2040 SoC, an on-board RESET and BOOTSEL button, a blue user LED
for status or test, a WS2812 addressable LED, a USB connector, a microSD
card slot, a mikroBUS socket, a Qwiic connector, a JST single cell battery
connector with a charging circuit and fuel gauge sensor and yellow LED as
battery charging indicator, a Thing Plus or Feather PTH pin layout, and
JTAG PTH pins. The USB bootloader allows it to be flashed without any
adapter, in a drag-and-drop manner.
Hardware
Qwiic_ or STEMMA QT_ connectormikroBUS_ socketThing Plus_ or Feather_ pin header.. zephyr:board-supported-hw::
The 16MB QSPI flash is partitioned into the following two main blocks by default. At the beginning is a 1MB section for program code (including the 256 bytes of boot information), followed by a 15MB storage area for application data or file systems.
The peripherals of the RP2040 SoC can be routed to various pins on the board. The configuration of these routes can be modified through DTS. Please refer to the datasheet to see the possible routings for each peripheral.
.. rst-class:: rst-columns
Programming and Debugging
.. zephyr:board-supported-runners::
The RP2040 mikroBUS Development Board does make the SWD pins available on JTAG PTH pins in the middle of the board. You can solder a 2x5 1.27mm IDC pin header here, and use a JTAG/SWD debugger.
You can also flash the RP2040 mikroBUS Development Board with a UF2 file.
By default, building an app for this board will generate a
:file:build/zephyr/zephyr.uf2 file. If the RP2040 mikroBUS Development
Board is powered on with the BOOTSEL button pressed, it will appear
on the host as a mass storage device. The UF2 file should be copied to
the device, which will flash the RP2040 mikroBUS Development Board.
.. target-notes::
.. _Getting Started with Raspberry Pi Pico: https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
.. _SparkFun RP2040 mikroBUS Development Board: https://www.sparkfun.com/sparkfun-rp2040-mikrobus-development-board.html
.. _SparkFun RP2040 mikroBUS Development Board Schematic: https://cdn.sparkfun.com/assets/b/8/a/9/b/RP2040_MikroBUS_schematic.pdf
.. _SparkFun RP2040 mikroBUS Development Board Hookup Guide: https://learn.sparkfun.com/tutorials/rp2040-mikrobus-development-board-hookup-guide
.. _mikroBUS: https://www.mikroe.com/mikrobus
.. _Qwiic: https://www.sparkfun.com/qwiic
.. _Thing Plus: https://www.sparkfun.com/thing-plus
.. _Feather: https://learn.adafruit.com/adafruit-feather
.. _STEMMA QT: https://learn.adafruit.com/introducing-adafruit-stemma-qt