fusesoc / blinky

Example LED blinking project for your FPGA dev board of choice
MIT License
162 stars 70 forks source link

Add OrangeCrab R0.2 target #30

Closed emeb closed 4 years ago

emeb commented 4 years ago

This adds a target for the OrangeCrab R0.2 board. The RGB LED is set to blink white and a note is given at the end of the build on how to program via dfu-util.

olofk commented 4 years ago

Thanks! This looks great. There's one change I would like to see though. It should be enough to just set file_type : LPF (like you did) but drop the copyto part of the lpf file and also get rid of the --lpf, orangecrab_r02.lpf arguments in the nextpnr_options. I suspect you took inspiration from the ulx3s targets which were written before lpf files were handled correctly, and should be updated by now. Check how ecp5_evn or colorlight_5a75b does it instead.

With that changed, I'm happy to merge.

emeb commented 4 years ago

I've updated the LPF handling as you suggested and also fixed the proginfo item in the .core file which somehow was left out of the original PR.

olofk commented 4 years ago

All good. Picked and pushed. Many thanks