trabucayre / openFPGALoader

Universal utility for programming FPGA
https://trabucayre.github.io/openFPGALoader/
Apache License 2.0
1.22k stars 263 forks source link

Add WebAssembly support #412

Closed whitequark closed 10 months ago

whitequark commented 10 months ago

I got openFPGALoader to work with WebUSB with this patch (tested on OrangeCrab r0.2).

trabucayre commented 10 months ago

Applied! Thank @whitequark

whitequark commented 10 months ago

Thanks! Do you think I should be shipping releases of openFPGALoader as a part of YoWASP toolchain or if I should ship the master branch?

trabucayre commented 10 months ago

Good question. I think master branch is better:

  1. Current master branch has improvements for nexus devices and support for gowin GW5A so It seems better in a first time to use it.
  2. more generically I create a new release more or less each 6 month. It a lood delay when improvement are applied.
  3. your fixes are on master branch.

But in other hand I try to fix all known issues and fix regression before tagging a commit (this why I not iregular for releases).

whitequark commented 10 months ago

It sounds like adding automation that ships the master branch nightly is the way to go here. (Obviously I can change this later, I have scripts tailored for different workflows.)

trabucayre commented 10 months ago

If it's possible without to many works it seems good yeah. Or I can create a tag by incrementing minor number if you prefer.

whitequark commented 10 months ago

Already set up in fact! https://www.npmjs.com/package/@yowasp/openfpgaloader?activeTab=versions

trabucayre commented 10 months ago

Great! Thanks a lot for your work!