























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























Technical TrainingOrganization.
Technical TrainingOrganization
Technical TrainingOrganization
Source Libraries Linker, etc …
Compiler Options DSP/BIOS Linking, etc …
Technical TrainingOrganization Let’s look more closely at Build Options and Configurations …
-g -fr“$(Proj_dir)\Debug" -d"_DEBUG" -mv
GUI has 8 pages of options for code generation tools
Default build options for a new project are shown Basic page defaults are -g -mv
Technical Training^ To make options easier, TI recommends using … Organization
docsity.com
For new projects, CCS automatically creates two build configurations: Debug (unoptimized) Release (optimized)
-g -fr“$(Proj_dir)\Debug" -d"_DEBUG" -mv
-o3 -fr“$(Proj_dir)\Release" -mv
For new projects, CCS automatically creates two build configurations: Debug (unoptimized) Release (optimized)
Use the drop-down to quickly select build config.
-g -fr“$(Proj_dir)\Debug" -d"_DEBUG" -mv
-o3 -fr“$(Proj_dir)\Release" -mv
For new projects, CCS automatically creates two build configurations: Debug (unoptimized) Release (optimized)
Use the drop-down to quickly select build config.
Add/Remove build config's with Project Configurations dialog (on project menus)
Edit a configuration:
**1. Set it active
-g -fr“$(Proj_dir)\Debug" -d"_DEBUG" -mv
-o3 -fr“$(Proj_dir)\Release" -mv
Technical TrainingOrganization
Technical TrainingOrganization
Automatically includes the appropriate runtime support libraries
Automatically handles interrupt vectors and system reset
Handles system memory configuration (builds CMD file)
Generates 5 files when CDB file is saved: C file, Asm file, 2 header files and a linker command (.cmd) file
More to be discussed later … Technical TrainingOrganization
char 8 ASCII
short 16 Binary, 2's complement
int 32 Binary, 2's complement
long (^40) Binary, 2's complement
long long 64 Binary, 2's complement
float 32 IEEE 32-bit
double 64 IEEE 64-bit
long double 64 IEEE 64-bit
pointers 32 Binary
Technical TrainingOrganization
*** ======== Include files ======== /*
#include <csl.h>
#include <csl_edma.h>
#include "sine.h"
#include "edma.h"
It adds the contents of the header file to your C file at the point of the #include statement.
Let's look at a header file...docsity.com
*** ======== Include files ======== /*
#include <csl.h>
#include <csl_edma.h>
#include "sine.h"
#include "edma.h"
It adds the contents of the header file to your C file at the point of the #include statement.
They can contain any C statements. Usually, they contain code that would otherwise need to be entered into every C file. They’re a shortcut.
Angle brackets <.h> tell the compiler to look in the specified include path. Quotes “.h” indicate the file is located in the same location as the file which includes it. docsity.com
Technical TrainingOrganization