You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • The Pixl (and pretty much all the nRF52 based Espruino boards afaik) have 40kB of available flash for code. Sadly the rest is taken up with the interpreter and Bluetooth stack.

    The issue you're having is that by just sending a big string in one go you've got to have a bunch of available RAM - not just for the string which will come in piecemeal, but for the interpreted version of it as well.

    You could try sending code from the right-hand side of the IDE using the 'direct to flash' upload mode - the IDE will automatically split longer text up into smaller chunks in order to be able to use the 40k.

About

Avatar for Gordon @Gordon started