Hi,everyone.
I creat empty project with CCS5.1 .File-New -Ccs project.
the include option is
C:\ti is where I install the CCS5.1
and in the main.c file ,the code is
#include <c6x.h>
#include <stdio.h>
#include <ti/csl/csl_chip.h>
void main(void) {
uint32_t coreID = CSL_chipReadReg (CSL_CHIP_DNUM);
return;
}
but there is a error when i build the project.
undefined first referenced
symbol in file
--------- ----------------
CSL_chipReadReg ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "lk.out" not built
why?Do i need to configure the C6000 Linker in the bulid setting?