Krolyxon
Commit dd33723

Branches

Tags

Refs →

orion-rfsrcmain.rs

21 lines · 561 B · Rust

1
2mod board;
3mod drivers;
4
5use drivers::display::Display;
6
7fn main() {
8 // It is necessary to call this function once. Otherwise, some patches to the runtime
9 // implemented by esp-idf-sys might not link properly. See https://github.com/esp-rs/esp-idf-template/issues/71
10 esp_idf_svc::sys::link_patches();
11
12 // Bind the log crate to the ESP Logging facilities
13 esp_idf_svc::log::EspLogger::initialize_default();
14
15 log::info!("ORION-RF Booted!!");
16 let mut display = Display::new();
17
18 display.init();
19 display.draw_text("ORION-RF");
20
21}