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

[board] cli support on 100ask-d1-h, rearrange mctl module (take 2) #138

Merged
merged 10 commits into from
Oct 7, 2024
145 changes: 130 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion board/100ask-d1-h-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ edition = "2021"
default-target = "riscv64imac-unknown-none-elf"

[dependencies]
panic-halt = "0.2.0"
embedded-hal = "1.0.0"
embedded-cli = "0.2.1"
embedded-io = "0.6.1"
panic-halt = "0.2.0"
syterkit = { path = "../../rust", features = ["sun20iw1"]}
ufmt = "0.2.0"
num-traits = { version = "0.2.19", default-features = false }

[[bin]]
name = "syterkit-100ask-d1-h"
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h-rs/src/bin/init-dram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ use syterkit::{entry, mctl, println, Clocks, Peripherals};
#[entry]
fn main(p: Peripherals, _c: Clocks) {
println!("DDR Init");
let ram_size = mctl::init(&p.ccu);
let ram_size = mctl::init(&p.ccu, &p.phy);
println!("{}M 🐏", ram_size);
}
Loading
Loading