解決済! 解決策の投稿を見る。
Hello
In fact you have to specify that pragma in front of both the implementation and prototype of the function.
Can you please try.
CrasyCat
Hello
The message is generated because the function gCan_TxIntHandler, which is an interrupt function is not allocated in non banked memory.
In Banked memory model all interrupt functions should be allocated in a __NEAR_SEG code Section.
Place following pragma prior to your interrupt function implementation:
#ifndef __SMALL__
#pragma CODE_SEG __NEAR_SEG NON_BANKED
#endif
Place following pragma after the function implementation
#ifndef __SMALL__
#pragma CODE_SEG DEFAULT
#endif
I hope this helps.
CrasyCat
Hello
In fact you have to specify that pragma in front of both the implementation and prototype of the function.
Can you please try.
CrasyCat