请教一下各位大侠,在使用 IntRegister的时候,如何修改sct文件?

2019-03-24 15:44发布

我自己编写了一个串口中断处理函数,使用UARTIntRegister注册后发现中断处理函数没有被调用。   我看之前的帖子提到“在使用 IntRegister的时候,要修改sct文件,否则有可能失效”   我想尝试修改下sct文件,想请教一下各位大侠 sct文件如何修改?   谢谢! 此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
4条回答
academic
2019-03-25 00:48
< :TI_MSP430_内容页_SA7 -->

  1. LR_IROM 0x00000000 0x00016800
    {
    ;
    ; Specify the Execution Address of the code and the size.
    ;
    ER_IROM 0x00000000 0x00016800
    {
    *.o (RESET, +First)
    * (InRoot$$Sections, +RO)
    }

    ;
    ; Specify the Execution Address of the data area.
    ;
    RW_IRAM 0x20000000 0x00008000
    {
    ;
    ; Uncomment the following line in order to use IntRegister().
    ;
    ;* (vtable, +First)
    * (+RW, +ZI)
    }
    }
复制代码

将 ;* (vtable, +First) 前边的 “;”去掉试试。

一周热门 更多>

相关问题

    相关文章