DMA-存储器到外设USART1的问题

[复制链接]
496|0
 楼主| 棋王高手 发表于 2020-4-22 08:40 | 显示全部楼层 |阅读模式
各位大牛,请教一下,在做DMA-存储器到外设USART1数据传输的时候,在第22节例程工程里将dma——usart.h文件里的原代码 #define  SENDBUFF_SIZE     5000 修改成  #define  SENDBUFF_SIZE     65500(这个变量是DMA串口通道要发送的数量)后,   dma——usart.c文件中的大数组 uint8_t  SendBuff[SENDBUFF_SIZE];(这是一个全局数组吧)未改变,其它代码和配置都未修改,编译后出现以下错误:Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(STACK).
Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f10x.o(.data).
Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_rcc.o(.data).
Error: L6407E: Sections of aggregate size 0x428 bytes could not fit into .ANY selector(s).
请问怎么解决!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

378

主题

378

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部