Lesson 43 of 50
rustEmbedded Rust Overview
20 minutes
Course progress86%
Embedded Rust Overview
Rust can run on microcontrollers via the no_std attribute.
[dependencies]
cortex-m = \"0.7\"
cortex-m-rt = \"0.7\"
panic-halt = \"0.2\"
#![no_std]
#![no_main]
use cortex_m_rt::entry;
use panic_halt _;
() ! {
{}
}