projects
/
gps-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
427f30b
)
bootloader: Call clock::reset() before jumping to the application.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 17 Nov 2019 20:42:01 +0000
(21:42 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 5 Jan 2020 19:38:11 +0000
(20:38 +0100)
By switching back to FBE clock mode there, we can unconditionally
do the switches to FBE, PBE and PEE in any of our programs.
src/bootloader/main.rs
patch
|
blob
|
history
diff --git
a/src/bootloader/main.rs
b/src/bootloader/main.rs
index ec71e15abccc9ad0d910320ea72001f2d63213f1..52a14738f62e0008d6ad4cc95b362432ab0f6170 100644
(file)
--- a/
src/bootloader/main.rs
+++ b/
src/bootloader/main.rs
@@
-104,5
+104,7
@@
pub unsafe extern fn main() {
disable_interrupts();
+ clock::reset();
+
jump_to_application(APPLICATION_ADDR);
}