As @fanoush says - but if you do want to use the unoptimised bdebug dinary on an nRF52 you can maybe look at removing features from the BOARD.py file you're not using, for instance: https://github.com/espruino/Espruino/blob/master/boards/NRF52832DK.py#L34-L37
you can even use the SAVE_ON_FLASH macro
SAVE_ON_FLASH
@Gordon started
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.
As @fanoush says - but if you do want to use the unoptimised bdebug dinary on an nRF52 you can maybe look at removing features from the BOARD.py file you're not using, for instance: https://github.com/espruino/Espruino/blob/master/boards/NRF52832DK.py#L34-L37
you can even use the
SAVE_ON_FLASH
macro