We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aadc84 commit 50382b2Copy full SHA for 50382b2
ports/atmel-samd/mpconfigport.h
@@ -51,6 +51,8 @@
51
// See https://github.com/micropython/micropython/pull/11353
52
#define MICROPY_NLR_THUMB_USE_LONG_JUMP (1)
53
54
+// Don't store qstr hashes and do string compares instead.
55
+#define MICROPY_QSTR_BYTES_IN_HASH (0)
56
57
#endif // SAMD21
58
py/circuitpy_mpconfig.h
@@ -142,7 +142,9 @@ extern void common_hal_mcu_enable_interrupts(void);
142
#define MICROPY_PY___FILE__ (1)
143
144
#if CIRCUITPY_FULL_BUILD
145
+#ifndef MICROPY_QSTR_BYTES_IN_HASH
146
#define MICROPY_QSTR_BYTES_IN_HASH (1)
147
+#endif
148
#else
149
#define MICROPY_QSTR_BYTES_IN_HASH (0)
150
#endif
0 commit comments