enable CIRCUITPY_BLEIO_HCI on non-nRF boards where it will fit
This commit is contained in:
parent
f1e8f2b404
commit
82b49afe43
@ -6,10 +6,6 @@ USB_MANUFACTURER = "Adafruit Industries LLC"
|
||||
CHIP_VARIANT = SAMD51J19A
|
||||
CHIP_FAMILY = samd51
|
||||
|
||||
# Support _bleio via the on-board ESP32 module.
|
||||
CIRCUITPY_BLEIO = 1
|
||||
CIRCUITPY_BLEIO_HCI = 1
|
||||
|
||||
QSPI_FLASH_FILESYSTEM = 1
|
||||
EXTERNAL_FLASH_DEVICE_COUNT = 3
|
||||
EXTERNAL_FLASH_DEVICES = "S25FL116K, S25FL216K, GD25Q16C"
|
||||
|
@ -37,6 +37,9 @@ ifndef CIRCUITPY_TOUCHIO_USE_NATIVE
|
||||
CIRCUITPY_TOUCHIO_USE_NATIVE = 1
|
||||
endif
|
||||
|
||||
# No room for HCI _bleio on SAMD21.
|
||||
CIRCUITPY_BLEIO_HCI = 0
|
||||
|
||||
CIRCUITPY_SDCARDIO ?= 0
|
||||
|
||||
# Not enough RAM for framebuffers
|
||||
|
@ -23,6 +23,9 @@ CIRCUITPY_AUDIOCORE ?= 1
|
||||
CIRCUITPY_AUDIOMIXER ?= 1
|
||||
CIRCUITPY_AUDIOPWMIO ?= 1
|
||||
|
||||
# Native BLEIO is not compatible with HCI _bleio.
|
||||
CIRCUITPY_BLEIO_HCI = 0
|
||||
|
||||
CIRCUITPY_BLEIO ?= 1
|
||||
|
||||
# No I2CPeripheral implementation
|
||||
|
@ -79,14 +79,14 @@ CFLAGS += -DCIRCUITPY_AUDIOMP3=$(CIRCUITPY_AUDIOMP3)
|
||||
CIRCUITPY_BITBANGIO ?= $(CIRCUITPY_FULL_BUILD)
|
||||
CFLAGS += -DCIRCUITPY_BITBANGIO=$(CIRCUITPY_BITBANGIO)
|
||||
|
||||
# Explicitly enabled for boards that support _bleio.
|
||||
CIRCUITPY_BLEIO ?= 0
|
||||
CFLAGS += -DCIRCUITPY_BLEIO=$(CIRCUITPY_BLEIO)
|
||||
|
||||
# _bleio can be supported on most any board via HCI
|
||||
CIRCUITPY_BLEIO_HCI ?= 0
|
||||
CIRCUITPY_BLEIO_HCI ?= $(CIRCUITPY_FULL_BUILD)
|
||||
CFLAGS += -DCIRCUITPY_BLEIO_HCI=$(CIRCUITPY_BLEIO_HCI)
|
||||
|
||||
# Explicitly enabled for boards that support _bleio.
|
||||
CIRCUITPY_BLEIO ?= $(CIRCUITPY_BLEIO_HCI)
|
||||
CFLAGS += -DCIRCUITPY_BLEIO=$(CIRCUITPY_BLEIO)
|
||||
|
||||
CIRCUITPY_BOARD ?= 1
|
||||
CFLAGS += -DCIRCUITPY_BOARD=$(CIRCUITPY_BOARD)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user