refactor(parlio_rx): refactor to support unaligned user payload buffer

Closes https://github.com/espressif/esp-idf/issues/17581
This commit is contained in:
laokaiyao
2025-12-03 11:23:06 +08:00
committed by Kevin (Lao Kaiyao)
parent ac41da5563
commit 3434e4b1d1
12 changed files with 181 additions and 127 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ static inline void rmt_rx_mount_dma_buffer(rmt_rx_channel_t *rx_chan, const void
.length = per_block_size,
.buffer_alignment = mem_alignment,
.flags = {
.mark_final = false,
.mark_final = GDMA_FINAL_LINK_TO_DEFAULT,
}
};
}
+1 -1
View File
@@ -105,7 +105,7 @@ static esp_err_t rmt_tx_init_dma_link(rmt_tx_channel_t *tx_channel, const rmt_tx
// each node can generate the DMA eof interrupt, and the driver will do a ping-pong trick in the eof callback
.mark_eof = true,
// chain the descriptors into a ring, and will break it in `rmt_encode_eof()`
.mark_final = false,
.mark_final = GDMA_FINAL_LINK_TO_DEFAULT,
}
};
}