Skip to content

Commit

Permalink
examples/minimal: some cleanup, disable threading
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 20, 2024
1 parent e98677c commit 1d21789
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/minimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion examples/minimal/README.md
Original file line number Diff line number Diff line change
@@ -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).
5 changes: 0 additions & 5 deletions examples/minimal/laze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@ apps:
- name: minimal
depends:
- ?release
env:
global:
CFLAGS:
- -DTHREAD_STACKSIZE_MAIN=256
- -DLOG_LEVEL=LOG_NONE
5 changes: 1 addition & 4 deletions examples/minimal/src/main.rs
Original file line number Diff line number Diff line change
@@ -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 _;

0 comments on commit 1d21789

Please sign in to comment.