9d91111b1b
This started while adding USB MIDI support (and descriptor support is in this change.) When seeing that I'd have to implement the MIDI class logic twice, once for atmel-samd and once for nrf, I decided to refactor the USB stack so its shared across ports. This has led to a number of changes that remove items from the ports folder and move them into supervisor. Furthermore, we had external SPI flash support for nrf pending so I factored out the connection between the usb stack and the flash API as well. This PR also includes the QSPI support for nRF.
27 lines
1.0 KiB
Makefile
27 lines
1.0 KiB
Makefile
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
|
|
USB_VID = 0x239A
|
|
USB_PID = 0x8019
|
|
USB_PRODUCT = "CircuitPlayground Express with Crickit libraries"
|
|
USB_MANUFACTURER = "Adafruit Industries LLC"
|
|
|
|
SPI_FLASH_FILESYSTEM = 1
|
|
EXTERNAL_FLASH_DEVICE_COUNT = 2
|
|
EXTERNAL_FLASH_DEVICES = "S25FL216K, GD25Q16C"
|
|
# Turn off longints for Crickit build to make room for additional frozen libs.
|
|
LONGINT_IMPL = NONE
|
|
|
|
CHIP_VARIANT = SAMD21G18A
|
|
CHIP_FAMILY = samd21
|
|
|
|
CFLAGS_INLINE_LIMIT = 55
|
|
|
|
# Include these Python libraries in firmware.
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_CircuitPlayground
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Crickit
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_LIS3DH
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Motor
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_seesaw
|
|
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Thermistor
|