FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
772 stars 131 forks source link

Where can i fnd and use the "icesprog" program? #373

Open Nov4ou opened 2 months ago

Nov4ou commented 2 months ago

I currently using a M1 MacBook Air and iCESugar 1.5 FPGA board I had installed the icestrom toolchain and I find out I can't use the "iceprog", and should use""icesprog" instead. I tried to build the icesprog tool from source code but failed.

Fortunately,I can use apio to upload .bin to my board. But I want to learn to use Makefile to build my project then upload to my board by my own. So could you tell me where is the iceporg integrated in apio, or help me how to build the tool? Thanks!

zapta commented 2 months ago

On my Mac it's in the path below.

$ which iceprog
/Users/user/.apio/packages/tools-oss-cad-suite/bin/iceprog

Did you run the command to install all packages? If not, try this:

apio install --all