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

dbg_printf for kernel debugging #4745

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

dbg_printf for kernel debugging #4745

wants to merge 1 commit into from

Conversation

cepetr
Copy link
Contributor

@cepetr cepetr commented Mar 6, 2025

This tiny pull request introduces the dbg_printf routine, which can be used inside the kernel for temporary debugging purposes.

Currently, dbg_printf() outputs all characters to the SWO output, which can be displayed in an IDE or a standalone application like STM32CubeProg while the device is connected to an ST-Link.

In the future, we might extend dbg_printf() to allow switching between SWO, USB VCP, and other outputs, or disabling it in release builds to make it more versatile.

@cepetr cepetr self-assigned this Mar 6, 2025
@cepetr cepetr requested a review from TychoVrahe March 6, 2025 16:11
Copy link

github-actions bot commented Mar 6, 2025

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3B1 Safe 3 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3T1 Safe 5 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@cepetr cepetr requested a review from kopecdav March 6, 2025 16:12
@cepetr cepetr marked this pull request as ready for review March 6, 2025 16:54
@cepetr cepetr requested a review from prusnak as a code owner March 6, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔎 Needs review
Development

Successfully merging this pull request may close these issues.

1 participant