From cc25a0f94f743bc828fa3a7b348701de179d0215 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Fri, 2 Dec 2022 13:20:35 -0800 Subject: [PATCH] turn off unused OS features --- firmware/boards/f1_dual/chconf.h | 18 +++++++++--------- firmware/boards/f1_rev3/chconf.h | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/firmware/boards/f1_dual/chconf.h b/firmware/boards/f1_dual/chconf.h index 204d457..17e39d8 100644 --- a/firmware/boards/f1_dual/chconf.h +++ b/firmware/boards/f1_dual/chconf.h @@ -183,7 +183,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_REGISTRY) -#define CH_CFG_USE_REGISTRY TRUE +#define CH_CFG_USE_REGISTRY FALSE #endif /** @@ -204,7 +204,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_SEMAPHORES) -#define CH_CFG_USE_SEMAPHORES TRUE +#define CH_CFG_USE_SEMAPHORES FALSE #endif /** @@ -227,7 +227,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MUTEXES) -#define CH_CFG_USE_MUTEXES TRUE +#define CH_CFG_USE_MUTEXES FALSE #endif /** @@ -251,7 +251,7 @@ typedef int pid_t; * @note Requires @p CH_CFG_USE_MUTEXES. */ #if !defined(CH_CFG_USE_CONDVARS) -#define CH_CFG_USE_CONDVARS TRUE +#define CH_CFG_USE_CONDVARS FALSE #endif /** @@ -296,7 +296,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MESSAGES) -#define CH_CFG_USE_MESSAGES TRUE +#define CH_CFG_USE_MESSAGES FALSE #endif /** @@ -322,7 +322,7 @@ typedef int pid_t; * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS. */ #if !defined(CH_CFG_USE_DYNAMIC) -#define CH_CFG_USE_DYNAMIC TRUE +#define CH_CFG_USE_DYNAMIC FALSE #endif /** @} */ @@ -343,7 +343,7 @@ typedef int pid_t; * @note Requires @p CH_CFG_USE_SEMAPHORES. */ #if !defined(CH_CFG_USE_MAILBOXES) -#define CH_CFG_USE_MAILBOXES TRUE +#define CH_CFG_USE_MAILBOXES FALSE #endif /** @@ -354,7 +354,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MEMCORE) -#define CH_CFG_USE_MEMCORE TRUE +#define CH_CFG_USE_MEMCORE FALSE #endif /** @@ -383,7 +383,7 @@ typedef int pid_t; * @note Mutexes are recommended. */ #if !defined(CH_CFG_USE_HEAP) -#define CH_CFG_USE_HEAP TRUE +#define CH_CFG_USE_HEAP FALSE #endif /** diff --git a/firmware/boards/f1_rev3/chconf.h b/firmware/boards/f1_rev3/chconf.h index 204d457..458b179 100644 --- a/firmware/boards/f1_rev3/chconf.h +++ b/firmware/boards/f1_rev3/chconf.h @@ -183,7 +183,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_REGISTRY) -#define CH_CFG_USE_REGISTRY TRUE +#define CH_CFG_USE_REGISTRY FALSE #endif /** @@ -194,7 +194,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_WAITEXIT) -#define CH_CFG_USE_WAITEXIT TRUE +#define CH_CFG_USE_WAITEXIT FALSE #endif /** @@ -204,7 +204,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_SEMAPHORES) -#define CH_CFG_USE_SEMAPHORES TRUE +#define CH_CFG_USE_SEMAPHORES FALSE #endif /** @@ -227,7 +227,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MUTEXES) -#define CH_CFG_USE_MUTEXES TRUE +#define CH_CFG_USE_MUTEXES FALSE #endif /** @@ -251,7 +251,7 @@ typedef int pid_t; * @note Requires @p CH_CFG_USE_MUTEXES. */ #if !defined(CH_CFG_USE_CONDVARS) -#define CH_CFG_USE_CONDVARS TRUE +#define CH_CFG_USE_CONDVARS FALSE #endif /** @@ -296,7 +296,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MESSAGES) -#define CH_CFG_USE_MESSAGES TRUE +#define CH_CFG_USE_MESSAGES FALSE #endif /** @@ -322,7 +322,7 @@ typedef int pid_t; * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS. */ #if !defined(CH_CFG_USE_DYNAMIC) -#define CH_CFG_USE_DYNAMIC TRUE +#define CH_CFG_USE_DYNAMIC FALSE #endif /** @} */ @@ -343,7 +343,7 @@ typedef int pid_t; * @note Requires @p CH_CFG_USE_SEMAPHORES. */ #if !defined(CH_CFG_USE_MAILBOXES) -#define CH_CFG_USE_MAILBOXES TRUE +#define CH_CFG_USE_MAILBOXES FALSE #endif /** @@ -354,7 +354,7 @@ typedef int pid_t; * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MEMCORE) -#define CH_CFG_USE_MEMCORE TRUE +#define CH_CFG_USE_MEMCORE FALSE #endif /** @@ -383,7 +383,7 @@ typedef int pid_t; * @note Mutexes are recommended. */ #if !defined(CH_CFG_USE_HEAP) -#define CH_CFG_USE_HEAP TRUE +#define CH_CFG_USE_HEAP FALSE #endif /**