git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2314 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-10-31 14:05:31 +00:00
parent 4f1b492119
commit a53d698bb3
1 changed files with 25 additions and 7 deletions

View File

@ -58,6 +58,13 @@
#define CH_HAL_USE_CAN TRUE
#endif
/**
* @brief Enables the I2C subsystem.
*/
#if !defined(CH_HAL_USE_I2C) || defined(__DOXYGEN__)
#define CH_HAL_USE_I2C FALSE
#endif
/**
* @brief Enables the MAC subsystem.
*/
@ -65,6 +72,13 @@
#define CH_HAL_USE_MAC TRUE
#endif
/**
* @brief Enables the MMC_SPI subsystem.
*/
#if !defined(CH_HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
#define CH_HAL_USE_MMC_SPI TRUE
#endif
/**
* @brief Enables the PWM subsystem.
*/
@ -86,13 +100,6 @@
#define CH_HAL_USE_SPI TRUE
#endif
/**
* @brief Enables the MMC_SPI subsystem.
*/
#if !defined(CH_HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
#define CH_HAL_USE_MMC_SPI TRUE
#endif
/**
* @brief Enables the UART subsystem.
*/
@ -131,6 +138,17 @@
#define CAN_USE_SLEEP_MODE TRUE
#endif
/*===========================================================================*/
/* I2C driver related settings. */
/*===========================================================================*/
/**
* @brief Enables the mutual exclusion APIs on the I2C bus.
*/
#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
#define I2C_USE_MUTUAL_EXCLUSION TRUE
#endif
/*===========================================================================*/
/* MAC driver related settings. */
/*===========================================================================*/