|
48 | 48 | #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE) |
49 | 49 | #define MICROPY_OPT_COMPUTED_GOTO (0) |
50 | 50 | #define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0) |
| 51 | +#ifndef DEBUG // we need ram on the launchxl while debugging |
51 | 52 | #define MICROPY_CPYTHON_COMPAT (1) |
| 53 | +#else |
| 54 | +#define MICROPY_CPYTHON_COMPAT (0) |
| 55 | +#endif |
52 | 56 | #define MICROPY_QSTR_BYTES_IN_HASH (1) |
53 | 57 |
|
54 | 58 | /* Enable FatFS LFNs |
|
62 | 66 | #define MICROPY_STREAMS_NON_BLOCK (1) |
63 | 67 | #define MICROPY_MODULE_WEAK_LINKS (1) |
64 | 68 | #define MICROPY_CAN_OVERRIDE_BUILTINS (1) |
| 69 | +#define MICROPY_PY_BUILTINS_TIMEOUTERROR (1) |
| 70 | +#ifndef DEBUG |
65 | 71 | #define MICROPY_PY_BUILTINS_STR_UNICODE (1) |
66 | 72 | #define MICROPY_PY_BUILTINS_STR_SPLITLINES (1) |
67 | 73 | #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) |
68 | 74 | #define MICROPY_PY_BUILTINS_FROZENSET (1) |
69 | 75 | #define MICROPY_PY_BUILTINS_EXECFILE (1) |
70 | | -#define MICROPY_PY_BUILTINS_TIMEOUTERROR (1) |
71 | | -#define MICROPY_PY_MICROPYTHON_MEM_INFO (0) |
72 | 76 | #define MICROPY_PY_ARRAY_SLICE_ASSIGN (1) |
73 | 77 | #define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1) |
| 78 | +#else |
| 79 | +#define MICROPY_PY_BUILTINS_STR_UNICODE (0) |
| 80 | +#define MICROPY_PY_BUILTINS_STR_SPLITLINES (0) |
| 81 | +#define MICROPY_PY_BUILTINS_MEMORYVIEW (0) |
| 82 | +#define MICROPY_PY_BUILTINS_FROZENSET (0) |
| 83 | +#define MICROPY_PY_BUILTINS_EXECFILE (0) |
| 84 | +#define MICROPY_PY_ARRAY_SLICE_ASSIGN (0) |
| 85 | +#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0) |
| 86 | +#endif |
| 87 | +#define MICROPY_PY_MICROPYTHON_MEM_INFO (0) |
74 | 88 | #define MICROPY_PY_SYS_MAXSIZE (1) |
75 | 89 | #define MICROPY_PY_SYS_EXIT (1) |
76 | 90 | #define MICROPY_PY_SYS_STDFILES (1) |
|
0 commit comments