The 'application' hex made by your last line should include everything including bootloader. It is actually softdevice + application + bootloader + bootloader settings + UICR so five different pieces merged into one. there should be hexinfo.py installed (part of intelhex pip package needed by nrfutil) that can be used to examine the hex file.
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.
The 'application' hex made by your last line should include everything including bootloader. It is actually softdevice + application + bootloader + bootloader settings + UICR so five different pieces merged into one. there should be hexinfo.py installed (part of intelhex pip package needed by nrfutil) that can be used to examine the hex file.
The
BOOTLOADER=1
should not be needed as long as there isbootloader : 1
in board file https://github.com/espruino/Espruino/blob/master/boards/BANGLEJS2.py#L28DFU_UPDATE_BUILD=1
makes DFU update zipAnyway, great that you got it working :-)