From 6a1d05321d33a67c3de41153eea4403dfbe73c14 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Thu, 30 Jan 2020 21:58:18 +0300 Subject: [PATCH] Disable unused ChibiOS features: - Threads registry APIs - I/O Queues APIs - SHELL_CMD_INFO - SHELL_CMD_THREADS --- chconf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chconf.h b/chconf.h index 05112aa..34e6afe 100644 --- a/chconf.h +++ b/chconf.h @@ -147,7 +147,7 @@ * * @note The default is @p TRUE. */ -#define CH_CFG_USE_REGISTRY TRUE +#define CH_CFG_USE_REGISTRY FALSE /** * @brief Threads synchronization APIs. @@ -269,7 +269,7 @@ * * @note The default is @p TRUE. */ -#define CH_CFG_USE_QUEUES TRUE +#define CH_CFG_USE_QUEUES FALSE /** * @brief Core Memory Manager APIs. @@ -530,11 +530,11 @@ * ChibiOS/os/various/shell/shell_cmd.c */ #define SHELL_CMD_EXIT_ENABLED TRUE -#define SHELL_CMD_INFO_ENABLED TRUE +#define SHELL_CMD_INFO_ENABLED FALSE #define SHELL_CMD_ECHO_ENABLED FALSE #define SHELL_CMD_SYSTIME_ENABLED FALSE #define SHELL_CMD_MEM_ENABLED FALSE -#define SHELL_CMD_THREADS_ENABLED TRUE +#define SHELL_CMD_THREADS_ENABLED FALSE #define SHELL_CMD_TEST_ENABLED FALSE