No space in execution regions with .ANY selector matching xx.o(.data). 当我们的MCU的没有足够RAM空间,因此我们会得到一个这样的错误。可以考虑减小对内存的使用以及增加堆栈空间大小,比如:1、不使用malloc来申请内存,使用全局变量或者静态变量。2、增大堆栈空间大小(根据MCU资源来修改)3、优化一些没有使用到的变量。
编译报错: Error: L6406E: No space in execution regions with .ANY selector matching xx.o(.data).
最新推荐文章于 2024-07-01 15:43:55 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)