From a4faaf9a790d18b6a57afe3bf1e94a4a083e2bc0 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 5 Dec 2021 16:59:40 +0000 Subject: [PATCH] Added a missing check. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15205 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/various/shell/shell_cmd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/various/shell/shell_cmd.h b/os/various/shell/shell_cmd.h index 72147a6f3..65ac8f43a 100644 --- a/os/various/shell/shell_cmd.h +++ b/os/various/shell/shell_cmd.h @@ -85,6 +85,10 @@ #error "SHELL_CMD_THREADS_ENABLED requires CH_CFG_USE_REGISTRY" #endif +#if (SHELL_CMD_FILES_ENABLED == TRUE) && (CH_CFG_USE_HEAP == FALSE) +#error "SHELL_CMD_FILES_ENABLED requires CH_CFG_USE_HEAP" +#endif + /*===========================================================================*/ /* Module data structures and types. */ /*===========================================================================*/