@@ -95,11 +95,11 @@ endif # samd21
9595# #####################################################################
9696
9797# #####################################################################
98- # Put samd51 -only choices here.
98+ # Put samx5x -only choices here.
9999
100- ifeq ($(CHIP_FAMILY ) ,samd51)
100+ ifneq ($(filter $( CHIP_FAMILY ) ,samd51 same51 same54) , )
101101
102- # No native touchio on SAMD51 .
102+ # No native touchio on SAMx5x .
103103CIRCUITPY_TOUCHIO_USE_NATIVE = 0
104104
105105ifeq ($(CIRCUITPY_FULL_BUILD ) ,0)
@@ -135,32 +135,7 @@ ifeq ($(CHIP_VARIANT),SAMD51G19A)
135135CIRCUITPY_AUDIOBUSIO = 0
136136endif
137137
138- endif # samd51
139- # #####################################################################
140-
141- # #####################################################################
142- # Put same51-only choices here.
143-
144- ifeq ($(CHIP_FAMILY ) ,same51)
145-
146- # No native touchio on SAME51.
147- CIRCUITPY_TOUCHIO_USE_NATIVE = 0
148-
149- ifeq ($(CIRCUITPY_FULL_BUILD ) ,0)
150- CIRCUITPY_LTO_PARTITION ?= one
151- endif
152-
153- # The ?='s allow overriding in mpconfigboard.mk.
154-
155- CIRCUITPY_ALARM ?= 1
156- CIRCUITPY_PS2IO ?= 1
157- CIRCUITPY_SAMD ?= 1
158- CIRCUITPY_FLOPPYIO ?= $(CIRCUITPY_FULL_BUILD )
159- CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_FULL_BUILD )
160- CIRCUITPY_RGBMATRIX ?= $(CIRCUITPY_FRAMEBUFFERIO )
161- CIRCUITPY_ULAB_OPTIMIZE_SIZE ?= 1
162-
163- endif # same51
138+ endif # samx5x
164139# #####################################################################
165140
166141CIRCUITPY_BUILD_EXTENSIONS ?= uf2
0 commit comments