Disable unused ChibiOS features:

- Threads registry APIs
- I/O Queues APIs
- SHELL_CMD_INFO
- SHELL_CMD_THREADS
This commit is contained in:
DiSlord 2020-01-30 21:58:18 +03:00
parent a46a20028f
commit 6a1d05321d

View file

@ -147,7 +147,7 @@
* *
* @note The default is @p TRUE. * @note The default is @p TRUE.
*/ */
#define CH_CFG_USE_REGISTRY TRUE #define CH_CFG_USE_REGISTRY FALSE
/** /**
* @brief Threads synchronization APIs. * @brief Threads synchronization APIs.
@ -269,7 +269,7 @@
* *
* @note The default is @p TRUE. * @note The default is @p TRUE.
*/ */
#define CH_CFG_USE_QUEUES TRUE #define CH_CFG_USE_QUEUES FALSE
/** /**
* @brief Core Memory Manager APIs. * @brief Core Memory Manager APIs.
@ -530,11 +530,11 @@
* ChibiOS/os/various/shell/shell_cmd.c * ChibiOS/os/various/shell/shell_cmd.c
*/ */
#define SHELL_CMD_EXIT_ENABLED TRUE #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_ECHO_ENABLED FALSE
#define SHELL_CMD_SYSTIME_ENABLED FALSE #define SHELL_CMD_SYSTIME_ENABLED FALSE
#define SHELL_CMD_MEM_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 #define SHELL_CMD_TEST_ENABLED FALSE