When checking https://github.com/espruino/Espruino/blob/master/boards/NRF51822DK.py try removing GRAPHICS library, then removing gpio as pin reset define could save some code (reset should still work as long as this code run at least once on this board). Also in same board file try to increase page constants '3' in saved_code section as the size and start of Storage is hardcoded there. If you set it too large the linker should fail.
It looks that CONFIG_GPIO_AS_PINRESET is perhaps only relevant for nrf52 and got copied there by mistake and does nothing for nrf51
© Espruino, powered by microcosm.
Report a problem