basic project setup

This commit is contained in:
Clara Dautermann 2025-07-02 16:43:01 +02:00
parent 5507d11fe8
commit dac87a1696
Signed by: clara
GPG key ID: 223391B52FAD4463
10 changed files with 1887 additions and 10 deletions

View file

@ -0,0 +1,22 @@
//! Demo test suite using embedded-test
//!
//! You can run this using `cargo test` as usual.
#![no_std]
#![no_main]
#[cfg(test)]
#[embedded_test::tests]
mod tests {
use esp_hal as _;
#[init]
fn init() {
let _ = esp_hal::init(esp_hal::Config::default());
}
#[test]
fn hello_test() {
assert_eq!(1 + 1, 2);
}
}