Skip to content

Fix boot loop on GD32F103/STM32F103 boards when SPEAKER enabled#28479

Open
opaip wants to merge 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
opaip:bugfix-2.1.x
Open

Fix boot loop on GD32F103/STM32F103 boards when SPEAKER enabled#28479
opaip wants to merge 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
opaip:bugfix-2.1.x

Conversation

@opaip

@opaip opaip commented Jun 30, 2026

Copy link
Copy Markdown

Description:

fixed infinite boot loop / watchdog reset on GD32F1/STM32F1 boards when SPEAKER is enabled.

Why:

::tone() was wrapped inside a critical_section(). the tone function requires active interrupts to start its timers and this creates a deadlock that triggers watchdog reset. Removing the critical section fixed it.
Fixes #26982

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Sovol SV06 boot loop with SPEAKER

1 participant