diff --git a/examples/minimal/Cargo.toml b/examples/minimal/Cargo.toml index 400e3d396..aba8b55b7 100644 --- a/examples/minimal/Cargo.toml +++ b/examples/minimal/Cargo.toml @@ -7,5 +7,5 @@ edition = "2021" publish = false [dependencies] -riot-rs = { path = "../../src/riot-rs", features = ["threading"] } +riot-rs = { path = "../../src/riot-rs" } riot-rs-boards = { path = "../../src/riot-rs-boards" } diff --git a/examples/minimal/README.md b/examples/minimal/README.md index f5058fc2c..ef53abe7f 100644 --- a/examples/minimal/README.md +++ b/examples/minimal/README.md @@ -1,4 +1,4 @@ # minimal This application tries to be a _compile time_ test to see RIOT-rs' minimal -RAM/ROM usage, similar to RIOT's `tests/minimal`. +RAM/ROM usage ("doing nothing", with all features disabled). diff --git a/examples/minimal/laze.yml b/examples/minimal/laze.yml index 3344ee1be..b09771c73 100644 --- a/examples/minimal/laze.yml +++ b/examples/minimal/laze.yml @@ -2,8 +2,3 @@ apps: - name: minimal depends: - ?release - env: - global: - CFLAGS: - - -DTHREAD_STACKSIZE_MAIN=256 - - -DLOG_LEVEL=LOG_NONE diff --git a/examples/minimal/src/main.rs b/examples/minimal/src/main.rs index 91e694a07..284847326 100644 --- a/examples/minimal/src/main.rs +++ b/examples/minimal/src/main.rs @@ -1,7 +1,4 @@ #![no_main] #![no_std] -#![feature(type_alias_impl_trait)] -#![feature(used_with_arg)] -#[riot_rs::thread] -fn main() {} +use riot_rs as _;