大家好:
一个关于msp430的复位中断的问题请教一下。
是这样,我在用iar做开发环境的时候在测试复位中断,但是编译出现错误
不知道是什么原因,代码是这样(很简单):
#pragma vector = RESET_VECTOR
__interrupt void Rsset(void)
{
__no_operation();
}
编译以后错误如下:
Building configuration: Interrupt0 - Debug
Updating build tree...
main.c
Linking
Error[e16]: Segment RESET (size: 0x2 align: 0x1) is too long for segment definition. At least 0x2 more bytes needed. The problem
occurred while processing the segment placement command "-Z(CODE)RESET=FFFE-FFFF", where at the moment of placement the
available memory ranges were "-none-"
Reserved ranges relevant to this placement:
ffe0-ffff INTVEC
Error while running Linker
Total number of errors: 1
Total number of warnings: 0
请给予帮助,不胜感谢!
此帖出自
小平头技术问答
一周热门 更多>