Skip to content

Commit 60a991f

Browse files
committed
codal_port/mpconfigport.h: Enable MICROPY_PY_BUILTINS_STR_UNICODE.
This should have been enabled since the beginning, to match micro:bit v1. Fixes issue #138. Signed-off-by: Damien George <[email protected]>
1 parent cfe75b2 commit 60a991f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/codal_port/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
#define MICROPY_ENABLE_SCHEDULER (1)
6767

6868
// Fine control over Python builtins, classes, modules, etc
69+
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
6970
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)
7071
#define MICROPY_PY_BUILTINS_INPUT (1)
7172
#define MICROPY_PY_BUILTINS_HELP (1)

0 commit comments

Comments
 (0)