fpga_config: fpga_config.rs
	openocd -f openocd/openocd.cfg -f openocd/fpga-config.cfg

fpga_config.rs: top.bin
	cargo build --example fpga_config

top.bin:
	python3 migen/fpga_config.py