Skip to content

Commit f6566ed

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

File tree

5 files changed

+48
-39
lines changed

5 files changed

+48
-39
lines changed

examples/esp32c3/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/esp32c3/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 = ["esp32c3"] }
2121
esp-hal = { version = "=1.0.0-rc.0", features = ["esp32c3", "unstable"] }
2222
esp-println = { version = "0.15.0", features = ["esp32c3"] }
23-
esp32c3 = { version = "0.30.0", features = ["critical-section"] }
23+
esp32c3 = { version = "0.31.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
@@ -67,7 +67,7 @@ stm32-metapac = { version = "19.0.0", optional = true }
6767
# i.MX RT
6868
imxrt-ral = { version = "0.6.1", optional = true }
6969

70-
esp32c3 = {version = "0.30.0", optional = true }
70+
esp32c3 = {version = "0.31.0", optional = true }
7171
esp32c6 = {version = "0.22.0", optional = true }
7272
riscv = {version = "0.16.0", optional = true }
7373

rtic/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ name = "rtic"
2626

2727
[dependencies]
2828
riscv-slic = { version = "0.2.0", optional = true }
29-
esp32c3 = { version = "0.30.0", optional = true }
29+
esp32c3 = {version = "0.31.0", optional = true }
3030
esp32c6 = {version = "0.22.0", optional = true }
31-
riscv = {version = "0.16.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_esp32c3.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,20 @@ pub fn pend(int: Interrupt) {
8787
match int {
8888
Interrupt::FROM_CPU_INTR0 => peripherals
8989
.SYSTEM
90-
.cpu_intr_from_cpu_0()
91-
.write(|w| w.cpu_intr_from_cpu_0().bit(true)),
90+
.cpu_intr_from_cpu(0)
91+
.write(|w| w.cpu_intr().bit(true)),
9292
Interrupt::FROM_CPU_INTR1 => peripherals
9393
.SYSTEM
94-
.cpu_intr_from_cpu_1()
95-
.write(|w| w.cpu_intr_from_cpu_1().bit(true)),
94+
.cpu_intr_from_cpu(1)
95+
.write(|w| w.cpu_intr().bit(true)),
9696
Interrupt::FROM_CPU_INTR2 => peripherals
9797
.SYSTEM
98-
.cpu_intr_from_cpu_2()
99-
.write(|w| w.cpu_intr_from_cpu_2().bit(true)),
98+
.cpu_intr_from_cpu(2)
99+
.write(|w| w.cpu_intr().bit(true)),
100100
Interrupt::FROM_CPU_INTR3 => peripherals
101101
.SYSTEM
102-
.cpu_intr_from_cpu_3()
103-
.write(|w| w.cpu_intr_from_cpu_3().bit(true)),
102+
.cpu_intr_from_cpu(3)
103+
.write(|w| w.cpu_intr().bit(true)),
104104
_ => panic!("Unsupported software interrupt"), //should never happen, checked at compile time
105105
};
106106
}
@@ -113,20 +113,20 @@ pub fn unpend(int: Interrupt) {
113113
match int {
114114
Interrupt::FROM_CPU_INTR0 => peripherals
115115
.SYSTEM
116-
.cpu_intr_from_cpu_0()
117-
.write(|w| w.cpu_intr_from_cpu_0().bit(false)),
116+
.cpu_intr_from_cpu(0)
117+
.write(|w| w.cpu_intr().bit(false)),
118118
Interrupt::FROM_CPU_INTR1 => peripherals
119119
.SYSTEM
120-
.cpu_intr_from_cpu_1()
121-
.write(|w| w.cpu_intr_from_cpu_1().bit(false)),
120+
.cpu_intr_from_cpu(1)
121+
.write(|w| w.cpu_intr().bit(false)),
122122
Interrupt::FROM_CPU_INTR2 => peripherals
123123
.SYSTEM
124-
.cpu_intr_from_cpu_2()
125-
.write(|w| w.cpu_intr_from_cpu_2().bit(false)),
124+
.cpu_intr_from_cpu(2)
125+
.write(|w| w.cpu_intr().bit(false)),
126126
Interrupt::FROM_CPU_INTR3 => peripherals
127127
.SYSTEM
128-
.cpu_intr_from_cpu_3()
129-
.write(|w| w.cpu_intr_from_cpu_3().bit(false)),
128+
.cpu_intr_from_cpu(3)
129+
.write(|w| w.cpu_intr().bit(false)),
130130
_ => panic!("Unsupported software interrupt"),
131131
};
132132
}

0 commit comments

Comments
 (0)