Embedded, Rust Programming Language, System Programming.
#![no_main] #![no_std] use cortex_m_rt::entry; #[entry] fn main() -> ! { loop {} } The entry point function must have a signature fn() -> !, and this return type indicates that the function can't return, use of loop {} means that the program never terminates. Subsequently, we need to provide