786e79ebc9
This adds support for Litex, along with support for the Fomu FPGA board. Signed-off-by: Sean Cross <sean@xobs.io>
21 lines
474 B
Makefile
21 lines
474 B
Makefile
USB_VID = 0x1209
|
|
USB_PID = 0x5BF0
|
|
USB_PRODUCT = "Fomu"
|
|
USB_MANUFACTURER = "Foosn"
|
|
USB_DEVICES = "CDC,MSC,AUDIO,HID"
|
|
|
|
INTERNAL_FLASH_FILESYSTEM = 1
|
|
LONGINT_IMPL = MPZ
|
|
|
|
# The default queue depth of 16 overflows on release builds,
|
|
# so increase it to 32.
|
|
CFLAGS += -DCFG_TUD_TASK_QUEUE_SZ=32
|
|
|
|
# Fomu only implements rv32i
|
|
CFLAGS += -march=rv32i -mabi=ilp32
|
|
LDFLAGS += -march=rv32i -mabi=ilp32
|
|
|
|
CIRCUITPY_NEOPIXEL_WRITE = 1
|
|
CIRCUITPY_DIGITALIO = 1
|
|
CIRCUITPY_MICROCONTROLLER = 1
|