Skip to content

Commit bc03a1b

Browse files
committed
stm32,esp32: Enable MICROPY_PY_FSTRING by default.
1 parent a345fe7 commit bc03a1b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ports/esp32/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
104104
#define MICROPY_PY_MATH_ISCLOSE (1)
105105
#define MICROPY_PY_CMATH (1)
106+
#define MICROPY_PY_FSTRING (1)
106107
#define MICROPY_PY_GC (1)
107108
#define MICROPY_PY_IO (1)
108109
#define MICROPY_PY_IO_IOBASE (1)

ports/stm32/mpconfigport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@
118118
#define MICROPY_PY_MATH_ISCLOSE (1)
119119
#define MICROPY_PY_MATH_FACTORIAL (1)
120120
#define MICROPY_PY_CMATH (1)
121+
#ifndef MICROPY_PY_FSTRING
122+
#define MICROPY_PY_FSTRING (1)
123+
#endif
121124
#define MICROPY_PY_IO (1)
122125
#define MICROPY_PY_IO_IOBASE (1)
123126
#define MICROPY_PY_IO_FILEIO (MICROPY_VFS_FAT || MICROPY_VFS_LFS1 || MICROPY_VFS_LFS2)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy