Open AlanSwenson opened 3 years ago
I have also ran into this issue. Is there an alternative to using debug::exit(debug::EXIT_SUCCES) when you are running on real hardware?
It also seems like that output is outdated in general. The line numbers don't match, and it should say hprintln
, not writeln
.
in https://github.com/rust-embedded/book/blob/7349d173fa28a0bb834cf0264a05286620ef0923/src/start/hardware.md
is says :
but later on in the page it says :
Which doesnt make sense to me if you removed it?
I will also add that when removing the debug line you will also need to remove the import of debug as well or it wont load onto the board. Ill be happy to submit a PR if you let me know which way is correct.