Skip to content
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

mcu/stm32: Fix TIM6 timer interrupt number #3154

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hw/mcu/stm/stm32_common/include/stm32_common/stm32_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void stm32_periph_create(void);
#define STM32_HAL_TIMER_TIM4_IRQ TIM4_IRQn
#endif
#ifndef STM32_HAL_TIMER_TIM6_IRQ
#define STM32_HAL_TIMER_TIM6_IRQ TIM6_IRQn
#define STM32_HAL_TIMER_TIM6_IRQ TIM6_DAC_IRQn
#endif
#ifndef STM32_HAL_TIMER_TIM7_IRQ
#define STM32_HAL_TIMER_TIM7_IRQ TIM7_IRQn
Expand Down
1 change: 1 addition & 0 deletions hw/mcu/stm/stm32l1xx/include/mcu/stm32_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ struct stm32_hal_spi_cfg {

#define STM32_HAL_TIMER_MAX (3)

#define STM32_HAL_TIMER_TIM6_IRQ TIM6_IRQn
#define STM32_HAL_TIMER_TIM9_IRQ TIM9_IRQn
#define STM32_HAL_TIMER_TIM10_IRQ TIM10_IRQn
#define STM32_HAL_TIMER_TIM11_IRQ TIM11_IRQn
Expand Down
1 change: 1 addition & 0 deletions hw/mcu/stm/stm32u5xx/include/mcu/stm32_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ struct stm32_hal_spi_cfg {

#define STM32_HAL_TIMER_TIM1_IRQ TIM1_UP_IRQn
#define STM32_HAL_TIMER_TIM8_IRQ TIM8_UP_IRQn
#define STM32_HAL_TIMER_TIM6_IRQ TIM6_IRQn
#define STM32_HAL_TIMER_TIM15_IRQ TIM15_IRQn
#define STM32_HAL_TIMER_TIM16_IRQ TIM16_IRQn
#define STM32_HAL_TIMER_TIM17_IRQ TIM17_IRQn
Expand Down
Loading