Hi,
I'm using uVision 5 to develop a firmware, however I can't get the
linker to find one of my functions.
When building, I get this error:
Error: L6218E: Undefined symbol three()
I have 3 files, main.c, Test.h, Test.c
main.c :
#include "Test.h"
int main()
{ return three();
}
Test.h :
#ifndef TEST_H
#define TEST_H
int three();
#endif
Test.c
#include "Test.h"
int three()
{ return 3;
}
↧