You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • @Sacha - a simpler hack would be to store some information in flash memory. There are a few kb after the bootloader but before Espruino, and those could be used to store information on the expected memory size.

    However ideally there would be a run-time check. If I could trap out of range accesses it'd be really easy to run through memory testing it - and if 64kb worked without issue, it'd be used.

About

Avatar for Gordon @Gordon started