[STM8] STM8S编译问题

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

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