Skip to content

drivers: counter: stm32_rtc: manage EXTI line in a proper manner#108511

Open
mathieuchopstm wants to merge 1 commit intozephyrproject-rtos:mainfrom
mathieuchopstm:topic/stm32_rtc_counter_exti_cleanup
Open

drivers: counter: stm32_rtc: manage EXTI line in a proper manner#108511
mathieuchopstm wants to merge 1 commit intozephyrproject-rtos:mainfrom
mathieuchopstm:topic/stm32_rtc_counter_exti_cleanup

Conversation

@mathieuchopstm
Copy link
Copy Markdown
Contributor

Instead of hardcoded EXTI line numbers and raw LL API calls, align the STM32 RTC Counter driver with its Real-Time Clock counterpart:

  • obtain EXTI line number from Devicetree
  • use the EXTI INTC API instead of raw LL API calls

Fixes the build issue observed on STM32N6 (west build tests/drivers/counter/counter_basic_api/ -T drivers.counter.basic_api -b stm32n6570_dk//sb).

cc @djiatsaf-st

Instead of hardcoded EXTI line numbers and raw LL API calls, align the
STM32 RTC Counter driver with its Real-Time Clock counterpart:
- obtain EXTI line number from Devicetree
- use the EXTI INTC API instead of raw LL API calls

Fixes the build issue observed on STM32N6.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
@mathieuchopstm mathieuchopstm force-pushed the topic/stm32_rtc_counter_exti_cleanup branch from 5399677 to 953995a Compare May 5, 2026 14:15
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants