It'll only happen for you if the board is powered from a PC (so there's an active USB connection) - if it's powered from a USB wall supply or any external power then it won't be a problem.
You can move the console to something like Loopback with LoopbackA.setConsole(1) - but you probably want some way to move it back with USB.setConsole() when you want to interface to the device.
Of course the other option is just to do console.log = function(){}; - but if there are other prints (for example exceptions) then that is capable of filling up the buffer as well.
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.
It'll only happen for you if the board is powered from a PC (so there's an active USB connection) - if it's powered from a USB wall supply or any external power then it won't be a problem.
You can move the console to something like Loopback with
LoopbackA.setConsole(1)
- but you probably want some way to move it back withUSB.setConsole()
when you want to interface to the device.Of course the other option is just to do
console.log = function(){};
- but if there are other prints (for example exceptions) then that is capable of filling up the buffer as well.