mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
It's a good idea to reset the cpu before starting the main application code. However it is difficult to reliably reset the cpu in software. This changes the software to actually do a cpu hardware reset prior to launching the main application - after each bootup the code checks to see if the application should be started before entering the main bootloader code. This helps ensure the application code is started in a "pristine" cpu state. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>