feat: iFlight Commando 14 support (#7494)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
This commit is contained in:
3djc
2026-07-16 12:30:16 +10:00
committed by GitHub
co-authored by Claude Opus 4.8 Peter Feerick
parent 44b98d5bfd
commit 640fc189e7
65 changed files with 5083 additions and 51 deletions
@@ -145,6 +145,12 @@ static void dac_dma_init()
{
stm32_dma_enable_clock(AUDIO_DMA);
// _dma_buffer lives in a NOLOAD section, so it holds random SRAM contents at
// power-on. Prime it with silence so the DAC never clocks out garbage (heard
// as a crackle) on the very first transfer.
for (unsigned i = 0; i < DMA_BUFFER_LEN; i++)
_dma_buffer[i] = AUDIO_DATA_SILENCE;
LL_DMA_DeInit(AUDIO_DMA, AUDIO_DMA_Stream);
LL_DMA_InitTypeDef dmaInit;