Skip to content

Commit d278e49

Browse files
author
Daniel Campora
committed
cc3200: Enable TRIPLE_TUPLE_ASSIGN and UBINASCII.
1 parent 6e25d95 commit d278e49

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

cc3200/mpconfigport.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#define MICROPY_COMP_MODULE_CONST (1)
3939
#define MICROPY_ENABLE_GC (1)
4040
#define MICROPY_ENABLE_FINALISER (1)
41+
#define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN (1)
4142
#define MICROPY_STACK_CHECK (0)
4243
#define MICROPY_HELPER_REPL (1)
4344
#define MICROPY_ENABLE_SOURCE_LINE (1)
@@ -60,15 +61,20 @@
6061
#define MICROPY_MODULE_WEAK_LINKS (0)
6162
#define MICROPY_CAN_OVERRIDE_BUILTINS (0)
6263
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
64+
#define MICROPY_PY_BUILTINS_STR_SPLITLINES (0)
6365
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)
6466
#define MICROPY_PY_BUILTINS_FROZENSET (1)
6567
#define MICROPY_PY_BUILTINS_EXECFILE (1)
6668
#define MICROPY_PY_MICROPYTHON_MEM_INFO (0)
69+
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (0)
70+
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)
71+
#define MICROPY_PY_SYS_MAXSIZE (0)
6772
#define MICROPY_PY_SYS_EXIT (1)
6873
#define MICROPY_PY_SYS_STDFILES (1)
6974
#define MICROPY_PY_CMATH (0)
7075
#define MICROPY_PY_IO (1)
7176
#define MICROPY_PY_IO_FILEIO (1)
77+
#define MICROPY_PY_UBINASCII (1)
7278
#define MICROPY_PY_UCTYPES (1)
7379
#define MICROPY_PY_UZLIB (0)
7480
#define MICROPY_PY_UJSON (1)
@@ -90,6 +96,7 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
9096

9197
// extra built in modules to add to the list of known ones
9298
extern const struct _mp_obj_module_t pyb_module;
99+
extern const struct _mp_obj_module_t mp_module_ubinascii;
93100
extern const struct _mp_obj_module_t mp_module_ure;
94101
extern const struct _mp_obj_module_t mp_module_ujson;
95102
extern const struct _mp_obj_module_t mp_module_uheapq;
@@ -128,6 +135,7 @@ extern const struct _mp_obj_module_t mp_module_network;
128135
// type definitions for the specific machine
129136
#define BYTES_PER_WORD (4)
130137
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p) | 1))
138+
#define MP_SSIZE_MAX (0x7FFFFFFF)
131139

132140
#define UINT_FMT "%u"
133141
#define INT_FMT "%d"

0 commit comments

Comments
 (0)