From 2495fd5493ae203bad9ea93ba891cc736aba316a Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 19 Jul 2025 13:49:47 -0500 Subject: [PATCH] bricks/common/mpconfigport: enable f-strings on level 2 hubs Enable f-strings on level 2 hubs. This is a very useful feature, but also big, so we only enable it on level 2 hubs. --- bricks/_common/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/bricks/_common/mpconfigport.h b/bricks/_common/mpconfigport.h index e2013c9ba..fb791680d 100644 --- a/bricks/_common/mpconfigport.h +++ b/bricks/_common/mpconfigport.h @@ -83,6 +83,7 @@ #define MICROPY_PY_BUILTINS_SLICE (PYBRICKS_OPT_EXTRA_LEVEL1) #define MICROPY_PY_BUILTINS_PROPERTY (0) #define MICROPY_PY_BUILTINS_MIN_MAX (1) +#define MICROPY_PY_FSTRINGS (PYBRICKS_OPT_EXTRA_LEVEL2) #define MICROPY_PY_BUILTINS_STR_UNICODE (PYBRICKS_OPT_EXTRA_LEVEL2) #define MICROPY_PY___FILE__ (0) #define MICROPY_PY_MICROPYTHON_MEM_INFO (1)