Initial commit
This commit is contained in:
commit
8bfbab5a0c
12 changed files with 687 additions and 0 deletions
10
test-app/src/main.rs
Normal file
10
test-app/src/main.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fn main() {
|
||||
// It is necessary to call this function once. Otherwise some patches to the runtime
|
||||
// implemented by esp-idf-sys might not link properly. See https://github.com/esp-rs/esp-idf-template/issues/71
|
||||
esp_idf_svc::sys::link_patches();
|
||||
|
||||
// Bind the log crate to the ESP Logging facilities
|
||||
esp_idf_svc::log::EspLogger::initialize_default();
|
||||
|
||||
log::info!("Hello, world!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue