官方Demo的配置如下:
CONFIG_SOUND=y
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_COMPRESS_OFFLOAD=y
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
# CONFIG_SND_DRIVERS is not set
# CONFIG_SND_MIPS is not set
CONFIG_SND_USB=y
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_6FIRE is not set
CONFIG_SND_SOC=y
# CONFIG_SND_ATMEL_SOC is not set
CONFIG_SND_ASOC_INGENIC=y
CONFIG_SND_ASOC_JZ_AIC_V12=y
CONFIG_SND_ASOC_DMA_V13=y
# CONFIG_SND_ASOC_DMA_HRTIMER is not set
CONFIG_SND_ASOC_JZ_AIC_I2S_V13=y
CONFIG_SND_ASOC_JZ_PCM_DUMP_CDC=y
CONFIG_SND_ASOC_JZ_PCM_V13=y
CONFIG_SND_ASOC_JZ_ICDC_D3=y
CONFIG_SND_ASOC_JZ_DMIC_DUMP_CDC=y
# CONFIG_SND_ASOC_JZ_DMIC_MODULE is not set
CONFIG_SND_ASOC_JZ_DMIC_FREQ=24000000
#
# ingenic board type select
#
CONFIG_SND_ASOC_JZ_INCODEC=y
# CONFIG_SND_ASOC_JZ_EXTCODEC is not set
CONFIG_SND_ASOC_INGENIC_PHOENIX_ICDC=y
# CONFIG_SND_ASOC_INGENIC_PHOENIX_SPDIF is not set
# CONFIG_SND_ASOC_INGENIC_CANNA_ICDC is not set
CONFIG_SND_ASOC_JZ_DMIC_V13=y
CONFIG_SND_ASOC_JZ_DMIC0=y
CONFIG_SND_ASOC_JZ_DMIC1=y
# CONFIG_JZ_ASOC_DMA_AUTO_CLR_DRT_MEM is not set
CONFIG_JZ_ASOC_CODEC_INNER_REFERENCE_SOUND=y
CONFIG_JZ_ASOC_ICDC_USE_SOC_MICBIAS=y
CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SOUND_PRIME is not set
以上的配置,我尝试修改过,但是编译不通过,看代码的话,这样的配置没有用到PORTB的IIS,新手不太清楚是不是这个原因,有没有大神可以指点指点