circuitpython/ports/raspberrypi/boards/pajenicko_picopad/mpconfigboard.mk
Vladimir Smitka 2819c88207 Formatting
2023-08-13 17:41:16 +02:00

35 lines
822 B
Makefile

USB_VID = 0x2E8A
USB_PID = 0x1063
USB_PRODUCT = "PicoPad"
USB_MANUFACTURER = "Pajenicko s.r.o."
CHIP_VARIANT = RP2040
CHIP_FAMILY = rp2
EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ"
CIRCUITPY_KEYPAD = 1
CIRCUITPY_STAGE = 1
CIRCUITPY_AUDIOIO = 1
CIRCUITPY__EVE = 1
CIRCUITPY_CYW43 = 1
CIRCUITPY_SSL = 1
CIRCUITPY_SSL_MBEDTLS = 1
CIRCUITPY_HASHLIB = 1
CIRCUITPY_WEB_WORKFLOW = 1
CIRCUITPY_MDNS = 1
CIRCUITPY_SOCKETPOOL = 1
CIRCUITPY_WIFI = 1
CIRCUITPY_PICODVI = 1
# Pimoroni PicoSystem peripherals are compatible, we can use of existing ugame.py
FROZEN_MPY_DIRS += $(TOP)/frozen/circuitpython-stage/picosystem
CFLAGS += -DCYW43_PIN_WL_HOST_WAKE=24 -DCYW43_PIN_WL_REG_ON=23 -DCYW43_WL_GPIO_COUNT=3 -DCYW43_WL_GPIO_LED_PIN=0
# Must be accompanied by a linker script change
CFLAGS += -DCIRCUITPY_FIRMWARE_SIZE='(1536 * 1024)'