Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
62adfdc
ports/stm: add DAC-based audioio.AudioOut for STM32F405/F407
Apr 5, 2026
3f5fa6a
tests: add audioio manual test suite for STM32F405/F407
Apr 5, 2026
ec21af4
ports/stm: add stereo output via DAC CH2 (PA05/A1) for STM32F405
Apr 7, 2026
ff10e51
tests: add stereo test and cross-platform support to audioio suite
Apr 7, 2026
81467e5
ports/stm: track source position across DMA half-fills in audioio
Apr 27, 2026
fcac2fc
ports/stm: enlarge audioio DMA buffer to 2048 samples
Apr 27, 2026
d112d01
ports/stm: round-to-nearest TIM6 period in audioio
Apr 27, 2026
53fef38
ports/stm: ramp into first sample on audioio play start
Apr 27, 2026
dc6fb6b
ports/stm: queue DMA halves via bitmask + grow audioio buffer
May 2, 2026
2b10a4b
ports/stm: harden audioio review fixes + bump DMA to VERY_HIGH
May 3, 2026
e3e3280
tests: harden audioio runner + clean up manual test docs
May 3, 2026
dce5290
ports/stm: note atmel-samd freq bias near TIM6 round-to-nearest
May 3, 2026
c483007
tests: pre-flight CIRCUITPY free-space check in audioio runner
May 3, 2026
11b441f
tests: capture audioio runner results from F405 (all 5 PASS)
May 3, 2026
2e97b27
tests: drop manual soft-reset test from audioio suite
May 3, 2026
0f28c94
chore: pre-commit fixups (locale, ruff-format, trailing whitespace)
May 4, 2026
cd142d5
ports/stm: reuse existing translations and shared deinit guard in aud…
May 4, 2026
d42941d
ports/stm: use mp_arg_validate_int_min for audioio sample_rate floor
May 5, 2026
9e2d48a
ports/stm: drop stale audioio sample_rate pot entry
May 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion locale/circuitpython.pot
Comment thread
ChrisNourse marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ msgid "%q indices must be integers, not %s"
msgstr ""

#: ports/analog/common-hal/busio/SPI.c ports/analog/common-hal/busio/UART.c
#: ports/stm/common-hal/audioio/AudioOut.c
#: shared-bindings/digitalio/DigitalInOutProtocol.c
#: shared-module/busdisplay/BusDisplay.c
msgid "%q init failed"
Expand Down Expand Up @@ -889,10 +890,12 @@ msgid "Critical ROS failure during soft reboot, reset required: %d"
msgstr ""

#: ports/stm/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/audioio/AudioOut.c
msgid "DAC Channel Init Error"
msgstr ""

#: ports/stm/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/audioio/AudioOut.c
msgid "DAC Device Init Error"
msgstr ""

Expand Down Expand Up @@ -1541,6 +1544,7 @@ msgstr ""

#: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/audioio/AudioOut.c
msgid "No DAC on chip"
msgstr ""

Expand Down Expand Up @@ -4049,7 +4053,7 @@ msgstr ""
msgid "output array must be contiguous"
msgstr ""

#: py/objint_mpz.c
#: py/objint_longlong.c py/objint_mpz.c
msgid "overflow converting long int to machine word"
msgstr ""

Expand Down
6 changes: 6 additions & 0 deletions ports/stm/common-hal/analogio/AnalogOut.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ typedef struct {
} analogio_analogout_obj_t;

void analogout_reset(void);

// Shared DAC peripheral handle (defined in AnalogOut.c).
// AudioOut reuses this handle for DMA-triggered DAC operation on channel 1.
#if HAS_DAC
extern DAC_HandleTypeDef handle;
#endif
Loading
Loading