forked from PAWPAW-Mirror/lib_xua
app_xua_simple now 2i2o
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
/* Port declarations. Note, the defines come from the xn file */
|
/* 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 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_lrclk = PORT_I2S_LRCLK; /* I2S Bit-clock */
|
||||||
buffered out port:32 p_bclk = PORT_I2S_BCLK; /* I2S L/R-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_out[2];
|
||||||
chan c_ep_in[2];
|
chan c_ep_in[2];
|
||||||
|
|
||||||
|
|
||||||
/* Channel for communicating SOF notifications from XUD to the Buffering cores */
|
/* Channel for communicating SOF notifications from XUD to the Buffering cores */
|
||||||
chan c_sof;
|
chan c_sof;
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
#define __custom_defines_h__
|
#define __custom_defines_h__
|
||||||
|
|
||||||
#define NUM_USB_CHAN_OUT 2
|
#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_DAC 2
|
||||||
#define I2S_CHANS_ADC 0
|
#define I2S_CHANS_ADC 2
|
||||||
#define EXCLUDE_USB_AUDIO_MAIN
|
#define EXCLUDE_USB_AUDIO_MAIN
|
||||||
#define NUM_PDM_MICS 0
|
#define NUM_PDM_MICS 0
|
||||||
#define XUD_TILE 1
|
#define XUD_TILE 1
|
||||||
|
|||||||
Reference in New Issue
Block a user