Fix web simulator and binpack build (#114)

This commit is contained in:
Yaya-Cout
2021-12-28 15:12:13 +01:00
committed by GitHub
parent 398e974ccd
commit 70b162e63b
7 changed files with 9 additions and 52 deletions

View File

@@ -163,10 +163,6 @@ extern "C" {
}
void MicroPython::init(void * heapStart, void * heapEnd) {
#if __EMSCRIPTEN__
static mp_obj_t pystack[1024];
mp_pystack_init(pystack, &pystack[MP_ARRAY_SIZE(pystack)]);
#endif
/* We delimit the stack part that will be used by Python. The stackTop is the
* address of the first object that can be allocated on Python stack. This
* boundaries are used: