Part Number: LAUNCHXL-F28377S
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hello, can anyone help?
I want to check sine wave generation in ccsv6. the folloing code is available in "singnal generator library user guide."
#include <sgen.h>
SGENT_1 sgen=SGENT_1_DEFAULTS;
int x1;
int main(void) {
sgen.offset=0;
sgen.gain=0x7fff;
sgen.freq=5369;
sgen.step_max=1000;
}
void interrupt isr_20khz()
{
sgen.calc(&sgen);
x1=sgen.out;
}
when try to build, the folloing erors are
Description Resource Path Location Type
#10010 errors encountered during linking; "sine_wave.out" not built sine_wave C/C++ Problem
Description Resource Path Location Type
gmake: *** [sine_wave.out] Error 1 sine_wave C/C++ Problem
Description Resource Path Location Type
gmake: Target 'all' not remade because of errors. sine_wave C/C++ Problem
Description Resource Path Location Type
unresolved symbol _SGENT_1_calc, first referenced in ./main.obj sine_wave C/C++ Problem