打印

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

[复制链接]
245|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

粉丝