Skip to content

Commit 1163af5

Browse files
authored
Merge pull request #4591 from jepler/same51-modules
same51: enable specific modules based on chip family
2 parents 37887c4 + 95a75b0 commit 1163af5

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
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)