Hi folks,
given the low amount of free memory in a BBC micro:bit
>process.memory() ={ free: 280, usage: 20, total: 300, history: 0, gc: 0, gctime: 2.83813476562, blocksize: 12, "stackEndAddress": 536884560, flash_start: 0, "flash_binary_end": 258580, "flash_code_start": 260096, flash_length: 262144 }
is there an estimate of how much code may be sent to that device without causing a LOW_MEMORY error?
That code should also be able to be saved, of course.
Or, is there way to build larger code from smaller pieces (e.g. by saving individual functions rather than a whole bunch of them)?
Thanks in advance for any help!
With greetings from Germany,
Andreas Rozek
@Andreas_Rozek started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi folks,
given the low amount of free memory in a BBC micro:bit
is there an estimate of how much code may be sent to that device without causing a LOW_MEMORY error?
That code should also be able to be saved, of course.
Or, is there way to build larger code from smaller pieces (e.g. by saving individual functions rather than a whole bunch of them)?
Thanks in advance for any help!
With greetings from Germany,
Andreas Rozek