English
Language : 

TMS320C6000 Datasheet, PDF (32/126 Pages) Texas Instruments – Code Composer Studio Tutorial
Reviewing the Code
When building the program, Code Composer Studio finds files by searching
for project files in the following path order:
t The folder that contains the source file.
t The folders listed in the Include Search Path for the compiler or
assembler options (from left to right).
t The folders listed in the definitions of the C6X_C_DIR (compiler) and
C6X_A_DIR (assembler) environment variables (from left to right). The
C6X_C_DIR environment variable defined by the installation points to the
folder that contains the rts6201.lib file.
2.3 Reviewing the Code
1) Double-click on the HELLO.C file in the Project View. You see the source
code in the right half of the window.
2) You may want to make the window larger so that you can see more of the
source code at once. You can also choose a smaller font for this window
by choosing Option→Font.
/* ======== hello.c ======== */
#include <stdio.h>
#include "hello.h"
#define BUFSIZE 30
struct PARMS str =
{
2934,
9432,
213,
9432,
&str
};
/*
* ======== main ========
*/
void main()
{
#ifdef FILEIO
int
i;
char scanStr[BUFSIZE];
char fileStr[BUFSIZE];
size_t readSize;
FILE *fptr;
#endif
/* write a string to stdout */
puts("hello world!\n");
2-4