Skip to content

BUG, G491 MCU TIM7_DAC_IRQn not defined #1742

Closed
@Eddddddddy

Description

@Eddddddddy

I added a new stm32 model, G491, but encountered a problem when compiling.
TIM7_DAC_IRQn not defined

#elif defined(STM32G4xx)
#define TIM7_IRQn TIM7_DAC_IRQn
#define TIM7_IRQHandler TIM7_DAC_IRQHandler

Only those MCU have TIM7_DAC_IRQn. It not have TIM7_DAC_IRQn like G491.
image

I search the HAL repo.

https://github.com/STMicroelectronics/STM32CubeG4/blob/5b804dfaaeeafe5e87705b62099f420f822f6b28/Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g491xx.h#L131

It only has TIM7_IRQn.

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions