Merge pull request #4591 from jepler/same51-modules

same51: enable specific modules based on chip family
This commit is contained in:
Limor "Ladyada" Fried 2021-04-13 11:47:08 -04:00 committed by GitHub
commit 1163af5d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions

@ -1 +1 @@
Subproject commit c2c81ded118484f8925bf81e270b416739cd72d9 Subproject commit 98017c57349e259fab70c6a7830436b19a55f6f4

View File

@ -87,3 +87,22 @@ CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_FULL_BUILD)
endif # samd51 endif # samd51
###################################################################### ######################################################################
######################################################################
# Put same51-only choices here.
ifeq ($(CHIP_FAMILY),same51)
# No native touchio on SAMD51.
CIRCUITPY_TOUCHIO_USE_NATIVE = 0
# The ?='s allow overriding in mpconfigboard.mk.
CIRCUITPY_NETWORK ?= 0
CIRCUITPY_PS2IO ?= 1
CIRCUITPY_SAMD ?= 1
CIRCUITPY_RGBMATRIX ?= $(CIRCUITPY_FULL_BUILD)
CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_FULL_BUILD)
endif # same51
######################################################################