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

fix(HardwareTimer): handle FDCANx irq when shared with TIMx irq #2301

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Mar 11, 2024

Application have to declare the phfdcan1 and phfdcan2.

Example:

FDCAN_HandleTypeDef myhfdcan1;
FDCAN_HandleTypeDef *phfdcan1 = &myhfdcan1;
#if defined(FDCAN2_BASE)
FDCAN_HandleTypeDef *phfdcan2 = NULL;
#endif

Fixes #2224.

@fpistm fpistm added the fix 🩹 Bug fix label Mar 11, 2024
@fpistm fpistm added this to the 2.8.0 milestone Mar 11, 2024
@fpistm fpistm added this to In progress in STM32 core based on ST HAL via automation Mar 11, 2024
Application have to declare the phfdcan1 and phfdcan2.

Example:
FDCAN_HandleTypeDef myhfdcan1;
FDCAN_HandleTypeDef *phfdcan1 = &myhfdcan1;
#if defined(FDCAN2_BASE)
FDCAN_HandleTypeDef *phfdcan2 = NULL;
#endif

Fixes stm32duino#2224.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm merged commit 641f3d8 into stm32duino:main Mar 12, 2024
23 checks passed
STM32 core based on ST HAL automation moved this from In progress to Done Mar 12, 2024
@fpistm fpistm deleted the TIM_FDCAN branch March 12, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 Bug fix
Projects
Development

Successfully merging this pull request may close these issues.

FDCAN bus interrupts are not handled for the STM32G0B1 causing an infinite loop
1 participant