Skip to content

Commit

Permalink
prepare HAL release
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Jun 16, 2024
1 parent 63ce881 commit 5e56e9b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
4 changes: 0 additions & 4 deletions examples/simple/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ features = ["cortex-m-systick"]
version = "0.6"
path = "../../va108xx-hal"
features = ["rt", "defmt"]

[dependencies.va108xx]
version = "0.3"
path = "../../va108xx"
2 changes: 1 addition & 1 deletion examples/simple/examples/blinky-pac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

use cortex_m_rt::entry;
use panic_halt as _;
use va108xx as pac;
use va108xx_hal::pac;

// REB LED pin definitions. All on port A
const LED_D2: u32 = 1 << 10;
Expand Down
6 changes: 3 additions & 3 deletions examples/simple/examples/cascade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn main() -> ! {
CountDownTimer::new(&mut dp.sysconfig, 50.MHz(), dp.tim3).auto_disable(true);
cascade_triggerer.listen(
Event::TimeOut,
IrqCfg::new(va108xx::Interrupt::OC1, true, false),
IrqCfg::new(pac::Interrupt::OC1, true, false),
Some(&mut dp.irqsel),
Some(&mut dp.sysconfig),
);
Expand All @@ -62,7 +62,7 @@ fn main() -> ! {
// the timer expires
cascade_target_1.listen(
Event::TimeOut,
IrqCfg::new(va108xx::Interrupt::OC2, true, false),
IrqCfg::new(pac::Interrupt::OC2, true, false),
Some(&mut dp.irqsel),
Some(&mut dp.sysconfig),
);
Expand All @@ -88,7 +88,7 @@ fn main() -> ! {
// the timer expires
cascade_target_2.listen(
Event::TimeOut,
IrqCfg::new(va108xx::Interrupt::OC3, true, false),
IrqCfg::new(pac::Interrupt::OC3, true, false),
Some(&mut dp.irqsel),
Some(&mut dp.sysconfig),
);
Expand Down
1 change: 0 additions & 1 deletion examples/simple/examples/rtt-log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use cortex_m_rt::entry;
use panic_halt as _;
use rtt_target::{rprintln, rtt_init_print};
use va108xx as _;

#[entry]
fn main() -> ! {
Expand Down
3 changes: 1 addition & 2 deletions va108xx-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ defmt = { version = "0.3", optional = true }
delegate = "0.12"

[dependencies.va108xx]
version = "0.3.0"
path = "../va108xx"
version = "0.3"
default-features = false
features = ["critical-section"]

Expand Down

0 comments on commit 5e56e9b

Please sign in to comment.