Skip to content

Commit c211bd1

Browse files
dependabot[bot]korken89
authored andcommitted
chore(deps): update esp32c6 requirement from 0.21.0 to 0.22.0
--- updated-dependencies: - dependency-name: esp32c6 dependency-version: 0.22.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent db456fa commit c211bd1

File tree

5 files changed

+48
-39
lines changed

5 files changed

+48
-39
lines changed

examples/esp32c6/Cargo.lock

Lines changed: 28 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/esp32c6/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ esp-backtrace = { version = "0.17.0", features = [
2020
esp-bootloader-esp-idf = { version = "0.2.0", features = ["esp32c6"] }
2121
esp-hal = { version = "=1.0.0-rc.0", features = ["esp32c6", "unstable"] }
2222
esp-println = { version = "0.15.0", features = ["esp32c6", "auto"] }
23-
esp32c6 = { version = "0.21.0", features = ["critical-section"] }
23+
esp32c6 = { version = "0.22.0", features = ["critical-section"] }
2424
rtic = { path = "../../rtic/" }
2525
rtic-monotonics = { path = "../../rtic-monotonics/" }

rtic-monotonics/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ stm32-metapac = { version = "19.0.0", optional = true }
6868
imxrt-ral = { version = "0.6.1", optional = true }
6969

7070
esp32c3 = {version = "0.30.0", optional = true }
71-
esp32c6 = {version = "0.21.0", optional = true }
71+
esp32c6 = {version = "0.22.0", optional = true }
7272
riscv = {version = "0.16.0", optional = true }
7373

7474
[build-dependencies]

rtic/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ name = "rtic"
2727
[dependencies]
2828
riscv-slic = { version = "0.2.0", optional = true }
2929
esp32c3 = { version = "0.30.0", optional = true }
30-
esp32c6 = { version = "0.21.0", optional = true }
31-
riscv = { version = "0.16.0", optional = true }
30+
esp32c6 = {version = "0.22.0", optional = true }
31+
riscv = {version = "0.16.0", optional = true }
3232
cortex-m = { version = "0.7.0", optional = true }
3333
portable-atomic = { version = "1", default-features = false }
3434
rtic-macros = { path = "../rtic-macros", version = "=2.2.0" }

rtic/src/export/riscv_esp32c6.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,20 @@ pub fn pend(int: Interrupt) {
8989
match int {
9090
Interrupt::FROM_CPU_INTR0 => peripherals
9191
.INTPRI
92-
.cpu_intr_from_cpu_0()
93-
.write(|w| w.cpu_intr_from_cpu_0().bit(true)),
92+
.cpu_intr_from_cpu(0)
93+
.write(|w| w.cpu_intr().set_bit()),
9494
Interrupt::FROM_CPU_INTR1 => peripherals
9595
.INTPRI
96-
.cpu_intr_from_cpu_1()
97-
.write(|w| w.cpu_intr_from_cpu_1().bit(true)),
96+
.cpu_intr_from_cpu(1)
97+
.write(|w| w.cpu_intr().set_bit()),
9898
Interrupt::FROM_CPU_INTR2 => peripherals
9999
.INTPRI
100-
.cpu_intr_from_cpu_2()
101-
.write(|w| w.cpu_intr_from_cpu_2().bit(true)),
100+
.cpu_intr_from_cpu(2)
101+
.write(|w| w.cpu_intr().set_bit()),
102102
Interrupt::FROM_CPU_INTR3 => peripherals
103103
.INTPRI
104-
.cpu_intr_from_cpu_3()
105-
.write(|w| w.cpu_intr_from_cpu_3().bit(true)),
104+
.cpu_intr_from_cpu(3)
105+
.write(|w| w.cpu_intr().set_bit()),
106106
_ => panic!("Unsupported software interrupt"), //should never happen, checked at compile time
107107
};
108108
}
@@ -115,20 +115,20 @@ pub fn unpend(int: Interrupt) {
115115
match int {
116116
Interrupt::FROM_CPU_INTR0 => peripherals
117117
.INTPRI
118-
.cpu_intr_from_cpu_0()
119-
.write(|w| w.cpu_intr_from_cpu_0().bit(false)),
118+
.cpu_intr_from_cpu(0)
119+
.write(|w| w.cpu_intr().clear_bit()),
120120
Interrupt::FROM_CPU_INTR1 => peripherals
121121
.INTPRI
122-
.cpu_intr_from_cpu_1()
123-
.write(|w| w.cpu_intr_from_cpu_1().bit(false)),
122+
.cpu_intr_from_cpu(1)
123+
.write(|w| w.cpu_intr().clear_bit()),
124124
Interrupt::FROM_CPU_INTR2 => peripherals
125125
.INTPRI
126-
.cpu_intr_from_cpu_2()
127-
.write(|w| w.cpu_intr_from_cpu_2().bit(false)),
126+
.cpu_intr_from_cpu(2)
127+
.write(|w| w.cpu_intr().clear_bit()),
128128
Interrupt::FROM_CPU_INTR3 => peripherals
129129
.INTPRI
130-
.cpu_intr_from_cpu_3()
131-
.write(|w| w.cpu_intr_from_cpu_3().bit(false)),
130+
.cpu_intr_from_cpu(3)
131+
.write(|w| w.cpu_intr().clear_bit()),
132132
_ => panic!("Unsupported software interrupt"),
133133
};
134134
}

0 commit comments

Comments
 (0)