Skip to content

Commit

Permalink
Disable unused ChibiOS components.
Browse files Browse the repository at this point in the history
  • Loading branch information
GHF committed Feb 8, 2014
1 parent a0d4d11 commit fb45064
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions include/chconf.h
Original file line number Diff line number Diff line change
@@ -139,7 +139,7 @@
* @note The default is @p TRUE.
*/
#if !defined(CH_USE_REGISTRY) || defined(__DOXYGEN__)
#define CH_USE_REGISTRY TRUE
#define CH_USE_REGISTRY FALSE
#endif

/**
@@ -150,7 +150,7 @@
* @note The default is @p TRUE.
*/
#if !defined(CH_USE_WAITEXIT) || defined(__DOXYGEN__)
#define CH_USE_WAITEXIT TRUE
#define CH_USE_WAITEXIT FALSE
#endif

/**
@@ -184,7 +184,7 @@
* @note Requires @p CH_USE_SEMAPHORES.
*/
#if !defined(CH_USE_SEMSW) || defined(__DOXYGEN__)
#define CH_USE_SEMSW TRUE
#define CH_USE_SEMSW FALSE
#endif

/**
@@ -194,7 +194,7 @@
* @note The default is @p TRUE.
*/
#if !defined(CH_USE_MUTEXES) || defined(__DOXYGEN__)
#define CH_USE_MUTEXES TRUE
#define CH_USE_MUTEXES FALSE
#endif

/**
@@ -206,7 +206,7 @@
* @note Requires @p CH_USE_MUTEXES.
*/
#if !defined(CH_USE_CONDVARS) || defined(__DOXYGEN__)
#define CH_USE_CONDVARS TRUE
#define CH_USE_CONDVARS FALSE
#endif

/**
@@ -218,7 +218,7 @@
* @note Requires @p CH_USE_CONDVARS.
*/
#if !defined(CH_USE_CONDVARS_TIMEOUT) || defined(__DOXYGEN__)
#define CH_USE_CONDVARS_TIMEOUT TRUE
#define CH_USE_CONDVARS_TIMEOUT FALSE
#endif

/**
@@ -240,7 +240,7 @@
* @note Requires @p CH_USE_EVENTS.
*/
#if !defined(CH_USE_EVENTS_TIMEOUT) || defined(__DOXYGEN__)
#define CH_USE_EVENTS_TIMEOUT TRUE
#define CH_USE_EVENTS_TIMEOUT FALSE
#endif

/**
@@ -251,7 +251,7 @@
* @note The default is @p TRUE.
*/
#if !defined(CH_USE_MESSAGES) || defined(__DOXYGEN__)
#define CH_USE_MESSAGES TRUE
#define CH_USE_MESSAGES FALSE
#endif

/**
@@ -275,7 +275,7 @@
* @note Requires @p CH_USE_SEMAPHORES.
*/
#if !defined(CH_USE_MAILBOXES) || defined(__DOXYGEN__)
#define CH_USE_MAILBOXES TRUE
#define CH_USE_MAILBOXES FALSE
#endif

/**
@@ -310,7 +310,7 @@
* @note Mutexes are recommended.
*/
#if !defined(CH_USE_HEAP) || defined(__DOXYGEN__)
#define CH_USE_HEAP TRUE
#define CH_USE_HEAP FALSE
#endif

/**
@@ -335,7 +335,7 @@
* @note The default is @p TRUE.
*/
#if !defined(CH_USE_MEMPOOLS) || defined(__DOXYGEN__)
#define CH_USE_MEMPOOLS TRUE
#define CH_USE_MEMPOOLS FALSE
#endif

/**
@@ -348,7 +348,7 @@
* @note Requires @p CH_USE_HEAP and/or @p CH_USE_MEMPOOLS.
*/
#if !defined(CH_USE_DYNAMIC) || defined(__DOXYGEN__)
#define CH_USE_DYNAMIC TRUE
#define CH_USE_DYNAMIC FALSE
#endif

/** @} */

0 comments on commit fb45064

Please sign in to comment.