From 688016c6a2e75e062c4b55fe1f50e40db9252ba6 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 15 Sep 2025 13:41:35 +1000 Subject: [PATCH] unix/variants/minimal: Enable C stack checking. This unix minimal variant already has a few other things enabled beyond the default minimal configuration, and C-stack checking is arguably more important than those, so enable it. This helps to get some of the stress tests passing on this variant. Signed-off-by: Damien George --- ports/unix/variants/minimal/mpconfigvariant.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/unix/variants/minimal/mpconfigvariant.h b/ports/unix/variants/minimal/mpconfigvariant.h index 2edac41c7f..0e280a8f73 100644 --- a/ports/unix/variants/minimal/mpconfigvariant.h +++ b/ports/unix/variants/minimal/mpconfigvariant.h @@ -49,6 +49,7 @@ #define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (1) #define MICROPY_ENABLE_COMPILER (1) #define MICROPY_ENABLE_EXTERNAL_IMPORT (1) +#define MICROPY_STACK_CHECK (1) #define MICROPY_FULL_CHECKS (1) #define MICROPY_HELPER_REPL (1) #define MICROPY_KBD_EXCEPTION (1)