I’ve finally had some time to work on this. The main breaking change I had to do to OwlProgram was to disable building the web libraries, but other than that we now have a working prototype for building and flashing OWL2 programs:
I have tested it on Linux and macOS x86_64 and mainly Windows needs to be confirmed.
We can export the source (including our included version of OwlProgram), a binary, load the patch into memory or store it into one of 8 slots (not sure how many is feasible, I read somewhere up to 39 slots?)
Eventually we should also add board selection for OWL3, although I’m not sure how best to add the precompiled library. Maybe we need separate copies of OwlProgram for either OWL2 or OWL3?
There is also still the limitation of our Linux toolchain not being available for ARM as we have not found time or resources to replace the build-anywhere
tools.
[edit: can’t post more than 3 times consecutively, so I will edit this post instead]
Hmmm, so I was under the impression that if the libraries were built with make libs PLATFORM=OWL2
that they would only work for modules built with PLATFORM=OWL2
as well. However I just built a module with PLATFORM=OWL3
using these libraries and didn’t get any errors and it successfully flashed etc.