app_xua_simple now 2i2o

This commit is contained in:
xross
2017-10-13 14:46:40 +01:00
parent 26d53cd274
commit 05f3c01a3c
2 changed files with 3 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
/* Port declarations. Note, the defines come from the xn file */
buffered out port:32 p_i2s_dac[] = {PORT_I2S_DAC0}; /* I2S Data-line(s) */
buffered in port:32 p_i2s_adc[] = {PORT_I2S_ADC0}; /* I2S Data-line(s) */
buffered out port:32 p_lrclk = PORT_I2S_LRCLK; /* I2S Bit-clock */
buffered out port:32 p_bclk = PORT_I2S_BCLK; /* I2S L/R-clock */
@@ -39,7 +40,6 @@ int main()
chan c_ep_out[2];
chan c_ep_in[2];
/* Channel for communicating SOF notifications from XUD to the Buffering cores */
chan c_sof;

View File

@@ -6,9 +6,9 @@
#define __custom_defines_h__
#define NUM_USB_CHAN_OUT 2
#define NUM_USB_CHAN_IN 0
#define NUM_USB_CHAN_IN 2
#define I2S_CHANS_DAC 2
#define I2S_CHANS_ADC 0
#define I2S_CHANS_ADC 2
#define EXCLUDE_USB_AUDIO_MAIN
#define NUM_PDM_MICS 0
#define XUD_TILE 1