I've been working on finding stubs with k!r+
We found a list of stubs that we need to find by attempting to "make" magic lantern for the 80D and see which "undefined references" the compiler complains about.
By adding some dummy stubs/consts we were able to get the compilation to complete.
From this list we believe we have found a large amount of stubs, but we are unsure how to verify them. We looked at the finding stubs tutorial but we are stuck at step 4.
It seems that this tutorial assumes that magic lantern is in a somewhat functional state for the camera already? How should we verify our stubs?
We've tried running the autoexec.bin we compiled earlier in QEMU with GDB attached. We've done this and gotten the emulation to go a fair way, however it stalls after a point and doesn't spit out any obvious error messages to debug
Side note: what would be the best way to share our stubs file? via a pull request or just attached to a forum post
We found a list of stubs that we need to find by attempting to "make" magic lantern for the 80D and see which "undefined references" the compiler complains about.
By adding some dummy stubs/consts we were able to get the compilation to complete.
From this list we believe we have found a large amount of stubs, but we are unsure how to verify them. We looked at the finding stubs tutorial but we are stuck at step 4.
It seems that this tutorial assumes that magic lantern is in a somewhat functional state for the camera already? How should we verify our stubs?
We've tried running the autoexec.bin we compiled earlier in QEMU with GDB attached. We've done this and gotten the emulation to go a fair way, however it stalls after a point and doesn't spit out any obvious error messages to debug
Side note: what would be the best way to share our stubs file? via a pull request or just attached to a forum post