No qstr hash on all SAMD21
This commit is contained in:
parent
7aadc8436d
commit
50382b22c7
2 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,8 @@
|
|||
// See https://github.com/micropython/micropython/pull/11353
|
||||
#define MICROPY_NLR_THUMB_USE_LONG_JUMP (1)
|
||||
|
||||
// Don't store qstr hashes and do string compares instead.
|
||||
#define MICROPY_QSTR_BYTES_IN_HASH (0)
|
||||
|
||||
#endif // SAMD21
|
||||
|
||||
|
|
|
|||
|
|
@ -142,7 +142,9 @@ extern void common_hal_mcu_enable_interrupts(void);
|
|||
#define MICROPY_PY___FILE__ (1)
|
||||
|
||||
#if CIRCUITPY_FULL_BUILD
|
||||
#ifndef MICROPY_QSTR_BYTES_IN_HASH
|
||||
#define MICROPY_QSTR_BYTES_IN_HASH (1)
|
||||
#endif
|
||||
#else
|
||||
#define MICROPY_QSTR_BYTES_IN_HASH (0)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue