aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-05-21 00:12:53 +0200
committerGitHub <[email protected]>2025-05-21 00:12:53 +0200
commit7cbc9058bc726900571a7858c581f60cd8cb0266 (patch)
tree6999fbd8fe55a88bdecdc4cf08d4cceb0ee2d2f8
parentef32187ed7349f3883d997b6f1590e11dbc8db81 (diff)
parent156bf00009495bbdffefd67f920919b4cd35c418 (diff)
Merge pull request #4225 from i509VCB/fix-ci-again
mspm0: add gpio handlers to l122x/l110x
-rw-r--r--embassy-mspm0/src/gpio.rs4
-rw-r--r--embassy-mspm0/src/int_group/l12xx.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/embassy-mspm0/src/gpio.rs b/embassy-mspm0/src/gpio.rs
index 3c824b0e6..19a6230b6 100644
--- a/embassy-mspm0/src/gpio.rs
+++ b/embassy-mspm0/src/gpio.rs
@@ -10,7 +10,7 @@ use embassy_sync::waitqueue::AtomicWaker;
10 10
11use crate::pac::gpio::vals::*; 11use crate::pac::gpio::vals::*;
12use crate::pac::gpio::{self}; 12use crate::pac::gpio::{self};
13#[cfg(all(feature = "rt", mspm0c110x))] 13#[cfg(all(feature = "rt", any(mspm0c110x, mspm0l110x)))]
14use crate::pac::interrupt; 14use crate::pac::interrupt;
15use crate::pac::{self}; 15use crate::pac::{self};
16 16
@@ -1120,7 +1120,7 @@ impl Iterator for BitIter {
1120} 1120}
1121 1121
1122// C110x has a dedicated interrupt just for GPIOA, as it does not have a GROUP1 interrupt. 1122// C110x has a dedicated interrupt just for GPIOA, as it does not have a GROUP1 interrupt.
1123#[cfg(all(feature = "rt", mspm0c110x))] 1123#[cfg(all(feature = "rt", any(mspm0c110x, mspm0l110x)))]
1124#[interrupt] 1124#[interrupt]
1125fn GPIOA() { 1125fn GPIOA() {
1126 gpioa_interrupt(); 1126 gpioa_interrupt();
diff --git a/embassy-mspm0/src/int_group/l12xx.rs b/embassy-mspm0/src/int_group/l12xx.rs
index 833771eea..eeb2ce70d 100644
--- a/embassy-mspm0/src/int_group/l12xx.rs
+++ b/embassy-mspm0/src/int_group/l12xx.rs
@@ -41,9 +41,9 @@ fn GROUP1() {
41 41
42 match group { 42 match group {
43 Group1::GPIOA => crate::gpio::gpioa_interrupt(), 43 Group1::GPIOA => crate::gpio::gpioa_interrupt(),
44 Group1::GPIOB => todo!("implement GPIOB"), 44 Group1::GPIOB => crate::gpio::gpiob_interrupt(),
45 Group1::COMP0 => todo!("implement COMP0"), 45 Group1::COMP0 => todo!("implement COMP0"),
46 Group1::TRNG => todo!("implement TRNG"), 46 Group1::TRNG => todo!("implement TRNG"),
47 Group1::GPIOC => todo!("implement GPIOC"), 47 Group1::GPIOC => crate::gpio::gpioc_interrupt(),
48 } 48 }
49} 49}