apfelaudio / eurorack-pmod

A eurorack-friendly audio frontend compatible with many FPGA boards, based on the AK4619VN audio CODEC.
https://apfelaudio.com/modules/available/pmod/
Other
167 stars 8 forks source link

Support builds on Windows + Mac #20

Closed schnommus closed 5 months ago

schnommus commented 1 year ago

Currently only builds on Linux are tested, however it should be relatively trivial to support other operating systems.

I just tried installing oss-cad-suite and MSYS2 on a Windows VM and was able to build the examples in this repository fine, with the following notes:

Ideally we should add Windows/Mac targets to CI as well so they stay healthy

schnommus commented 1 year ago

As of https://github.com/apfelaudio/eurorack-pmod/pull/24 windows builds are now supported and in CI.

However it might be worth making the linter/test bench CI jobs also run on windows

schnommus commented 1 year ago

I don't physically have any Apple hardware so it's difficult for me to add Mac support.

I'll leave this open in case someone else feels like taking it up

forrestbaer commented 6 months ago

Using the same instructions as linux (pre-installing toolkit, etc..)

I took a quick go at this on my M1 24" IMac running Sonoma 14.1.1, and was able to run make BOARD=icebreaker CORE=filter under the gateware folder successfully and get four build files top.asc, top.bin, top.json, top.log.

Running make by itself asked for the BOARD definition at minimum.

As for the rest I don't know! I'm considering manufacturing a few of the current 3.3 designs to play with, very cool project.

forrestbaer commented 6 months ago

Would be happy to help you close this one, if there are other tests I can do let me know.

schnommus commented 6 months ago

Hey there @forrestbaer, thanks for testing this on Mac! Good to hear that it wasn't too hard to get things running :) I wanted to keep this ticket open until I have a Mac target added to the CI workflow in the .github folder, at the moment we automatically check the build succeeds on linux & windows after every push.

As for the hardware, if you can wait until Jan 31 or so, I already have a new batch of 50 assembled+tested boards ready to ship out - the delay is just because I am travelling all of January and can't ship things during that time :). In any case if you can't wait, feel free to manufacture them yourself (just keep in mind it is more difficult for me to support anyone using hardware that I have not tested myself beforehand!)

forrestbaer commented 6 months ago

Awesome! I hope to nab a pair before they're gone.