8000 stm32,esp32,rp2: Enable MICROPY_PY_FSTRINGS by default. · micropython/micropython@5733c49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5733c49

Browse files
jimmodpgeorge
authored andcommitted
stm32,esp32,rp2: Enable MICROPY_PY_FSTRINGS by default.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 692d36d commit 5733c49

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
@@ -66,6 +66,7 @@
6666
#define MICROPY_PY_FUNCTION_ATTRS (1)
6767
#define MICROPY_PY_DESCRIPTORS (1)
6868
#define MICROPY_PY_DELATTR_SETATTR (1)
69+
#define MICROPY_PY_FSTRINGS (1)
6970
#define MICROPY_PY_STR_BYTES_CMP_WARN (1)
7071
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
7172
#define MICROPY_PY_BUILTINS_STR_CENTER (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_FSTRINGS (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
@@ -91,6 +91,9 @@
9191
#define MICROPY_PY_FUNCTION_ATTRS (1)
9292
#define MICROPY_PY_DESCRIPTORS (1)
9393
#define MICROPY_PY_DELATTR_SETATTR (1)
94+
#ifndef MICROPY_PY_FSTRINGS
95+
#define MICROPY_PY_FSTRINGS (1)
96+
#endif
9497
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
9598
#define MICROPY_PY_BUILTINS_STR_CENTER (1)
9699
#define MICROPY_PY_BUILTINS_STR_PARTITION (1)

0 commit comments

Comments
 (0)
0