Just a quick c++ question. I have a c++ file, "test.cpp" with a function "void temp_test();" in it. When I include the "test.h" file in main and try to call the "temp_test()" function I get the following error.
./build/sama5d4-xplained/ddram/examples/getting_started_with_blue/main.o: In function `main':
D:\atmel-software-package-2.15\examples\getting_started_with_blue/../../examples/getting_started_with_blue/main.c:293: undefined reference to `temp_test'
collect2.exe: error: ld returned 1 exit status
make: *** [../../scripts/Makefile.rules:115: build/sama5d4-xplained/ddram/getting-started_with_blue.elf] Error 1
I've never used c++ before in an embedded environment and hope it is a silly error on my part. Thanks lads!