DSC MC56F8037  LEARNING

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DSC MC56F8037  LEARNING

Jump to solution
2,502 Views
fish7fish
Contributor I

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

Labels (1)
0 Kudos
Reply
1 Solution
2,292 Views
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!

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

View solution in original post

0 Kudos
Reply
2 Replies
2,293 Views
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 Kudos
Reply
2,292 Views
fish7fish
Contributor I

Thank you for the help!

0 Kudos
Reply