Compare commits
4 Commits
va108xx-v0
...
vorago-reb
Author | SHA1 | Date | |
---|---|---|---|
edc03d9e6e | |||
e434f2e301
|
|||
f62825a63e | |||
5e56e9bb12
|
@ -31,7 +31,3 @@ features = ["cortex-m-systick"]
|
|||||||
version = "0.6"
|
version = "0.6"
|
||||||
path = "../../va108xx-hal"
|
path = "../../va108xx-hal"
|
||||||
features = ["rt", "defmt"]
|
features = ["rt", "defmt"]
|
||||||
|
|
||||||
[dependencies.va108xx]
|
|
||||||
version = "0.3"
|
|
||||||
path = "../../va108xx"
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
use cortex_m_rt::entry;
|
use cortex_m_rt::entry;
|
||||||
use panic_halt as _;
|
use panic_halt as _;
|
||||||
use va108xx as pac;
|
use va108xx_hal::pac;
|
||||||
|
|
||||||
// REB LED pin definitions. All on port A
|
// REB LED pin definitions. All on port A
|
||||||
const LED_D2: u32 = 1 << 10;
|
const LED_D2: u32 = 1 << 10;
|
||||||
|
@ -39,7 +39,7 @@ fn main() -> ! {
|
|||||||
CountDownTimer::new(&mut dp.sysconfig, 50.MHz(), dp.tim3).auto_disable(true);
|
CountDownTimer::new(&mut dp.sysconfig, 50.MHz(), dp.tim3).auto_disable(true);
|
||||||
cascade_triggerer.listen(
|
cascade_triggerer.listen(
|
||||||
Event::TimeOut,
|
Event::TimeOut,
|
||||||
IrqCfg::new(va108xx::Interrupt::OC1, true, false),
|
IrqCfg::new(pac::Interrupt::OC1, true, false),
|
||||||
Some(&mut dp.irqsel),
|
Some(&mut dp.irqsel),
|
||||||
Some(&mut dp.sysconfig),
|
Some(&mut dp.sysconfig),
|
||||||
);
|
);
|
||||||
@ -62,7 +62,7 @@ fn main() -> ! {
|
|||||||
// the timer expires
|
// the timer expires
|
||||||
cascade_target_1.listen(
|
cascade_target_1.listen(
|
||||||
Event::TimeOut,
|
Event::TimeOut,
|
||||||
IrqCfg::new(va108xx::Interrupt::OC2, true, false),
|
IrqCfg::new(pac::Interrupt::OC2, true, false),
|
||||||
Some(&mut dp.irqsel),
|
Some(&mut dp.irqsel),
|
||||||
Some(&mut dp.sysconfig),
|
Some(&mut dp.sysconfig),
|
||||||
);
|
);
|
||||||
@ -88,7 +88,7 @@ fn main() -> ! {
|
|||||||
// the timer expires
|
// the timer expires
|
||||||
cascade_target_2.listen(
|
cascade_target_2.listen(
|
||||||
Event::TimeOut,
|
Event::TimeOut,
|
||||||
IrqCfg::new(va108xx::Interrupt::OC3, true, false),
|
IrqCfg::new(pac::Interrupt::OC3, true, false),
|
||||||
Some(&mut dp.irqsel),
|
Some(&mut dp.irqsel),
|
||||||
Some(&mut dp.sysconfig),
|
Some(&mut dp.sysconfig),
|
||||||
);
|
);
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
use cortex_m_rt::entry;
|
use cortex_m_rt::entry;
|
||||||
use panic_halt as _;
|
use panic_halt as _;
|
||||||
use rtt_target::{rprintln, rtt_init_print};
|
use rtt_target::{rprintln, rtt_init_print};
|
||||||
use va108xx as _;
|
|
||||||
|
|
||||||
#[entry]
|
#[entry]
|
||||||
fn main() -> ! {
|
fn main() -> ! {
|
||||||
|
@ -4,8 +4,8 @@ version = "0.6.0"
|
|||||||
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "HAL for the Vorago VA108xx family of microcontrollers"
|
description = "HAL for the Vorago VA108xx family of microcontrollers"
|
||||||
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-hal"
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-hal"
|
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
keywords = ["no-std", "hal", "cortex-m", "vorago", "va108xx"]
|
keywords = ["no-std", "hal", "cortex-m", "vorago", "va108xx"]
|
||||||
categories = ["aerospace", "embedded", "no-std", "hardware-support"]
|
categories = ["aerospace", "embedded", "no-std", "hardware-support"]
|
||||||
@ -24,8 +24,7 @@ defmt = { version = "0.3", optional = true }
|
|||||||
delegate = "0.12"
|
delegate = "0.12"
|
||||||
|
|
||||||
[dependencies.va108xx]
|
[dependencies.va108xx]
|
||||||
version = "0.3.0"
|
version = "0.3"
|
||||||
path = "../va108xx"
|
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["critical-section"]
|
features = ["critical-section"]
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@ version = "0.3.0"
|
|||||||
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "PAC for the Vorago VA108xx family of microcontrollers"
|
description = "PAC for the Vorago VA108xx family of microcontrollers"
|
||||||
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx"
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx"
|
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
keywords = ["no-std", "arm", "cortex-m", "vorago", "va108xx"]
|
keywords = ["no-std", "arm", "cortex-m", "vorago", "va108xx"]
|
||||||
categories = ["embedded", "no-std", "hardware-support"]
|
categories = ["embedded", "no-std", "hardware-support"]
|
||||||
|
@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## [v0.5.0] 2024-06-16
|
## [v0.5.0] 2024-06-16
|
||||||
|
|
||||||
- Updated `va108xx` and `va108xx-hal` dependency.
|
- Updated `va108xx` to v0.3.0 and `va108xx-hal` dependency to v0.6.0
|
||||||
|
|
||||||
## [v0.4.0]
|
## [v0.4.0]
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "vorago-reb1"
|
name = "vorago-reb1"
|
||||||
version = "0.5.0"
|
version = "0.5.0"
|
||||||
authors = ["Robin Mueller <robin.mueller.m@gmail.com>"]
|
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Board Support Crate for the Vorago REB1 development board"
|
description = "Board Support Crate for the Vorago REB1 development board"
|
||||||
homepage = "https://egit.irs.uni-stuttgart.de/rust/vorago-reb1"
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
repository = "https://egit.irs.uni-stuttgart.de/rust/vorago-reb1"
|
repository = "https://egit.irs.uni-stuttgart.de/rust/va108xx-rs"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
keywords = ["no-std", "reb1", "cortex-m", "vorago", "va108xx"]
|
keywords = ["no-std", "reb1", "cortex-m", "vorago", "va108xx"]
|
||||||
categories = ["aerospace", "embedded", "no-std", "hardware-support"]
|
categories = ["aerospace", "embedded", "no-std", "hardware-support"]
|
||||||
@ -20,7 +20,6 @@ version = "0.3"
|
|||||||
|
|
||||||
[dependencies.va108xx-hal]
|
[dependencies.va108xx-hal]
|
||||||
version = "0.6"
|
version = "0.6"
|
||||||
path = "../va108xx-hal"
|
|
||||||
features = ["rt"]
|
features = ["rt"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
Reference in New Issue
Block a user