
Getting Started with ADSP-BF548 EZ-KIT Lite 1-9
Programming ADSP-BF548 EZ-KIT Lite with VisualDSP++
debugging information, which is not desired in the released product. A
VisualDSP++ configuration allows you to create alternate build settings
without interfering with the build settings of your final product.
VisualDSP++ automatically adds two configurations for every project it
creates. These configurations are:
• Debug. Used for functional debugging of your system. Compiler
optimizations are off, giving you and the debugger the most linear
and easily-debugged code.
• Release. Used for your production system. Compiler optimizations
are on and maximally aggressive, sacrificing readability and some
debugger support.
At this point, feel free to experiment further with the debugger, familiariz-
ing yourself with the windows and basic mechanics of running, halting,
stepping, and reloading. C/C++ language debugging windows, such as
local variable and expression monitors, function call stack window, and
others are available under the View–>Debug Windows menu selection.
Example 1: Sorts.c File
/*
* Getting Started With the ADSP-BF548 EZ-KIT Lite
* Example 1
*/
#include <stdlib.h>
#define NUM_ITERATIONS 1
#define ARRAY_LENGTH 128
/* Initialize two arrays to the same set of random values */
void randomize_arrays ( int *v1, int *v2, unsigned int length )
{
unsigned int i;
for ( i = 0; i < length; ++i )
{