Browse Source
Commit 0abf6f830c
removed _boot.py from the
manifest for the GENERIC_512K board because the build does not include a
filesystem. But the main code expects _boot.py to be there and prints an
error if it's not. So add a custom _boot.py, which just sets the
gc.threshold().
Signed-off-by: Damien George <damien@micropython.org>
pull/7419/head
Damien George
3 years ago
2 changed files with 4 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
import gc |
|||
|
|||
gc.threshold((gc.mem_free() + gc.mem_alloc()) // 4) |
Loading…
Reference in new issue