WisdPi
Store
  • Wiki
  • Blogs
    • How to use Raspberry Pi UART ?
  • RASPBERRY PI
    • RPi Display: 7.84 touch screen
    • RPi HAT: PI-232
      • Photograph
      • Render Image
    • RPi HAT: PI-485
      • Photograph
      • Render Image
    • RPi HAT: WisdPi Hifi DAC
      • Quick start
      • External power input
      • Active power noise reduction feature
      • Mechanical Drawing
      • Photograph
    • RPi HAT: WisdPi Hifi Digi
    • Mini Router
      • Photograph
    • CM4 Mini-ITX Cluster
      • Mechanical Drawing
      • IO Spec
      • Flash OS onto CM4 emmc
      • Photograph
      • Render Image
    • WP-NH5000P
    • WP-NH5000
  • COMPUTER
    • Dynamic Lighting Controller
      • How to use Dynamic Lighting on Windows 11 ?
      • Modify the number of led
      • Photograph
    • WisdSilencer
    • WisdDefender
  • IOT
    • WisdPi Tiny RP2040
    • Ardu2040M
      • Pinout
      • Schematic
      • Software
      • Mechanical Drawing
      • Photograph
    • ArduPico
      • Pinout
      • Software
      • Mechanical Drawing
      • Photograph
  • Network
    • USB 3.2 5Gbps Wired Base-T Ethernet Adapter
    • PCIe 5Gbps Ethernet Adapter
Powered by GitBook
On this page
  • C/C++
  • MicroPython
  • CircuitPython
  • Arduino-Pico
  • Installation
  • Uploading Sketches
  • Debugging with Picoprobe/pico-debug, OpenOCD, and GDB
  1. IOT
  2. Ardu2040M

Software

C/C++, MicroPython, CircuitPython, Arduino

PreviousSchematicNextMechanical Drawing

Last updated 1 year ago

The Ardupico is a versatile microcontroller board that supports all the standard software ecosystems of the Pico. Whether you prefer to code in C/C++, MicroPython, CircuitPython, or any other language, the Ardupico has got you covered.

We recommend using the for easy development and programming. With the Ardupico, you can explore your creativity and bring your ideas to life with ease.

C/C++

Please refer to the Raspberry Pi Documentation -->

MicroPython

Please refer to the Raspberry Pi Documentation -->

CircuitPython

Please refer to the CircuitPython Documentation -->

Arduino-Pico

The following is taken from

Please visit the link for more content

Raspberry Pi Pico Arduino core, for all RP2040 boards

This is a port of the RP2040 (Raspberry Pi Pico processor) to the Arduino ecosystem. It uses the bare Raspberry Pi Pico SDK and a custom GCC 10.3/Newlib 4.0 toolchain.

Installation

Open up the Arduino IDE and go to File->Preferences.

In the dialog that pops up, enter the following URL in the "Additional Boards Manager URLs" field:

// https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

Hit OK to close the dialog.

Go to Tools->Boards->Board Manager in the IDE

Type "pico" in the search box and select "Add":

Uploading Sketches

To upload your first sketch, you will need to hold the BOOTSEL button down while plugging in the Pico to your computer. Then hit the upload button and the sketch should be transferred and start to run.

After the first upload, this should not be necessary as the arduino-pico core has auto-reset support. Select the appropriate serial port shown in the Arduino Tools->Port->Serial Port menu once (this setting will stick and does not need to be touched for multiple uploads). This selection allows the auto-reset tool to identify the proper device to reset. Them hit the upload button and your sketch should upload and run.

In some cases the Pico will encounter a hard hang and its USB port will not respond to the auto-reset request. Should this happen, just follow the initial procedure of holding the BOOTSEL button down while plugging in the Pico to enter the ROM bootloader.

Debugging with Picoprobe/pico-debug, OpenOCD, and GDB

The installed tools include a version of OpenOCD (in the pqt-openocd directory) and GDB (in the pqt-gcc directory). These may be used to run GDB in an interactive window as documented in the Pico Getting Started manuals from the Raspberry Pi Foundation. For , replace the raspberrypi-swd and picoprobe example OpenOCD arguments of "-f interface/raspberrypi-swd.cfg -f target/rp2040.cfg" or "-f interface/picoprobe.cfg -f target/rp2040.cfg" respectively in the Pico Getting Started manual with "-f board/pico-debug.cfg".

Arduino-Pico
Raspberry Pi Pico C/C++ SDK
MicroPython
getting-started-with-raspberry-pi-pico-circuitpython
https://github.com/earlephilhower/arduino-pico
pico-debug