[技术问答]

IAR 编译N76E003出错Error[e16]: Segment XSTACK

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

粉丝