From 87feaf9cb13d9023f2c4c61b9e9ad46652f1f679 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 30 Jul 2010 15:45:06 +0000 Subject: [PATCH] Update i2c cfg file. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4111 38d2e660-2303-0410-9eaa-f027e97ec537 --- .../arduino/benchmark/context_switch/cfg/cfg_i2c.h | 11 +++-------- .../arduino/benchmark/kernel_footprint/cfg/cfg_i2c.h | 11 +++-------- boards/arduino/examples/aprs/cfg/cfg_i2c.h | 12 +++--------- boards/arduino/templates/empty/cfg/cfg_i2c.h | 11 +++-------- boards/arduino/templates/kernel/cfg/cfg_i2c.h | 11 +++-------- .../benchmark/context_switch/cfg/cfg_i2c.h | 11 +++-------- .../benchmark/kernel_footprint/cfg/cfg_i2c.h | 11 +++-------- boards/at91sam7s-ek/templates/empty/cfg/cfg_i2c.h | 11 +++-------- boards/at91sam7s-ek/templates/kernel/cfg/cfg_i2c.h | 11 +++-------- .../benchmark/context_switch/cfg/cfg_i2c.h | 12 +++--------- .../benchmark/kernel_footprint/cfg/cfg_i2c.h | 12 +++--------- boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_i2c.h | 12 +++--------- boards/at91sam7x-ek/templates/empty/cfg/cfg_i2c.h | 11 +++-------- boards/at91sam7x-ek/templates/kernel/cfg/cfg_i2c.h | 11 +++-------- .../benchmark/context_switch/cfg/cfg_i2c.h | 12 +++--------- .../benchmark/kernel_footprint/cfg/cfg_i2c.h | 12 +++--------- boards/ek-lm3s1968/examples/gps/cfg/cfg_i2c.h | 12 +++--------- boards/ek-lm3s1968/templates/empty/cfg/cfg_i2c.h | 11 +++-------- boards/ek-lm3s1968/templates/kernel/cfg/cfg_i2c.h | 11 +++-------- .../lpc-p2378/benchmark/context_switch/cfg/cfg_i2c.h | 12 +++--------- .../benchmark/kernel_footprint/cfg/cfg_i2c.h | 11 +++-------- boards/lpc-p2378/templates/empty/cfg/cfg_i2c.h | 11 +++-------- boards/lpc-p2378/templates/kernel/cfg/cfg_i2c.h | 11 +++-------- .../benchmark/context_switch/cfg/cfg_i2c.h | 11 +++-------- .../benchmark/kernel_footprint/cfg/cfg_i2c.h | 11 +++-------- boards/stm32-p103/templates/empty/cfg/cfg_i2c.h | 11 +++-------- boards/stm32-p103/templates/kernel/cfg/cfg_i2c.h | 11 +++-------- .../triface/benchmark/context_switch/cfg/cfg_i2c.h | 12 +++--------- .../triface/benchmark/kernel_footprint/cfg/cfg_i2c.h | 12 +++--------- boards/triface/examples/triface/cfg/cfg_i2c.h | 12 +++--------- boards/triface/templates/empty/cfg/cfg_i2c.h | 11 +++-------- boards/triface/templates/kernel/cfg/cfg_i2c.h | 11 +++-------- 32 files changed, 96 insertions(+), 267 deletions(-) diff --git a/boards/arduino/benchmark/context_switch/cfg/cfg_i2c.h b/boards/arduino/benchmark/context_switch/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/arduino/benchmark/context_switch/cfg/cfg_i2c.h +++ b/boards/arduino/benchmark/context_switch/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/arduino/benchmark/kernel_footprint/cfg/cfg_i2c.h b/boards/arduino/benchmark/kernel_footprint/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/arduino/benchmark/kernel_footprint/cfg/cfg_i2c.h +++ b/boards/arduino/benchmark/kernel_footprint/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/arduino/examples/aprs/cfg/cfg_i2c.h b/boards/arduino/examples/aprs/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/arduino/examples/aprs/cfg/cfg_i2c.h +++ b/boards/arduino/examples/aprs/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/arduino/templates/empty/cfg/cfg_i2c.h b/boards/arduino/templates/empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/arduino/templates/empty/cfg/cfg_i2c.h +++ b/boards/arduino/templates/empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/arduino/templates/kernel/cfg/cfg_i2c.h b/boards/arduino/templates/kernel/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/arduino/templates/kernel/cfg/cfg_i2c.h +++ b/boards/arduino/templates/kernel/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7s-ek/benchmark/context_switch/cfg/cfg_i2c.h b/boards/at91sam7s-ek/benchmark/context_switch/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/at91sam7s-ek/benchmark/context_switch/cfg/cfg_i2c.h +++ b/boards/at91sam7s-ek/benchmark/context_switch/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7s-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h b/boards/at91sam7s-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/at91sam7s-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h +++ b/boards/at91sam7s-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7s-ek/templates/empty/cfg/cfg_i2c.h b/boards/at91sam7s-ek/templates/empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/at91sam7s-ek/templates/empty/cfg/cfg_i2c.h +++ b/boards/at91sam7s-ek/templates/empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7s-ek/templates/kernel/cfg/cfg_i2c.h b/boards/at91sam7s-ek/templates/kernel/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/at91sam7s-ek/templates/kernel/cfg/cfg_i2c.h +++ b/boards/at91sam7s-ek/templates/kernel/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7x-ek/benchmark/context_switch/cfg/cfg_i2c.h b/boards/at91sam7x-ek/benchmark/context_switch/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/at91sam7x-ek/benchmark/context_switch/cfg/cfg_i2c.h +++ b/boards/at91sam7x-ek/benchmark/context_switch/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h b/boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h +++ b/boards/at91sam7x-ek/benchmark/kernel_footprint/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_i2c.h b/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_i2c.h +++ b/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7x-ek/templates/empty/cfg/cfg_i2c.h b/boards/at91sam7x-ek/templates/empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/at91sam7x-ek/templates/empty/cfg/cfg_i2c.h +++ b/boards/at91sam7x-ek/templates/empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/at91sam7x-ek/templates/kernel/cfg/cfg_i2c.h b/boards/at91sam7x-ek/templates/kernel/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/at91sam7x-ek/templates/kernel/cfg/cfg_i2c.h +++ b/boards/at91sam7x-ek/templates/kernel/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/ek-lm3s1968/benchmark/context_switch/cfg/cfg_i2c.h b/boards/ek-lm3s1968/benchmark/context_switch/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/ek-lm3s1968/benchmark/context_switch/cfg/cfg_i2c.h +++ b/boards/ek-lm3s1968/benchmark/context_switch/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_i2c.h b/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_i2c.h +++ b/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/ek-lm3s1968/examples/gps/cfg/cfg_i2c.h b/boards/ek-lm3s1968/examples/gps/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/ek-lm3s1968/examples/gps/cfg/cfg_i2c.h +++ b/boards/ek-lm3s1968/examples/gps/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/ek-lm3s1968/templates/empty/cfg/cfg_i2c.h b/boards/ek-lm3s1968/templates/empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/ek-lm3s1968/templates/empty/cfg/cfg_i2c.h +++ b/boards/ek-lm3s1968/templates/empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/ek-lm3s1968/templates/kernel/cfg/cfg_i2c.h b/boards/ek-lm3s1968/templates/kernel/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/ek-lm3s1968/templates/kernel/cfg/cfg_i2c.h +++ b/boards/ek-lm3s1968/templates/kernel/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/lpc-p2378/benchmark/context_switch/cfg/cfg_i2c.h b/boards/lpc-p2378/benchmark/context_switch/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/lpc-p2378/benchmark/context_switch/cfg/cfg_i2c.h +++ b/boards/lpc-p2378/benchmark/context_switch/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/lpc-p2378/benchmark/kernel_footprint/cfg/cfg_i2c.h b/boards/lpc-p2378/benchmark/kernel_footprint/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/lpc-p2378/benchmark/kernel_footprint/cfg/cfg_i2c.h +++ b/boards/lpc-p2378/benchmark/kernel_footprint/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/lpc-p2378/templates/empty/cfg/cfg_i2c.h b/boards/lpc-p2378/templates/empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/lpc-p2378/templates/empty/cfg/cfg_i2c.h +++ b/boards/lpc-p2378/templates/empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/lpc-p2378/templates/kernel/cfg/cfg_i2c.h b/boards/lpc-p2378/templates/kernel/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/lpc-p2378/templates/kernel/cfg/cfg_i2c.h +++ b/boards/lpc-p2378/templates/kernel/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/stm32-p103/benchmark/context_switch/cfg/cfg_i2c.h b/boards/stm32-p103/benchmark/context_switch/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/stm32-p103/benchmark/context_switch/cfg/cfg_i2c.h +++ b/boards/stm32-p103/benchmark/context_switch/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/stm32-p103/benchmark/kernel_footprint/cfg/cfg_i2c.h b/boards/stm32-p103/benchmark/kernel_footprint/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/stm32-p103/benchmark/kernel_footprint/cfg/cfg_i2c.h +++ b/boards/stm32-p103/benchmark/kernel_footprint/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/stm32-p103/templates/empty/cfg/cfg_i2c.h b/boards/stm32-p103/templates/empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/stm32-p103/templates/empty/cfg/cfg_i2c.h +++ b/boards/stm32-p103/templates/empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/stm32-p103/templates/kernel/cfg/cfg_i2c.h b/boards/stm32-p103/templates/kernel/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/stm32-p103/templates/kernel/cfg/cfg_i2c.h +++ b/boards/stm32-p103/templates/kernel/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/triface/benchmark/context_switch/cfg/cfg_i2c.h b/boards/triface/benchmark/context_switch/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/triface/benchmark/context_switch/cfg/cfg_i2c.h +++ b/boards/triface/benchmark/context_switch/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/triface/benchmark/kernel_footprint/cfg/cfg_i2c.h b/boards/triface/benchmark/kernel_footprint/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/triface/benchmark/kernel_footprint/cfg/cfg_i2c.h +++ b/boards/triface/benchmark/kernel_footprint/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/triface/examples/triface/cfg/cfg_i2c.h b/boards/triface/examples/triface/cfg/cfg_i2c.h index f17c9613..ea599a81 100644 --- a/boards/triface/examples/triface/cfg/cfg_i2c.h +++ b/boards/triface/examples/triface/cfg/cfg_i2c.h @@ -32,7 +32,6 @@ * * \brief Configuration file for I2C module. * - * * \author Daniele Basile */ @@ -57,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. - * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. + * Check this to disable I2c deprecated API support. * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/triface/templates/empty/cfg/cfg_i2c.h b/boards/triface/templates/empty/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/triface/templates/empty/cfg/cfg_i2c.h +++ b/boards/triface/templates/empty/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. diff --git a/boards/triface/templates/kernel/cfg/cfg_i2c.h b/boards/triface/templates/kernel/cfg/cfg_i2c.h index 7df0d097..ea599a81 100644 --- a/boards/triface/templates/kernel/cfg/cfg_i2c.h +++ b/boards/triface/templates/kernel/cfg/cfg_i2c.h @@ -56,16 +56,11 @@ #define CONFIG_I2C_START_TIMEOUT 100 /** - * I2C backend the driver should use. + * Check this to disable I2c deprecated API support. * - * I2C_BACKEND_BUILTIN: Use (if present) the builtin i2c hardware. - * I2C_BACKEND_BITBANG: Use the emulated bitbang driver. - * \see drv/i2c.h for more information. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "i2c_backend" + * $WIZ$ type = "boolean" */ -#define CONFIG_I2C_BACKEND I2C_BACKEND_BUILTIN +#define CONFIG_I2C_DISABLE_OLD_API 0 /** * Module logging level. -- 2.25.1