Skip to content

Commit f70873d

Browse files
dpgeorgepfalcon
authored andcommitted
esp8266: Enable more features in mpconfigport.h.
This is to get the test suite running and passing.
1 parent 7480ee5 commit f70873d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

esp8266/mpconfigport.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#define MICROPY_HELPER_LEXER_UNIX (0)
1717
#define MICROPY_ENABLE_SOURCE_LINE (1)
1818
#define MICROPY_MODULE_WEAK_LINKS (1)
19+
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
1920
#define MICROPY_PY_BUILTINS_COMPLEX (0)
2021
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
2122
#define MICROPY_PY_BUILTINS_BYTEARRAY (1)
@@ -27,12 +28,14 @@
2728
#define MICROPY_PY___FILE__ (0)
2829
#define MICROPY_PY_GC (1)
2930
#define MICROPY_PY_ARRAY (1)
31+
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
3032
#define MICROPY_PY_COLLECTIONS (1)
3133
#define MICROPY_PY_MATH (1)
3234
#define MICROPY_PY_CMATH (0)
3335
#define MICROPY_PY_IO (1)
3436
#define MICROPY_PY_STRUCT (1)
3537
#define MICROPY_PY_SYS (1)
38+
#define MICROPY_PY_SYS_MAXSIZE (1)
3639
#define MICROPY_PY_SYS_EXIT (1)
3740
#define MICROPY_PY_SYS_STDFILES (1)
3841
#define MICROPY_PY_UBINASCII (1)
@@ -41,7 +44,7 @@
4144
#define MICROPY_PY_UHASHLIB_SHA1 (1)
4245
#define MICROPY_PY_UJSON (1)
4346
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
44-
#define MICROPY_CPYTHON_COMPAT (0)
47+
#define MICROPY_CPYTHON_COMPAT (1)
4548
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
4649
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
4750
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE)
@@ -53,6 +56,8 @@
5356

5457
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p)))
5558

59+
#define MP_SSIZE_MAX (0x7fffffff)
60+
5661
#define UINT_FMT "%u"
5762
#define INT_FMT "%d"
5863

0 commit comments

Comments
 (0)