Files
learn-fpga/Basic/FomuBlink/makeit.sh
Bruno Levy 189fd29c6a * Reorganization / modularization of the Makefile (we start to have
a number of boards, time to create one file per board, easier to
  maintain !)
2020-12-28 18:20:03 +01:00

10 lines
269 B
Bash
Executable File

yosys -DPVT -p 'synth_ice40 -top top -json blink.json' blink.v
nextpnr-ice40 --up5k --package uwg30 --pcf fomu-pvt.pcf --json blink.json --asc blink.asc
icepack blink.asc blink.bit
cp blink.bit blink.dfu
dfu-suffix -v 1209 -p 70b1 -a blink.dfu
dfu-util -D blink.dfu