prepare HAL release #5

Merged
muellerr merged 1 commits from prep-hal-release into main 2024-06-16 19:17:33 +02:00
5 changed files with 5 additions and 11 deletions

View File

@ -31,7 +31,3 @@ features = ["cortex-m-systick"]
version = "0.6"
path = "../../va108xx-hal"
features = ["rt", "defmt"]
[dependencies.va108xx]
version = "0.3"
path = "../../va108xx"

View File

@ -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;

View File

@ -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),
);
@ -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),
);
@ -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),
);

View File

@ -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() -> ! {

View File

@ -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"]