打印
[STM8]

STM8S编译问题

[复制链接]
1919|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
xfjane|  楼主 | 2010-12-7 10:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
编译的时候出现一下错误:
STMicroelectronics - Linker - rel 3.18
200K namespace for approx 8150 publics
**Error! Class 'vectit' [group ] starting 8000 has exceeded limit of 807F by 28!
Error : segment E:\smart板\smart V2\main.asm:'rom' [0x8080 - 0x8b11] and segment E:\smart板\smart V2\main.asm:'vectit' [0x8000 - 0x80a7] overlap
The command: "lyn Debug\mapping.obj+Debug\main.obj, "Debug\smart v2.cod," " " " has failed, the returned value is: 2
exit code=2.

请问是什么原因?
沙发
xfjane|  楼主 | 2010-12-7 10:13 | 只看该作者
补充问一下,mapping.asm中的
        WORDS                        ; The following addresses are 16 bits long
        segment byte at 8000-807F 'vectit'

'vectit'的范围是不是包含中断服务程序入口的跳转范围?

使用特权

评论回复
板凳
xfjane|  楼主 | 2011-4-8 12:08 | 只看该作者
问题已经解决了

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

22

帖子

1

粉丝