Well, if you are building espruino from github source then it should simply work with any 52832 board file as is. Or look at MICROBIT2 board file, that one is 52833 (like 52840 but only half of features, 128KB RAM,512KB of flash) you could put LD_SRAM_SIZE=0x40000 for 52840 there to use whole RAM if you also increase variables accordingly.
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.
Well, if you are building espruino from github source then it should simply work with any 52832 board file as is. Or look at MICROBIT2 board file, that one is 52833 (like 52840 but only half of features, 128KB RAM,512KB of flash) you could put
LD_SRAM_SIZE=0x40000
for 52840 there to use whole RAM if you also increase variables accordingly.For larger flash - if you build without bootloader you can increase this https://github.com/espruino/Espruino/blob/master/targetlibs/nrf5x_12/nrf5x_linkers/linker_nrf52_ble_espruino.ld#L12 by 0x80000 (just adding
+ 0x80000
should work)with bootloader it is a bit more complex.