Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/minimal: some cleanup, disable threading #94

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 _;
Loading