File tree Expand file tree Collapse file tree 8 files changed +2
-15
lines changed Expand file tree Collapse file tree 8 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 59
59
#else
60
60
#define MICROPY_CPYTHON_COMPAT (0)
61
61
#endif
62
- #define MICROPY_QSTR_BYTES_IN_HASH (1)
63
62
64
63
// fatfs configuration used in ffconf.h
65
64
#define MICROPY_FATFS_ENABLE_LFN (2)
Original file line number Diff line number Diff line change 260
260
#define MICROPY_PY_SYS (1)
261
261
#define MICROPY_PY_SYS_PATH_ARGV_DEFAULTS (1)
262
262
#define MICROPY_PY___FILE__ (1)
263
- #define MICROPY_QSTR_BYTES_IN_HASH (2)
264
263
#endif
265
264
266
265
#ifndef MICROPY_PY_UBLUEPY
Original file line number Diff line number Diff line change 29
29
// options to control how MicroPython is built
30
30
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_B)
31
31
#define MICROPY_ALLOC_PATH_MAX (64)
32
- #define MICROPY_QSTR_BYTES_IN_HASH (1)
33
32
#define MICROPY_EMIT_X64 (0)
34
33
#define MICROPY_EMIT_THUMB (0)
35
34
#define MICROPY_EMIT_INLINE_THUMB (0)
Original file line number Diff line number Diff line change 35
35
36
36
// #define MICROPY_DEBUG_VERBOSE (1)
37
37
38
- #define MICROPY_QSTR_BYTES_IN_HASH (1)
39
38
#define MICROPY_QSTR_EXTRA_POOL mp_qstr_frozen_const_pool
40
39
#define MICROPY_ALLOC_PATH_MAX (256)
41
40
#define MICROPY_EMIT_X64 (0)
Original file line number Diff line number Diff line change 61
61
// Memory allocation policies
62
62
#define MICROPY_GC_STACK_ENTRY_TYPE uint16_t
63
63
#define MICROPY_ALLOC_PATH_MAX (128)
64
- #define MICROPY_QSTR_BYTES_IN_HASH (1)
65
64
66
65
// MicroPython emitters
67
66
#define MICROPY_PERSISTENT_CODE_LOAD (1)
Original file line number Diff line number Diff line change 35
35
#define MICROPY_GC_STACK_ENTRY_TYPE uint16_t
36
36
#define MICROPY_GC_ALLOC_THRESHOLD (0)
37
37
#define MICROPY_ALLOC_PATH_MAX (256)
38
- #define MICROPY_QSTR_BYTES_IN_HASH (1)
39
38
40
39
// MicroPython emitters
41
40
#define MICROPY_PERSISTENT_CODE_LOAD (1)
Original file line number Diff line number Diff line change 64
64
// Enable just the sys and os built-in modules.
65
65
#define MICROPY_PY_SYS (1)
66
66
#define MICROPY_PY_OS (1)
67
-
68
- // The minimum sets this to 1 to save flash.
69
- #define MICROPY_QSTR_BYTES_IN_HASH (2)
Original file line number Diff line number Diff line change 282
282
#define MICROPY_QSTR_BYTES_IN_LEN (1)
283
283
#endif
284
284
285
- // Number of bytes used to store qstr hash
285
+ // Number of bytes used to store qstr hash, disabled by default
286
286
#ifndef MICROPY_QSTR_BYTES_IN_HASH
287
- #if MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_CORE_FEATURES
288
- #define MICROPY_QSTR_BYTES_IN_HASH (2)
289
- #else
290
- #define MICROPY_QSTR_BYTES_IN_HASH (1)
291
- #endif
287
+ #define MICROPY_QSTR_BYTES_IN_HASH (0)
292
288
#endif
293
289
294
290
// Avoid using C stack when making Python function calls. C stack still
You can’t perform that action at this time.
0 commit comments