Skip to content

Commit

Permalink
fixup! refactor: use examples dir as demo project holder
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 27, 2024
1 parent dd3f045 commit e28f866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/hpm5300evk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ embedded-graphics = "0.8.1"
riscv = { version = "0.11.1", features = ["critical-section-single-hart"] }
embedded-hal = "1.0.0"
embedded-io = "0.6.1"
futures-util = { version = "0.3.30", default-features = false }


[profile.release]
Expand Down
6 changes: 3 additions & 3 deletions examples/hpm5300evk/src/bin/pll_setting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

use embedded_hal::delay::DelayNs;
use embedded_io::Write as _; // `writeln!` provider
use hal::gpio::{Level, Output, Speed};
use hal::pac;
use hpm_hal::gpio::{Level, Output, Speed};
use hpm_hal::uart::UartTx;
use hpm_metapac::MCHTMR;
use hal::pac::MCHTMR;
use hal::uart::UartTx;
use riscv::delay::McycleDelay;
use {defmt_rtt as _, hpm_hal as hal, panic_halt as _, riscv_rt as _};

Expand Down

0 comments on commit e28f866

Please sign in to comment.