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 c57910c commit ca485d2Copy full SHA for ca485d2
src/codal_port/mpconfigport.h
@@ -34,6 +34,9 @@
34
// Memory allocation policy
35
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX)
36
37
+// MicroPython emitters
38
+#define MICROPY_EMIT_INLINE_THUMB (1)
39
+
40
// Python internal features
41
#define MICROPY_VM_HOOK_COUNT (64)
42
#define MICROPY_VM_HOOK_INIT \
@@ -138,6 +141,8 @@ static inline void enable_irq(uint32_t state) {
138
141
#define MICROPY_BEGIN_ATOMIC_SECTION() disable_irq()
139
142
#define MICROPY_END_ATOMIC_SECTION(state) enable_irq(state)
140
143
144
+#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void *)((uint32_t)(p) | 1))
145
146
#define MP_SSIZE_MAX (0x7fffffff)
147
148
// Type definitions for the specific machine
0 commit comments