单片机msp430f249,中断向量0XFFC0-0xFFFF,跑free rtos的系统,官方汇编代码插入的定时器A中断函数,free rtos系统运行没有问题,当我定义一个外部P1.1脚的中断,没有问题,当我自己在定义一个定时器B 中断时,编译器就报错,
- Error[e16]: Segment INTVEC (size: 0x3c align: 0x1) is too long for segment definition. At least 0xa more bytes needed. The problem occurred while processing the segment placement command "-Z(CODE)INTVEC=FFC0-FFFF", where at the moment of placement the available memory ranges were "CODE:ffc0-fff1,CODE:fff4-ffff"
- Reserved ranges relevant to this placement:
- ffc0-fff1 INTVEC
- fff2-fff3 Absolute code from portext
- fff4-ffff INTVEC
复制代码我试了将汇编代码插入的中断改成正常C语言的,但是整个free rtos的系统就跑不起来了。有哪位大神知道怎么解决?
此帖出自
小平头技术问答
一周热门 更多>