When I want to save time and flash wear by skipping the softdevice and bootlader in the hex file I copy paste the mergehex line when the build ends and delete the softdevice and bootloader hex from that (and often change destination) so it becomes python scripts/hexmerge.py --overlap=replace bin/espruino_2v19.695_banglejs2.app_hex obj/dfu_settings.hex -o /mnt/c/pathtoopenocd/espruino_2v19.695_banglejs2.hex (as I build inside WSL but run openocd in windows)
So i tried to set the bootloader to stop the merging hex files.
make BOARD=P8-SDK12-SPIFLASH -j8 BOOTLOADER=1
that should build just the bootloader, you can't use that to avoid merging hex files for the application
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.
what are you trying to achieve?
When I want to save time and flash wear by skipping the softdevice and bootlader in the hex file I copy paste the mergehex line when the build ends and delete the softdevice and bootloader hex from that (and often change destination) so it becomes
python scripts/hexmerge.py --overlap=replace bin/espruino_2v19.695_banglejs2.app_hex obj/dfu_settings.hex -o /mnt/c/pathtoopenocd/espruino_2v19.695_banglejs2.hex
(as I build inside WSL but run openocd in windows)that should build just the bootloader, you can't use that to avoid merging hex files for the application