7ab5252cdd
to trade compile speed & flash size Initially enable the faster mode on rp2040 and espressif, where there's usually plenty of flash available (these advanced techniques save hundreds to thousands of bytes, which is important on a lot of old samd21 boards but is a drop in the lake of a 4MB flash chip)
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# All raspberrypi ports have longints.
|
|
LONGINT_IMPL = MPZ
|
|
|
|
CIRCUITPY_OPTIMIZE_PROPERTY_FLASH_SIZE ?= 1
|
|
# CYW43 support does not provide settable MAC addresses for station or AP.
|
|
CIRCUITPY_WIFI_RADIO_SETTABLE_MAC_ADDRESS = 0
|
|
|
|
CIRCUITPY_ALARM ?= 1
|
|
|
|
CIRCUITPY_RP2PIO ?= 1
|
|
CIRCUITPY_NEOPIXEL_WRITE ?= $(CIRCUITPY_RP2PIO)
|
|
CIRCUITPY_FLOPPYIO ?= 1
|
|
CIRCUITPY_FRAMEBUFFERIO ?= $(CIRCUITPY_DISPLAYIO)
|
|
CIRCUITPY_FULL_BUILD ?= 1
|
|
CIRCUITPY_AUDIOMP3 ?= 1
|
|
CIRCUITPY_BITOPS ?= 1
|
|
CIRCUITPY_IMAGECAPTURE ?= 1
|
|
CIRCUITPY_MEMORYMAP ?= 1
|
|
CIRCUITPY_PWMIO ?= 1
|
|
CIRCUITPY_RGBMATRIX ?= $(CIRCUITPY_DISPLAYIO)
|
|
CIRCUITPY_ROTARYIO ?= 1
|
|
CIRCUITPY_ROTARYIO_SOFTENCODER = 1
|
|
CIRCUITPY_SYNTHIO_MAX_CHANNELS = 12
|
|
CIRCUITPY_USB_HOST ?= 1
|
|
|
|
# Things that need to be implemented.
|
|
# Use PWM internally
|
|
CIRCUITPY_FREQUENCYIO = 0
|
|
CIRCUITPY_I2CTARGET = 1
|
|
CIRCUITPY_NVM = 1
|
|
# Use PIO internally
|
|
CIRCUITPY_PULSEIO ?= 1
|
|
CIRCUITPY_WATCHDOG ?= 1
|
|
|
|
# Use of analogbufio
|
|
CIRCUITPY_ANALOGBUFIO = 1
|
|
|
|
# Audio via PWM
|
|
CIRCUITPY_AUDIOIO = 0
|
|
CIRCUITPY_AUDIOBUSIO ?= 1
|
|
CIRCUITPY_AUDIOCORE ?= 1
|
|
CIRCUITPY_AUDIOPWMIO ?= 1
|
|
|
|
CIRCUITPY_AUDIOMIXER ?= 1
|
|
|
|
INTERNAL_LIBM = 1
|
|
|
|
CIRCUITPY_BUILD_EXTENSIONS ?= uf2
|
|
|
|
# Number of USB endpoint pairs.
|
|
USB_NUM_ENDPOINT_PAIRS = 8
|
|
|
|
INTERNAL_FLASH_FILESYSTEM = 1
|
|
CIRCUITPY_SETTABLE_PROCESSOR_FREQUENCY = 1
|
|
|
|
# Usually lots of flash space available
|
|
CIRCUITPY_MESSAGE_COMPRESSION_LEVEL ?= 1
|