Quantum-cross / sam-fusee-launcher-internal

Internal Fusee Launcher for the Adafruit Trinket M0
GNU General Public License v2.0
151 stars 25 forks source link

Switch to Argon-NX #12

Open rileyg98 opened 4 years ago

rileyg98 commented 4 years ago

It's mentioned in your readme that an open-source chainloader would mean the trinket wouldn't need reflashing. Argon-NX seems to fit this bill. Is there any consideration in including this by default?

Tecknogekko commented 4 years ago

Hekate has had chainloading since around ver. 3.0... No reason to change off the most popular payload when it does everything perfectly... I haven't updated my trinket in over a year and it runs flawlessly

rileyg98 commented 4 years ago

I guess my main concern with using Hekate to chain load would be then you're really just running two instances of Hekate - with one being older than the other. Argon boots and promptly hands to Hekate, and is actually designed for things like the Trinket. You can load Hekate without chain loading to Hekate, sure, but then you get no updates.

Tecknogekko commented 4 years ago

AFAIK once hekate sees the update.bin in the bootloader folder it ceases further action and restarts using that bin. I'm fairly sure you're not running two instances (simultaneously) during a chainload. It's just hekate handing off to hekate. As far as updates atmosphere updater in the hbappstore will download/unzip/rename the hekate.bin and place it in the bootloader folder for you as well as copying over the new folder all from within HOS. I don't think it can get much easier than a one button untethered update...

None of this matters though cause all this is is a method of pushing a payload, you can easily adapt this to argon if you really wanted to. There's no need to change the guide though since it works perfectly fine as is.