Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
CHIPNAME=riscboy_upduino
DOTF=$(HDL)/riscboy_fpga/riscboy_fpga_upduino.f
BOOTAPP=spi_flash
DEVICE=up5k
PACKAGE=sg48
include $(SCRIPTS)/synth_ice40.mk
# romfiles is a prerequisite for synth
romfiles::
@echo ">>> Bootcode"
@echo
make -C $(SOFTWARE)/build APPNAME=$(BOOTAPP) CCFLAGS=-Os
cp $(SOFTWARE)/build/$(BOOTAPP)8.hex bootram_init8.hex
$(SCRIPTS)/vhexwidth bootram_init8.hex -w 32 -b 0x20080000 -o bootram_init32.hex
clean::
make -C $(SOFTWARE)/build APPNAME=$(BOOTAPP) clean
rm -f chip.pcf
rm -f bootram_init*.hex
prog: bit
sudo iceprog $(CHIPNAME).binf2776db0eThis file is pinned to the selected release. Download the original to open it in your design tool.