Skip to content

Commit 806b37a

Browse files
committed
boards/rpi-pico-2-*: create common board folder
1 parent 79937ed commit 806b37a

File tree

17 files changed

+23
-123
lines changed

17 files changed

+23
-123
lines changed

boards/common/rpi-pico-2/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MODULE = boards_common_rpi_pico_2
2+
3+
include $(RIOTBASE)/Makefile.base

boards/common/rpi-pico-2/Makefile.features

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# add the common header files to the include path
2+
INCLUDES += -I$(RIOTBOARD)/common/rpi-pico-2/include
File renamed without changes.

boards/rpi-pico-2-arm/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
MODULE = board
22

3+
# Use the common board.
4+
DIRS += $(RIOTBOARD)/common/rpi-pico-2
5+
36
include $(RIOTBASE)/Makefile.base

boards/rpi-pico-2-arm/Makefile.dep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
USEMODULE += boards_common_rpi_pico_2
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
CPU := rp2350_arm
2+
3+
# Include the common board features.
4+
include $(RIOTBOARD)/common/rpi-pico-2/Makefile.features

boards/rpi-pico-2-arm/Makefile.include

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ PORT_LINUX ?= /dev/ttyACM0
55
# ifeq ($(PROGRAMMER),jlink)
66
# JLINK_DEVICE = RP2350_M33_0
77
# endif
8+
9+
include $(RIOTBOARD)/common/rpi-pico-2/Makefile.include

0 commit comments

Comments
 (0)