I’m having linking problems using portSAVE_CONTEXT and portRESTORE_CONTEXT. I’m using IAR for V850. I included <portmacro.h> in the cpp file that contains calls to these functions. I have also declared them as extern “C” functions but linker says:
Error: Undefined external “portSAVE_CONTEXT” referred in main
What 's wrong with that? Does it happens to anybody? Does anyone know the solution?