Merge pull request 'prepare HAL release' (#5) from prep-hal-release into main
All checks were successful
Rust/va108xx-rs/pipeline/head This commit looks good

Reviewed-on: #5
This commit is contained in:
Robin Müller 2024-06-16 19:17:33 +02:00
commit f62825a63e
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"]