lushaylabs / lushay-code

yosys, nextpnr, apicula and openFPGALoader in vscode using OSS-CAD-Suite
https://marketplace.visualstudio.com/items?itemName=lushay-labs.lushay-code&ssr=false
MIT License
20 stars 3 forks source link

Pin configuration support for the UPduino 3.1 (iCE40) #12

Closed bsiever closed 3 weeks ago

bsiever commented 1 month ago

This PR includes PCF support for the UPduino 3.1: https://tinyvision.ai/products/upduino-v3-1 .

Thanks for a great extension!

lushaylabs commented 3 weeks ago

Thank you again for the amazing contribution, and sorry for the delays, it is my fault I got caught up with some other things, merging this now.

One small question regarding the UPduino I saw that you need to bridge a jumper to use the 12Mhz osc, if you don't use that oscillator does it use an internal clock or are you meant to connect an external clock through one of the IO pins ?

bsiever commented 3 weeks ago

Thanks and no rush.

I'm not an UPduino expert...but yes, it would need to use an internal oscillator if the external 12MHz isn't connected (bridged or jumpered to another pin). The 12MHz is used for the FTDI. See https://upduino.readthedocs.io/en/latest/tutorials/oscillator.html .