Skip to content

Commit

Permalink
Merge pull request #138 from luojia65/luojia65/cli
Browse files Browse the repository at this point in the history
[board] cli support on 100ask-d1-h, rearrange mctl module (take 2)
  • Loading branch information
luojia65 authored Oct 7, 2024
2 parents 6c32fc4 + 486caa8 commit d0ed118
Show file tree
Hide file tree
Showing 8 changed files with 710 additions and 363 deletions.
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

0 comments on commit d0ed118

Please sign in to comment.