diff --git a/va416xx-embassy/Cargo.toml b/va416xx-embassy/Cargo.toml index 30e7412..e2536dd 100644 --- a/va416xx-embassy/Cargo.toml +++ b/va416xx-embassy/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["no-std", "hal", "cortex-m", "vorago", "va416xx"] categories = ["aerospace", "embedded", "no-std", "hardware-support"] [dependencies] -vorago-shared-periphs = { git = "https://egit.irs.uni-stuttgart.de/rust/vorago-shared-periphs.git", features = ["vor4x"] } +vorago-shared-periphs = { path = "../../vorago-shared-periphs", features = ["vor4x"] } va416xx-hal = { path = "../va416xx-hal" } [features] diff --git a/va416xx-hal/Cargo.toml b/va416xx-hal/Cargo.toml index 24ba437..299cb0c 100644 --- a/va416xx-hal/Cargo.toml +++ b/va416xx-hal/Cargo.toml @@ -13,9 +13,9 @@ categories = ["embedded", "no-std", "hardware-support"] [dependencies] cortex-m = { version = "0.7", features = ["critical-section-single-core"] } va416xx = { version = "0.4", features = ["critical-section"], default-features = false } -derive-mmio = { version = "0.4", git = "https://github.com/knurling-rs/derive-mmio.git" } +derive-mmio = { git = "https://github.com/knurling-rs/derive-mmio.git", version = "0.6" } static_assertions = "1.1" -vorago-shared-periphs = { git = "https://egit.irs.uni-stuttgart.de/rust/vorago-shared-periphs.git", features = ["vor4x"] } +vorago-shared-periphs = { path = "../../vorago-shared-periphs", features = ["vor4x"] } libm = "0.2" nb = "1" diff --git a/va416xx-hal/src/can/regs.rs b/va416xx-hal/src/can/regs.rs index 5e19e4d..f589a44 100644 --- a/va416xx-hal/src/can/regs.rs +++ b/va416xx-hal/src/can/regs.rs @@ -357,10 +357,10 @@ impl defmt::Format for DiagnosticRegister { #[mmio(const_inner)] #[repr(C)] pub struct Can { - #[mmio(inner)] + #[mmio(Inner)] cmbs: [CanMsgBuf; 15], /// Hidden CAN message buffer. Only allowed to be used internally by the peripheral. - #[mmio(inner)] + #[mmio(Inner)] _hcmb: CanMsgBuf, control: Control, timing: TimingConfig,