[技术问答] IAR 编译N76E003出错Error[e16]: Segment XSTACK

[复制链接]
1717|5
 楼主| huang7806 发表于 2018-6-6 10:28 | 显示全部楼层 |阅读模式
Error[e16]: Segment XSTACK (size: 0xeff align: 0) is too long for segment definition. At least 0xc00 more bytes needed. The problem occurred while processing the segment placement command  请问这个是什么原因?单个文件能够编译通过。

dongliushui 发表于 2018-6-6 18:15 来自手机 | 显示全部楼层
太长?是不是定义了什么特别长的东西
yiyigirl2014 发表于 2018-6-7 16:34 | 显示全部楼层
IAR的配置问题。
yiyigirl2014 发表于 2018-6-7 16:35 | 显示全部楼层
解决方法:
依次打开Project -> Options -> General Option -> Target,在Target标签中找到“Number of virtual”,原来默认为16,修改为8。
yiyigirl2014 发表于 2018-6-7 16:36 | 显示全部楼层
你先试试看这方法可行不,如果不行,换Keil吧,Keil适合开发这个,IAR最近刚支持的,可能有点小问题。
小明的同学 发表于 2018-6-8 16:04 | 显示全部楼层
没遇到过,好久没有用IAR了,不会**。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

3

帖子

1

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