DSC MC56F8037  LEARNING

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

DSC MC56F8037  LEARNING

跳至解决方案
2,503 次查看
fish7fish
Contributor I

你好,我用TimerA0写了一个定时器溢出中断程序。具体:在工程中添加了(isrTimerOver.c),并在MC56F803x_vector.asm中添加中断函数名,在编译时出现:Link Error:Undefined:"isrTimerOver" Referenced from "interrupt_vector.text" in MC56F803x.asm.  Link Failed

标签 (1)
0 项奖励
回复
1 解答
2,293 次查看
TICS_Fiona
NXP Employee
NXP Employee

Please add the ‘F’ prefix before the ISR function name when call it in assembly file, like below:

                jsr > FisrTimerOver; TimerA Channel 0                                45($5A)

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,294 次查看
TICS_Fiona
NXP Employee
NXP Employee

Please add the ‘F’ prefix before the ISR function name when call it in assembly file, like below:

                jsr > FisrTimerOver; TimerA Channel 0                                45($5A)

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,293 次查看
fish7fish
Contributor I

Thank you for the help!

0 项奖励
回复