'bootloader' : 1 sets USE_BOOTLOADER as you noted - this means that the firmware is arranged such that a bootloader exists at the end of flash memory as well. When building, both a bootloader and the firmware will be built and then merged into a hex at the end (unless you do DFU_UPDATE_BUILD=1` in which case it just creates an update zip file
BOOTLOADER=1 forces it to build just the bootloader 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.
If it helps:
'bootloader' : 1
setsUSE_BOOTLOADER
as you noted - this means that the firmware is arranged such that a bootloader exists at the end of flash memory as well. When building, both a bootloader and the firmware will be built and then merged into a hex at the end (unless you do DFU_UPDATE_BUILD=1` in which case it just creates an update zip fileBOOTLOADER=1
forces it to build just the bootloader hex file