-
Notifications
You must be signed in to change notification settings - Fork 7.3k
STM32 EXTI Rework #85508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
STM32 EXTI Rework #85508
Conversation
48d57d5
to
4540804
Compare
41c6fe7
to
49f0acc
Compare
@erwango Do you have ability to run all the EXTI/GPIO twister tests for different stm32 SoC on HW for this PR? |
First, a big thanks for addressing this point.
Yes, but we're currently busy with v4.1, so this topic will be addressed in low prio. Then, one observation regarding the whole change. For instance: here is an example of good draft PR: https://github.com/zephyrproject-rtos/zephyr/pull/85135/commits |
@erwango Thanks for the advice. I have a commit-split definitely on my to-do list. I didn't do so, cause I have somehow cyclic dependency:
I hope you see my point. Sure I will split commits - thanks for the reminder ;) |
aa5fc04
to
2e045aa
Compare
c42bb71
to
e6208a6
Compare
add nucleo_h745zi_q_stm32h745xx_m7 overlay Signed-off-by: Alexander Kozhinov <[email protected]>
add nucleo_h745zi_q_stm32h745xx_m7 overlay Signed-off-by: Alexander Kozhinov <[email protected]>
rename intc_exti_stm32.c to intc_gpio_stm32.c add renamed file to CMakeLists.txt define GPIO_INTC_STM32 KConfig entry Signed-off-by: Alexander Kozhinov <[email protected]>
integrate EXTI driver Co-authored-by: Mathieu CHOPLAIN <[email protected]> Signed-off-by: Alexander Kozhinov <[email protected]>
e6208a6
to
78c18b5
Compare
add peripheral lines support add EXTI interface Co-authored-by: Mathieu CHOPLAIN <[email protected]> Signed-off-by: Alexander Kozhinov <[email protected]>
add exti driver tests for stm32 platform Signed-off-by: Alexander Kozhinov <[email protected]>
integrate intc_exti_stm32 to intc_gpio_stm32 Co-authored-by: Mathieu CHOPLAIN <[email protected]> Signed-off-by: Alexander Kozhinov <[email protected]>
set num-lines to total number of lines Signed-off-by: Alexander Kozhinov <[email protected]>
78c18b5
to
78db21b
Compare
@mathieuchopstm Thanks for the review - I've applied changes so far. Please take a look. |
@henrikbrixandersen @bjarki-andreasen please ignore last review request - the git-hub app on the smartphone didn't worked as expected. |
Rework STM32 Zephyr EXTI driver to be independent from GPIO and compatible with most of the STM32 SoC's.
Addresses the issue #85366
This change introduces updated EXTI interrupt controller supporting interrupt/event lines handling also from peripherals.
The simplest way to test this PR under Linux is to run tests by utilizing following script:
Create a script file:
Copy following content to the script:
NOTE: You may need to change the board name in
board_list
.Run the script:
<zephyr_root_path>/exti_build_test.sh