bbc micro:bit memory problem

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Posts: 24
Joined: Mon Oct 24, 2016 2:32 pm

Re: bbc micro:bit memory problem

Postby fizban » Tue Oct 25, 2016 8:29 pm

I guess Pythoncoder is referring to the issue described in here: viewtopic.php?f=16&t=1876

The microbit adaptation seems to have a heap of 2423 bytes:

from mprun.c ( ... it/mprun.c)

// allocate the heap statically in the bss
static uint32_t heap[9692 / 4];

So I guess we are more prone to reach the limit sooner than with the other boards.

The persistent bytecode functionality described by pythoncoder at viewtopic.php?t=1776 is a little bit beyond by current level...

Return to “The micro:bit”

Who is online

Users browsing this forum: No registered users and 1 guest