Experiment with state machine when starting from flash

- Move around code to start an app from flash.
- Mark experimental stuff and debug stuff more clearly.
This commit is contained in:
Michael Cardell Widerkrantz 2025-03-14 17:02:14 +01:00 committed by Mikael Ågren
parent 9316886c88
commit 6ef1b1c659
No known key found for this signature in database
GPG key ID: E02DA3D397792C46
2 changed files with 41 additions and 20 deletions

View file

@ -8,6 +8,7 @@
enum state {
FW_STATE_INITIAL,
FW_STATE_WAITCOMMAND,
FW_STATE_LOADING,
FW_STATE_RUN,
FW_STATE_RUN_FLASH,