1
0
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:
tomaszduda23
2025-08-01 06:53:40 +02:00
committed by GitHub
parent c42c5dd946
commit e4dc62ea74
5 changed files with 291 additions and 1 deletions

View File

@@ -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")