diff options
-rw-r--r-- | nuttx/configs/samv71-xult/src/Makefile | 4 | ||||
-rw-r--r-- | nuttx/configs/samv71-xult/src/samv71-xult.h | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/nuttx/configs/samv71-xult/src/Makefile b/nuttx/configs/samv71-xult/src/Makefile index 0853d3bbe..9dddf1965 100644 --- a/nuttx/configs/samv71-xult/src/Makefile +++ b/nuttx/configs/samv71-xult/src/Makefile @@ -87,8 +87,8 @@ CSRCS += sam_usbmsc.c endif ifeq ($(CONFIG_AUDIO_WM8904),y) -ifeq ($(CONFIG_SAMA5_TWI0),y) -ifeq ($(CONFIG_SAMA5_SSC0),y) +ifeq ($(CONFIG_SAMV7_TWIHS0),y) +ifeq ($(CONFIG_SAMV7_SSC0),y) CSRCS += sam_wm8904.c endif endif diff --git a/nuttx/configs/samv71-xult/src/samv71-xult.h b/nuttx/configs/samv71-xult/src/samv71-xult.h index 43a5ba635..b86aa1a4e 100644 --- a/nuttx/configs/samv71-xult/src/samv71-xult.h +++ b/nuttx/configs/samv71-xult/src/samv71-xult.h @@ -189,8 +189,8 @@ #endif #ifdef HAVE_WM8904 -# ifndef CONFIG_SAMV7_TWI0 -# warning CONFIG_SAMV7_TWI0 is required for audio support +# ifndef CONFIG_SAMV7_TWIHS0 +# warning CONFIG_SAMV7_TWIHS0 is required for audio support # undef HAVE_WM8904 # endif @@ -199,8 +199,8 @@ # undef HAVE_WM8904 # endif -# if !defined(CONFIG_SAMV7_PIOD_IRQ) -# warning CONFIG_SAMV7_PIOD_IRQ is required for audio support +# if !defined(CONFIG_SAMV7_GPIOD_IRQ) +# warning CONFIG_SAMV7_GPIOD_IRQ is required for audio support # undef HAVE_WM8904 # endif @@ -209,15 +209,15 @@ # undef HAVE_WM8904 # endif -# ifndef CONFIG_SAMV7D4EK_WM8904_I2CFREQUENCY +# ifndef CONFIG_SAMV71XULT_WM8904_I2CFREQUENCY # warning Defaulting to maximum WM8904 I2C frequency -# define CONFIG_SAMV7D4EK_WM8904_I2CFREQUENCY 400000 +# define CONFIG_SAMV71XULT_WM8904_I2CFREQUENCY 400000 # endif -# if CONFIG_SAMV7D4EK_WM8904_I2CFREQUENCY > 400000 +# if CONFIG_SAMV71XULT_WM8904_I2CFREQUENCY > 400000 # warning WM8904 I2C frequency cannot exceed 400KHz -# undef CONFIG_SAMV7D4EK_WM8904_I2CFREQUENCY -# define CONFIG_SAMV7D4EK_WM8904_I2CFREQUENCY 400000 +# undef CONFIG_SAMV71XULT_WM8904_I2CFREQUENCY +# define CONFIG_SAMV71XULT_WM8904_I2CFREQUENCY 400000 # endif #endif |