Preserve state across resets by putting Wormhole to the newly added .noinit section. Rename The jump to bootloader USB command to reenumerate and generalize accordingly by handling the passed reenumeration mode.

This commit is contained in:
László Monda
2017-06-04 23:32:48 +02:00
parent a6ed51360f
commit 6c60af4ba8
7 changed files with 32 additions and 18 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#include "wormhole.h"
wormhole_t *Wormhole NO_INIT_GCC;
wormhole_t Wormhole NO_INIT_GCC;