The Uelectronics-RP2040 Arduino Package is a powerful set of tools and libraries designed to enable developers to fully leverage the capabilities of the RP2040 microcontroller. This package simplifies the programming and control of RP2040-based devices on DualMCU boards, allowing developers to work seamlessly within the Arduino platform.
With this package, you can explore a wide range of possibilities for creating innovative IoT solutions, developing prototypes, and tapping into the potential of connected devices. The package also includes a rich collection of example projects and sample code to help you get started quickly and efficiently.
What is Uelectronics-RP2040 Arduino Package? The Uelectronics Arduino Core is an advanced and optimized version of the Raspberry Pi Pico Arduino Core, based on the exceptional work of Earle F. Philhower, III. This adaptation uses the Raspberry Pi Pico SDK and a custom GCC 10.3/Newlib 4.0 toolchain, aligning with the versions 2.6.4 and 4.0.1 of the original core.
Full support for the DualMCU ONE RP2040, the latest innovation in the DualMCU family by UNIT Electronics. Compatibility with popular RP2040-based boards, including the Raspberry Pi Pico, Pico W, and other configurable designs. Utilizes the powerful Raspberry Pi Pico SDK and a custom GCC 10.3/Newlib 4.0 toolchain for optimal performance. Includes comprehensive examples and libraries to accelerate your development process.
This package has been specifically designed to make the most out of the DualMCU line's capabilities, including the DualMCU RP2040 boards and the Dual ONE RP2040.
- DualMCU RP2040
- Dual ONE RP2040 (the latest addition to the DualMCU line)
- Raspberry Pi Pico
- Raspberry Pi Pico 2
- Raspberry Pi Pico W
- Generic (customizable flash memory and I/O pin configurations)
-
Open 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://raw.githubusercontent.com/UNIT-Electronics/Uelectronics-RP2040-Arduino-Package/main/package_Uelectronics_rp2040_index.json
-
Hit OK to close the dialog.
-
Go to Tools->Boards->Board Manager in the IDE
Type "UNIT Uelectronics RP2040" in the search box and select "Add":
To upload your first sketch, plug the USB-C cable into the DualMCU, move the mechanical USB selector to the “A” position (see section 3.11, "Mechanical Selector for USB Communication," in the Product Reference Manual and press and hold the RP2040 reset button (PB1), labeled “RST” on the board.
Without releasing the RESET button, press and hold the RP2040 boot button (PB2), labeled “BOOT.”
Afterward, release both the RST and BOOT buttons. The sketch should now transfer and begin to run.
- Connect the DualMCU ONE RP2040 board via a USB-C cable.
- Press and hold the RESET (RP-RST) and BOOT buttons, as described in the previous steps for the DualMCU board.
Upload your sketch and experience the innovation!
For detailed usage information, examples, and further resources, explore the following repositories:
The included examples provide practical insights and real-world applications to kickstart your development journey.
If you want to contribute or have bugfixes open an issue/PR here.
- The Arduino IDE and ArduinoCore-API are developed and maintained by the Arduino team. The IDE is licensed under GPL.
- The RP2040 GCC-based toolchain is licensed under under the GPL.
- The Pico-SDK is by Raspberry Pi (Trading) Ltd and licensed under the BSD 3-Clause license.
- Arduino-Pico core files are licensed under the LGPL.
- LittleFS library written by ARM Limited and released under the BSD 3-clause license.
- UF2CONV.PY is by Microsoft Corporation and licensed under the MIT license.
- Networking and filesystem code taken from the ESP8266 Arduino Core and licensed under the LGPL.
- DHCP server for AP host mode from the Micropython Project, distributed under the MIT License.
- FreeRTOS is Copyright Amazon.com, Inc. or its affiliates, and distributed under the MIT license.
- lwIP is (c) the Swedish Institute of Computer Science and licenced under the BSD license.
- BearSSL library written by Thomas Pornin, is distributed under the MIT License.
- UZLib is copyright (c) 2003 Joergen Ibsen and distributed under the zlib license.
- LEAmDNS is copyright multiple authors and distributed under the MIT license.
- http-parser is copyright Joyent, Inc. and other Node contributors.
- WebServer code modified from the ESP32 WebServer and is copyright (c) 2015 Ivan Grokhotkov and others
- The Raspberry Pi Pico Arduino Core of Earle F. Philhower, III (earlephilhower).