I do have some modules here that I'll be testing with soon, but because the nRF52840 has quite a bit more IO on it the module is finer pitch with lots of pins in the middle - I'm not sure if that'd cause you problems or not?
If you want I could take a look at the code (you could PM it to me) and see if I have any suggestions? Usually uploading to flash will reduce the RAM usage massively (especially if you minify), and it might be possible to increase the size of the saved code area if you were able/willing to have a special firmware image.
There's also the ability to upload pretokenised code. It's something I haven't done in the IDE yet but it'd take quite a lot off the code size.
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.
I do have some modules here that I'll be testing with soon, but because the nRF52840 has quite a bit more IO on it the module is finer pitch with lots of pins in the middle - I'm not sure if that'd cause you problems or not?
If you want I could take a look at the code (you could PM it to me) and see if I have any suggestions? Usually uploading to flash will reduce the RAM usage massively (especially if you minify), and it might be possible to increase the size of the saved code area if you were able/willing to have a special firmware image.
There's also the ability to upload pretokenised code. It's something I haven't done in the IDE yet but it'd take quite a lot off the code size.