Skip to content

Commit 4f36504

Browse files
committed
same51: enable specific modules based on chip family
closes #4590
1 parent c333acd commit 4f36504

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

ports/atmel-samd/mpconfigport.mk

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,22 @@ CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_FULL_BUILD)
8787

8888
endif # samd51
8989
######################################################################
90+
91+
######################################################################
92+
# Put same51-only choices here.
93+
94+
ifeq ($(CHIP_FAMILY),same51)
95+
96+
# No native touchio on SAMD51.
97+
CIRCUITPY_TOUCHIO_USE_NATIVE = 0
98+
99+
# The ?='s allow overriding in mpconfigboard.mk.
100+
101+
CIRCUITPY_NETWORK ?= 0
102+
CIRCUITPY_PS2IO ?= 1
103+
CIRCUITPY_SAMD ?= 1
104+
CIRCUITPY_RGBMATRIX ?= $(CIRCUITPY_FULL_BUILD)
105+
CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_FULL_BUILD)
106+
107+
endif # same51
108+
######################################################################

0 commit comments

Comments
 (0)