Listing 5. Custom Configuration File
/* ----------------------------------------------
* INCLUDES
*/
#include
/* ----------------------------------------------
* APPLICATION CONFIGURATION
*/
/* API configuration data */
#define MONOLITH_NUM_DRIVERS 2
#define DSP_K_TASK_DYNAMIC 1
/* BSP configuration data */
#define DSP_K_NUM_TASKS 6
#define DSP_K_API_INIT MONOLITH_INIT( )
#define DSP_K_STACK_CHECK 1
/* drivers configuration data */
#define DSP_K_SYSCONF 1
#define DSP_K_NUM_PIPES 2
#define DSP_K_PIPE_SZ 1024
#define DSP_K_NUM_TIMERS 2
#define NUM_AIOEVENTS 5
/* ----------------------------------------------
* SYSTEM ARCHITECTURE CONFIGURATION
*/
/* define SHARC for hardware specific support
to match project settings: one from
{ __ADSP21060__, __ADSP21061__,
__ADSP21062__, __ADSP21065L__ } */
#define SHARC __ADSP21065L__
/* ----------------------------------------------
* KERNEL ARCHITECTURE CONFIGURATION
*/
/* kernel time configuration */
#define DSP_K_TIMER_SIG SIG_TMZ0
#define DSP_K_KERNEL_TICKS 5000 /* (Hz) */
/* kernel additional context switch data */
# define DSP_K_CONTEXT_MODIFY 0
# define DSP_K_CONTEXT_BASE 0
# define DSP_K_CONTEXT_LENGTH 0
# define DSP_K_CONTEXT_MULTIPLIER 0