From ee22528b6eafa2d8ebb3659ccdba3c5078be2cd8 Mon Sep 17 00:00:00 2001 From: Fernando Mosquera Date: Sat, 30 Sep 2023 14:29:35 -0500 Subject: [PATCH] add ButerSticr1.0 DFU & FT2232H --- apio/resources/boards.json | 30 +++++++++++++++++++++++++++++- apio/resources/ecp5/SConstruct | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/apio/resources/boards.json b/apio/resources/boards.json index d306f9d7..494866df 100644 --- a/apio/resources/boards.json +++ b/apio/resources/boards.json @@ -457,7 +457,21 @@ "desc": "OrangeCrab r0.2 DFU bootloader" } }, - "butterStick-r1.0-2G-85F": { + "orangecrab-r02-85f": { + "name": "OrangeCrab r0.2", + "fpga": "ECP5-LFE5U-85F-CSFBGA285", + "programmer": { + "type": "dfu" + }, + "usb": { + "vid": "1209", + "pid": "5af0" + }, + "ftdi": { + "desc": "OrangeCrab r0.2 DFU bootloader" + } + }, + "Butterstick-r10-2g-85k": { "name": "butterstick r1.0", "fpga": "ECP5-LFE5UM5G-85F-CABGA381", "programmer": { @@ -472,6 +486,20 @@ "desc": "butterstick (dfu v1.1)" } }, + "Butterstick-r10-2g-85k_(FT2232H)": { + "name": "butterstick r1.0", + "fpga": "ECP5-LFE5UM5G-85F-CABGA381", + "programmer": { + "type": "openfpgaloader_ft2232" + } + }, + "Butterstick-r10-2g-85k_(FT232H)": { + "name": "butterstick r1.0", + "fpga": "ECP5-LFE5UM5G-85F-CABGA381", + "programmer": { + "type": "openfpgaloader_ft232" + } + }, "versa": { "name": "ECP5 Versa", "fpga": "ECP5-LFE5UM-45F-CABGA381", diff --git a/apio/resources/ecp5/SConstruct b/apio/resources/ecp5/SConstruct index 8a149263..ecda68f7 100644 --- a/apio/resources/ecp5/SConstruct +++ b/apio/resources/ecp5/SConstruct @@ -183,7 +183,7 @@ pnr = Builder( src_suffix='.json') bitstream = Builder( - action='ecppack --db {0} {1} $SOURCE hardware.bit'.format(DATABASE_PATH, IDCODE_PARAM), + action='ecppack --compress --db {0} {1} $SOURCE hardware.bit'.format(DATABASE_PATH, IDCODE_PARAM), suffix='.bit', src_suffix='.config')