Skip to content

Commit f63178f

Browse files
committed
boards/rpi-pico-2-*: create common board folder
1 parent b00cf0a commit f63178f

File tree

16 files changed

+16
-139
lines changed

16 files changed

+16
-139
lines changed

boards/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ DIRS += $(RIOTBOARD)/common/init
66
ifneq (,$(filter boards_common_adafruit-nrf52-bootloader,$(USEMODULE)))
77
DIRS += $(RIOTBOARD)/common/adafruit-nrf52-bootloader
88
endif
9+
ifneq (,$(filter boards_common_rpi_pico_2,$(USEMODULE)))
10+
DIRS += $(RIOTBOARD)/common/rpi-pico-2
11+
endif
912
ifneq (,$(filter boards_common_seeedstudio-xiao-nrf52840,$(USEMODULE)))
1013
DIRS += $(RIOTBOARD)/common/seeedstudio-xiao-nrf52840
1114
endif

boards/Makefile.features

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# SORT THIS ALPHABETICALLY BY COMMON BOARD NAME!
2+
ifneq (,$(filter boards_common_rpi_pico_2,$(USEMODULE)))
3+
include $(RIOTBOARD)/common/rpi-pico-2/Makefile.features
4+
endif
25
ifneq (,$(filter boards_common_seeedstudio-xiao-nrf52840,$(USEMODULE)))
36
include $(RIOTBOARD)/common/seeedstudio-xiao-nrf52840/Makefile.features
47
endif

boards/Makefile.include

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
ifneq (,$(filter boards_common_adafruit-nrf52-bootloader,$(USEMODULE)))
33
include $(RIOTBOARD)/common/adafruit-nrf52-bootloader/Makefile.include
44
endif
5+
ifneq (,$(filter boards_common_rpi_pico_2,$(USEMODULE)))
6+
include $(RIOTBOARD)/common/rpi-pico-2/Makefile.include
7+
endif
58
ifneq (,$(filter boards_common_seeedstudio-xiao-nrf52840,$(USEMODULE)))
69
include $(RIOTBOARD)/common/seeedstudio-xiao-nrf52840/Makefile.include
710
endif

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.
File renamed without changes.

0 commit comments

Comments
 (0)