469345e728
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>
15 lines
263 B
Makefile
15 lines
263 B
Makefile
# Makefile for micropython on Raspberry Pi RP2
|
|
#
|
|
# This is a simple wrapper around cmake
|
|
|
|
BUILD = build
|
|
|
|
$(VERBOSE)MAKESILENT = -s
|
|
|
|
all:
|
|
[ -d $(BUILD) ] || cmake -S . -B $(BUILD) -DPICO_BUILD_DOCS=0
|
|
$(MAKE) $(MAKESILENT) -C $(BUILD)
|
|
|
|
clean:
|
|
$(RM) -rf $(BUILD)
|