We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 061eb6f commit 61e85a8Copy full SHA for 61e85a8
pic16bit/mpconfigport.h
@@ -63,6 +63,7 @@
63
#define MICROPY_CPYTHON_COMPAT (0)
64
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
65
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
66
+#define MICROPY_NO_ALLOCA (1)
67
68
// type definitions for the specific machine
69
@@ -98,9 +99,6 @@ extern const struct _mp_obj_module_t pyb_module;
98
99
#define MICROPY_PORT_BUILTIN_MODULES \
100
{ MP_OBJ_NEW_QSTR(MP_QSTR_pyb), (mp_obj_t)&pyb_module }, \
101
-// We need to provide a declaration/definition of alloca()
102
-#define alloca(x) (void*)m_new(byte, (x))
103
-
104
#define MP_STATE_PORT MP_STATE_VM
105
106
#define MICROPY_PORT_ROOT_POINTERS \
0 commit comments