PlatformIO Community

Build Error new created ESP-IDF project

Linking .pio\build\az-delivery-devkit-v4\bootloader.elf 
.....
C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:53: undefined reference to `bootloader_utility_load_boot_image'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\az-delivery-devkit-v4\bootloader.elf] Error 1

Hi, I get this error now in all my ESP-IDF project which compiled successfull half a year ago.
So I created a new project and got the same error.
main.c contains only void app_main() {}

Any suggestions?
This is the terminal output:

Processing az-delivery-devkit-v4 (platform: espressif32; board: az-delivery-devkit-v4; framework: espidf)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/az-delivery-devkit-v4.html
PLATFORM: Espressif 32 (2.1.0+sha.a58a358) > AZ-Delivery ESP-32 Dev Kit C V4
HARDWARE: ESP32 240MHz, 520KB RAM, 16MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-espidf @ 3.40100.200827 (4.1.0)
 - tool-cmake @ 3.16.4
 - tool-esptoolpy @ 1.30000.201119 (3.0.0)
 - tool-idf @ 1.0.1
 - tool-mconf @ 1.4060000.20190628 (406.0.0)
 - tool-ninja @ 1.9.0
 - toolchain-esp32ulp @ 1.22851.191205 (2.28.51)
 - toolchain-xtensa32 @ 2.80200.200827 (8.2.0)
Reading CMake configuration...
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Linking .pio\build\az-delivery-devkit-v4\bootloader.elf
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o):(.literal.call_start_cpu0+0x8): undefined reference to `bootloader_init'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o):(.literal.call_start_cpu0+0xc): undefined reference to `bootloader_reset'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o):(.literal.call_start_cpu0+0x14): undefined reference to `bootloader_utility_load_partition_table'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o):(.literal.call_start_cpu0+0x18): undefined reference to `esp_log_timestamp'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o):(.literal.call_start_cpu0+0x20): undefined reference to `bootloader_utility_get_selected_boot_partition'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o):(.literal.call_start_cpu0+0x24): undefined reference to `bootloader_common_get_reset_reason'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o):(.literal.call_start_cpu0+0x28): undefined reference to `bootloader_utility_load_boot_image'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o): in function `call_start_cpu0':
C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:33: undefined reference to `bootloader_init'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:34: undefined reference to `bootloader_reset'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o): in function `select_partition_number':
C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:60: undefined reference to `bootloader_utility_load_partition_table'    
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:61: undefined reference to `esp_log_timestamp'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o): in function `selected_boot_partition':
C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:75: undefined reference to `bootloader_utility_get_selected_boot_partition'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:79: undefined reference to `bootloader_common_get_reset_reason'
c:/users/espdevel/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\az-delivery-devkit-v4\bootloader\esp-idf\main\libmain.a(bootloader_start.c.o): in function `call_start_cpu0':
C:\Users\espdevel\.platformio\packages\framework-espidf\components\bootloader\subproject\main/bootloader_start.c:53: undefined reference to `bootloader_utility_load_boot_image'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\az-delivery-devkit-v4\bootloader.elf] Error 1

This might be a regression in the core, after all you use a fixed version for the Espressif32 platform. May also be another issue. Can you open an issue at Issues · platformio/platform-espressif32 · GitHub?