forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ports/stm: add audioio.AudioOut for STM32F405/F407 #10976
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
Open
ChrisNourse
wants to merge
17
commits into
adafruit:main
Choose a base branch
from
ChrisNourse:feature/add_audioio_to_stm32
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
62adfdc
ports/stm: add DAC-based audioio.AudioOut for STM32F405/F407
3f5fa6a
tests: add audioio manual test suite for STM32F405/F407
ec21af4
ports/stm: add stereo output via DAC CH2 (PA05/A1) for STM32F405
ff10e51
tests: add stereo test and cross-platform support to audioio suite
81467e5
ports/stm: track source position across DMA half-fills in audioio
fcac2fc
ports/stm: enlarge audioio DMA buffer to 2048 samples
d112d01
ports/stm: round-to-nearest TIM6 period in audioio
53fef38
ports/stm: ramp into first sample on audioio play start
dc6fb6b
ports/stm: queue DMA halves via bitmask + grow audioio buffer
2b10a4b
ports/stm: harden audioio review fixes + bump DMA to VERY_HIGH
e3e3280
tests: harden audioio runner + clean up manual test docs
dce5290
ports/stm: note atmel-samd freq bias near TIM6 round-to-nearest
c483007
tests: pre-flight CIRCUITPY free-space check in audioio runner
11b441f
tests: capture audioio runner results from F405 (all 5 PASS)
2e97b27
tests: drop manual soft-reset test from audioio suite
0f28c94
chore: pre-commit fixups (locale, ruff-format, trailing whitespace)
cd142d5
ports/stm: reuse existing translations and shared deinit guard in aud…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add new translations unless you really really need to. (claude loves to add new ones) Most of these should be swappable with existing ones. The %q approach makes it easy adapt a message for your use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do. Pushed cd142d5 — all 11 custom strings collapsed into existing pot entries (
Invalid %q pin,%q init failed,DAC Device/Channel Init Error) and the redundant in-driver deinit check is gone (shared-bindingscheck_for_deinitalready covers it). Net: zero new pot entries vs main.