/*
 *  サンプルプログラム(1)のシステムコンフィギュレーションファイル
 */
INCLUDE("target_timer.cfg");
INCLUDE("syssvc/syslog.cfg");
INCLUDE("syssvc/banner.cfg");
INCLUDE("syssvc/serial.cfg");
INCLUDE("syssvc/logtask.cfg");
INCLUDE("i2c0_m.cfg");


#include "../uzume/audio_subsystem.h"

CRE_TSK(MAIN_TASK, { TA_ACT, 0, main_task, MAIN_PRIORITY, 1024, NULL });
CRE_TSK(AUDIO_TASK, { 0, 0, audio_task, AUDIO_PRIORITY, 1024, NULL });
CRE_TSK(ADC_TASK, { 0, 0, adc_task, ADC_PRIORITY, 1024, NULL });


CRE_SEM(SEM_I2SDMA, { TA_TPRI, 0, 1 });

ATT_ISR({ TA_NULL, 0, INTNO_DMA, dma_intr_handler, 1 });
CFG_INT(INTNO_DMA, { TA_ENAINT, -3 });