AnsweredAssumed Answered

I2S/SAI defines missing

Question asked by Patrick Degry on Dec 1, 2014
Latest reply on Dec 3, 2014 by Patrick Degry

I'm trying to add I2S/SAI functionality to an existing project. I started from the sai_dma_demo from MQX 4.1 but I get these errors:

 

 

 

 

'SIZE' is not a member of class 'struct i2s_statistics_struct'

K60_RunC/C++ Problem
'IN_BUFFER' is not a member of class 'struct i2s_statistics_struct'sh_audio.cC/C++ Problem
'OUT_BUFFER' is not a member of class 'struct i2s_statistics_struct'sh_audio.cC/C++ Problem
undefined identifier 'IO_IOCTL_I2S_START_RX'sh_audio.c/K60_Run/Sources/SourceFilesline 445C/C++ Problem
undefined identifier 'IO_IOCTL_I2S_UPDATE_RX_STATUS'sh_audio.c/K60_Run/Sources/SourceFilesline 471C/C++ Problem
undefined identifier 'IO_IOCTL_I2S_WAIT_RX_EVENT'sh_audio.c/K60_Run/Sources/SourceFilesline 454C/C++ Problem
undefined identifier 'IO_IOCTL_I2S_START_TX'sh_audio.c/K60_Run/Sources/SourceFilesline 445C/C++ Problem

undefined identifier 'IO_IOCTL

undefined identifier 'IO_IOCTL_I2S_WAIT_TX_EVENT'sh_audio.c/K60_Run/Sources/SourceFilesline 454C/C++ Problem

 

I'm using an existing BSP where I enabled I2S.

Any idea what I'm missing?

 

Thanks!

Outcomes