8000 stm32,esp32,rp2: Enable MICROPY_PY_FSTRING by default. · micropython/micropython@187dc58 · GitHub
[go: up one dir, main page]

Skip to content

Commit 187dc58

Browse files
committed
stm32,esp32,rp2: Enable MICROPY_PY_FSTRING by default.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 2fc4d7a commit 187dc58

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

ports/esp32/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
109109
#define MICROPY_PY_MATH_ISCLOSE (1)
110110
#define MICROPY_PY_CMATH (1)
111+
#define MICROPY_PY_FSTRING (1)
111112
#define MICROPY_PY_GC (1)
112113
#define MICROPY_PY_IO (1)
113114
#define MICROPY_PY_IO_IOBASE (1)

ports/rp2/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
#define MICROPY_PY_FUNCTION_ATTRS (1)
7575
#define MICROPY_PY_DESCRIPTORS (1)
7676
#define MICROPY_PY_DELATTR_SETATTR (1)
77+
#define MICROPY_PY_FSTRING (1)
7778
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
7879
#define MICROPY_PY_BUILTINS_STR_CENTER (1)
7980
#define MICROPY_PY_BUILTINS_STR_PARTITION (1)

ports/stm32/mpconfigport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
#define MICROPY_PY_MATH_ISCLOSE (1)
121121
#define MICROPY_PY_MATH_FACTORIAL (1)
122122
#define MICROPY_PY_CMATH (1)
123+
#ifndef MICROPY_PY_FSTRING
124+
#define MICROPY_PY_FSTRING (1)
125+
#endif
123126
#define MICROPY_PY_IO (1)
124127
#define MICROPY_PY_IO_IOBASE (1)
125128
#define MICROPY_PY_IO_FILEIO (MICROPY_VFS_FAT || MICROPY_VFS_LFS1 || MICROPY_VFS_LFS2)

0 commit comments

Comments
 (0)
0