Hello everyone,
I'm programming on a custom C6713 device (Dmodule 6713) and calling two functions from the cslapi namely:
CSLAPI void IRQ_map(Uint32 eventId, Uint32 intNumber);
CSLAPI void *IRQ_setVecs(void *vecs);
The problem is that when I compile my project, the symbols of these functions are unresolved.
My code is as follows:
main.c:
#include <csl_irq.h>
#include "function1.h"
void main(void){
function1();
...
}
function1.c:
#include <csl_irq.h>
void main(void){
IRQ_setVecs((void *)0x00000000); /* point to the IRQ vector table */
IER |= 0x00000022;
IRQ_map(IRQ_EVT_EXTINT5, 5);
...
}
And the errors after compilation:
Description Resource Path Location Type
unresolved symbol _IRQ_map, first referenced in ./main.obj ProjetGenome C/C++ Problem
Description Resource Path Location Type
unresolved symbol _IRQ_setVecs, first referenced in ./main.obj ProjetGenome C/C++ Problem
I also tried compiling without including cls irq in the main.c, but the result was the same.
Could anyone please help me with this problem?
Thank you in advance
Thibault