Skip to content

Commit 2495fd5

Browse files
committed
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.
1 parent 96cdd12 commit 2495fd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bricks/_common/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
#define MICROPY_PY_BUILTINS_SLICE (PYBRICKS_OPT_EXTRA_LEVEL1)
8484
#define MICROPY_PY_BUILTINS_PROPERTY (0)
8585
#define MICROPY_PY_BUILTINS_MIN_MAX (1)
86+
#define MICROPY_PY_FSTRINGS (PYBRICKS_OPT_EXTRA_LEVEL2)
8687
#define MICROPY_PY_BUILTINS_STR_UNICODE (PYBRICKS_OPT_EXTRA_LEVEL2)
8788
#define MICROPY_PY___FILE__ (0)
8889
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)

0 commit comments

Comments
 (0)