From bcee27c6cc3fae2bf9e967c22a4e720fcf5999ad Mon Sep 17 00:00:00 2001 From: px4dev Date: Thu, 23 Aug 2012 23:03:13 -0700 Subject: [PATCH] Turn off the stock AT24xx EEPROM driver; we are going to use our own. --- nuttx/configs/px4fmu/nsh/defconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nuttx/configs/px4fmu/nsh/defconfig b/nuttx/configs/px4fmu/nsh/defconfig index 283edf7dde..337a825d8f 100755 --- a/nuttx/configs/px4fmu/nsh/defconfig +++ b/nuttx/configs/px4fmu/nsh/defconfig @@ -249,7 +249,10 @@ CONFIG_DEBUG_I2C=n # # Enable the MTD driver for the onboard I2C EEPROM # -CONFIG_MTD_AT24XX=y +# Note that we are using a private copy of the AT24XX driver that +# does not require CONFIG_MTD_XT24XX to be set. +# +#CONFIG_MTD_AT24XX=y CONFIG_AT24XX_ADDR=0x50 CONFIG_AT24XX_SIZE=128 CONFIG_AT24XX_MTD_BLOCKSIZE=256