mirror of
https://github.com/esphome/esphome.git
synced 2025-10-27 13:13:50 +00:00
[nrf52, debug] debug component for nrf52 (#8315)
This commit is contained in:
@@ -124,7 +124,9 @@ async def to_code(config: ConfigType) -> None:
|
||||
],
|
||||
)
|
||||
|
||||
if config[KEY_BOOTLOADER] == BOOTLOADER_ADAFRUIT:
|
||||
if config[KEY_BOOTLOADER] == BOOTLOADER_MCUBOOT:
|
||||
cg.add_define("USE_BOOTLOADER_MCUBOOT")
|
||||
else:
|
||||
# make sure that firmware.zip is created
|
||||
# for Adafruit_nRF52_Bootloader
|
||||
cg.add_platformio_option("board_upload.protocol", "nrfutil")
|
||||
|
||||
Reference in New Issue
Block a user