问题描述
使用
HAL_UART_Transmit_DMA
发送数组后卡死
问题解决
参考
https://www.armbbs.cn/forum.php?mod=viewthread&tid=123953
因为STM32H7的DMA不支持RAM1,所以要启用RAM2
数组前加
attribute ((section(".RAM_D2")))
Keil中打开
使用
HAL_UART_Transmit_DMA
发送数组后卡死
参考
https://www.armbbs.cn/forum.php?mod=viewthread&tid=123953
因为STM32H7的DMA不支持RAM1,所以要启用RAM2
数组前加
attribute ((section(".RAM_D2")))
Keil中打开