Bluetooth proxy default build crashing

I have a ESP32 WROOM module that works fine when I flash it with https://web.esphome.io/ but when I try to flash a bluetooth proxy with Ready-Made Projects - ESPHome - Smart Home Made Simple it finishes flashing but the console logs show

[13:56:27]rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:56:27]configsip: 0, SPIWP:0xee
[13:56:27]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:56:27]mode:DIO, clock div:2
[13:56:27]load:0x3fff0030,len:6380
[13:56:27]ho 0 tail 12 room 4
[13:56:27]load:0x40078000,len:15916
[13:56:27]load:0x40080400,len:3860
[13:56:27]entry 0x40080630
[13:56:27]I (56) boot: ESP-IDF 5.5.1 2nd stage bootloader
[13:56:27]I (56) boot: compile time Jan 15 2026 19:53:06
[13:56:27]I (56) boot: Multicore bootloader
[13:56:27]I (58) boot: chip revision: v3.1
[13:56:27]I (61) boot.esp32: SPI Speed      : 40MHz
[13:56:27]I (65) boot.esp32: SPI Mode       : DIO
[13:56:27]I (68) boot.esp32: SPI Flash Size : 4MB
[13:56:27]I (72) boot: Enabling RNG early entropy source...
[13:56:27]I (76) boot: Partition Table:
[13:56:27]I (79) boot: ## Label            Usage          Type ST Offset   Length
[13:56:27]I (85) boot:  0 otadata          OTA data         01 00 00009000 00002000
[13:56:27]I (92) boot:  1 phy_init         RF data          01 01 0000b000 00001000
[13:56:27]I (98) boot:  2 app0             OTA app          00 10 00010000 001c0000
[13:56:27]I (105) boot:  3 app1             OTA app          00 11 001d0000 001c0000
[13:56:27]I (112) boot:  4 nvs              WiFi data        01 02 00390000 0006d000
[13:56:27]I (118) boot: End of partition table
[13:56:27]I (122) boot: No factory image, trying OTA 0
[13:56:27]I (126) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=3e7d4h (255956) map
[13:56:27]I (221) esp_image: segment 1: paddr=0004e7fc vaddr=3ffbdb60 size=0181ch (  6172) load
[13:56:27]I (223) esp_image: segment 2: paddr=00050020 vaddr=400d0020 size=f67f8h (1009656) map
[13:56:27]E (569) esp_image: invalid segment length 0xffffffff
[13:56:27]E (569) boot: OTA app partition slot 0 is not bootable
[13:56:27]E (570) esp_image: image at 0x1d0000 has invalid magic byte (nothing flashed here?)
[13:56:27]E (575) boot: OTA app partition slot 1 is not bootable
[13:56:27]E (580) boot: No bootable app partitions in the partition table
[13:56:27]ets Jul 29 2019 12:21:46

after initial flash with web.esphome.io, if you change the framework to idf, do you get any errors?

esp32:
  board: esp32dev
  framework:
    type: esp-idf