rp2: Add new port to Raspberry Pi RP2 microcontroller.

This commit adds a new port "rp2" which targets the new Raspberry Pi RP2040
microcontroller.

The build system uses pure cmake (with a small Makefile wrapper for
convenience).  The USB driver is TinyUSB, and there is a machine module
with most of the standard classes implemented.  Some examples are provided
in the examples/rp2/ directory.

Work done in collaboration with Graham Sanderson.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-01-21 00:34:08 +11:00
parent ef3ee7aa10
commit 469345e728
44 changed files with 5509 additions and 0 deletions

3
ports/rp2/qstrdefsport.h Normal file
View File

@@ -0,0 +1,3 @@
// qstrs specific to this port
// *FORMAT-OFF*
Q(/lib)