diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2020-07-16 13:07:41 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-08-14 16:58:40 +1000 |
commit | 5733c49174a200b59196f44377a1418a6c38c877 (patch) | |
tree | 696385a469a40068b6927c62f83eec4613be893d | |
parent | 692d36d779192f32371f7f9daa845b566f26968d (diff) |
stm32,esp32,rp2: Enable MICROPY_PY_FSTRINGS by default.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-rw-r--r-- | ports/esp32/mpconfigport.h | 1 | ||||
-rw-r--r-- | ports/rp2/mpconfigport.h | 1 | ||||
-rw-r--r-- | ports/stm32/mpconfigport.h | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h index d60e2823d..a21c0d524 100644 --- a/ports/esp32/mpconfigport.h +++ b/ports/esp32/mpconfigport.h @@ -66,6 +66,7 @@ #define MICROPY_PY_FUNCTION_ATTRS (1) #define MICROPY_PY_DESCRIPTORS (1) #define MICROPY_PY_DELATTR_SETATTR (1) +#define MICROPY_PY_FSTRINGS (1) #define MICROPY_PY_STR_BYTES_CMP_WARN (1) #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_STR_CENTER (1) diff --git a/ports/rp2/mpconfigport.h b/ports/rp2/mpconfigport.h index 218cd7275..ccf11d4f7 100644 --- a/ports/rp2/mpconfigport.h +++ b/ports/rp2/mpconfigport.h @@ -74,6 +74,7 @@ #define MICROPY_PY_FUNCTION_ATTRS (1) #define MICROPY_PY_DESCRIPTORS (1) #define MICROPY_PY_DELATTR_SETATTR (1) +#define MICROPY_PY_FSTRINGS (1) #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_STR_CENTER (1) #define MICROPY_PY_BUILTINS_STR_PARTITION (1) diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h index ff58c515e..7ade406b5 100644 --- a/ports/stm32/mpconfigport.h +++ b/ports/stm32/mpconfigport.h @@ -91,6 +91,9 @@ #define MICROPY_PY_FUNCTION_ATTRS (1) #define MICROPY_PY_DESCRIPTORS (1) #define MICROPY_PY_DELATTR_SETATTR (1) +#ifndef MICROPY_PY_FSTRINGS +#define MICROPY_PY_FSTRINGS (1) +#endif #define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_STR_CENTER (1) #define MICROPY_PY_BUILTINS_STR_PARTITION (1) |