乐鑫技术交流
直播中

王莉

7年用户 1287经验值
私信 关注
[问答]

ESP-IDF Visual Code运行例程提示没有找到bootloader.map是怎么回事?

大家好!我是新接触ESP32开发的小白。我在按照新手指南编译例程的时候遇到了问题。

看了一下Terminal提示信息,它似乎在提示我没有找到Project/Blink/blink/build/bootloader/bootloader.map文件。我顺着路径找下去,确实没有找到bootloader.map文件。我上百度查询也没有找到相关信息。

请问这是否是因为我没有正确配置环境造成的?如果是的话,我该如何配置环境来解决这个问题?

以前只用过STM32,MSP430这一类的芯片,但没见过ESP32这样,不管是照着官方教程用eclipse还是Visual Code都搞了好几天也没搞明白环境配置,例程都没跑起来的情况。

Terminal提示信息如下:

> Executing task: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 .. <

-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.33.0.windows.2")

-- IDF_TARGET not set, using default target: esp32

-- The C compiler identification is GNU 8.4.0

-- The CXX compiler identification is GNU 8.4.0

-- The ASM compiler identification is GNU

-- Found assembler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe

-- Check for working C compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe

-- Check for working C compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe

-- Check for working CXX compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.

-- Building ESP-IDF components for target esp32

-- Project sdkconfig file D:/ESP-IDF Project/Blink/blink/sdkconfig

Loading defaults file D:/ESP-IDF Project/Blink/blink/sdkconfig.defaults...

-- Found PythonInterp: D:/ESP-IDF/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe (found version "3.8.7")

-- Could NOT find Perl (missing: PERL_EXECUTABLE)

-- App "blink" version: 1

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld

-- Adding linker script D:/ESP-IDF Project/Blink/blink/build/esp-idf/esp32/esp32_out.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp32/ld/esp32.project.ld.in

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld

-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_local_ctrl esp_netif esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test jsmn json libsodium log lwip mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa

-- Component paths: D:/ESP-IDF/esp/esp-idf/components/app_trace D:/ESP-IDF/esp/esp-idf/components/app_update D:/ESP-IDF/esp/esp-idf/components/asio D:/ESP-IDF/esp/esp-idf/components/bootloader D:/ESP-IDF/esp/esp-idf/components/bootloader_support D:/ESP-IDF/esp/esp-idf/components/bt D:/ESP-IDF/esp/esp-idf/components/cbor D:/ESP-IDF/esp/esp-idf/components/cmock D:/ESP-IDF/esp/esp-idf/components/coap D:/ESP-IDF/esp/esp-idf/components/console D:/ESP-IDF/esp/esp-idf/components/cxx D:/ESP-IDF/esp/esp-idf/components/driver D:/ESP-IDF/esp/esp-idf/components/efuse D:/ESP-IDF/esp/esp-idf/components/esp-tls D:/ESP-IDF/esp/esp-idf/components/esp32 D:/ESP-IDF/esp/esp-idf/components/esp_adc_cal D:/ESP-IDF/esp/esp-idf/components/esp_common D:/ESP-IDF/esp/esp-idf/components/esp_eth D:/ESP-IDF/esp/esp-idf/components/esp_event D:/ESP-IDF/esp/esp-idf/components/esp_gdbstub D:/ESP-IDF/esp/esp-idf/components/esp_hid D:/ESP-IDF/esp/esp-idf/components/esp_http_client D:/ESP-IDF/esp/esp-idf/components/esp_http_server D:/ESP-IDF/esp/esp-idf/components/esp_https_ota D:/ESP-IDF/esp/esp-idf/components/esp_https_server D:/ESP-IDF/esp/esp-idf/components/esp_hw_support D:/ESP-IDF/esp/esp-idf/components/esp_ipc D:/ESP-IDF/esp/esp-idf/components/esp_local_ctrl D:/ESP-IDF/esp/esp-idf/components/esp_netif D:/ESP-IDF/esp/esp-idf/components/esp_pm D:/ESP-IDF/esp/esp-idf/components/esp_ringbuf D:/ESP-IDF/esp/esp-idf/components/esp_rom D:/ESP-IDF/esp/esp-idf/components/esp_serial_slave_link D:/ESP-IDF/esp/esp-idf/components/esp_system D:/ESP-IDF/esp/esp-idf/components/esp_timer D:/ESP-IDF/esp/esp-idf/components/esp_websocket_client D:/ESP-IDF/esp/esp-idf/components/esp_wifi D:/ESP-IDF/esp/esp-idf/components/espcoredump D:/ESP-IDF/esp/esp-idf/components/esptool_py D:/ESP-IDF/esp/esp-idf/components/expat D:/ESP-IDF/esp/esp-idf/components/fatfs D:/ESP-IDF/esp/esp-idf/components/freemodbus D:/ESP-IDF/esp/esp-idf/components/freertos D:/ESP-IDF/esp/esp-idf/components/hal D:/ESP-IDF/esp/esp-idf/components/heap D:/ESP-IDF/esp/esp-idf/components/idf_test D:/ESP-IDF/esp/esp-idf/components/jsmn D:/ESP-IDF/esp/esp-idf/components/json D:/ESP-IDF/esp/esp-idf/components/libsodium D:/ESP-IDF/esp/esp-idf/components/log D:/ESP-IDF/esp/esp-idf/components/lwip D:/ESP-IDF/esp/esp-idf/components/mbedtls D:/ESP-IDF/esp/esp-idf/components/mdns D:/ESP-IDF/esp/esp-idf/components/mqtt D:/ESP-IDF/esp/esp-idf/components/newlib D:/ESP-IDF/esp/esp-idf/components/nghttp D:/ESP-IDF/esp/esp-idf/components/nvs_flash D:/ESP-IDF/esp/esp-idf/components/openssl D:/ESP-IDF/esp/esp-idf/components/partition_table D:/ESP-IDF/esp/esp-idf/components/perfmon D:/ESP-IDF/esp/esp-idf/components/protobuf-c D:/ESP-IDF/esp/esp-idf/components/protocomm D:/ESP-IDF/esp/esp-idf/components/pthread D:/ESP-IDF/esp/esp-idf/components/sdmmc D:/ESP-IDF/esp/esp-idf/components/soc D:/ESP-IDF/esp/esp-idf/components/spi_flash D:/ESP-IDF/esp/esp-idf/components/spiffs D:/ESP-IDF/esp/esp-idf/components/tcp_transport D:/ESP-IDF/esp/esp-idf/components/tcpip_adapter D:/ESP-IDF/esp/esp-idf/components/tinyusb D:/ESP-IDF/esp/esp-idf/components/ulp D:/ESP-IDF/esp/esp-idf/components/unity D:/ESP-IDF/esp/esp-idf/components/vfs D:/ESP-IDF/esp/esp-idf/components/wear_levelling D:/ESP-IDF/esp/esp-idf/components/wifi_provisioning D:/ESP-IDF/esp/esp-idf/components/wpa_supplicant D:/ESP-IDF/esp/esp-idf/components/xtensa

-- Configuring done

-- Generating done

-- Build files have been written to: D:/ESP-IDF Project/Blink/blink/build



终端将被任务重用,按任意键关闭。



> Executing task: cmake --build . <



[10/964] Generating ../../partition_table/partition-table.bin

Partition table binary generated. Contents:

*******************************************************************************

# ESP-IDF Partition Table

# Name, Type, SubType, Offset, Size, Flags

nvs,data,nvs,0x9000,24K,

phy_init,data,phy,0xf000,4K,

factory,app,factory,0x10000,1M,

*******************************************************************************

[608/964] Performing configure step for 'bootloader'

-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.33.0.windows.2")

-- The C compiler identification is GNU 8.4.0

-- The CXX compiler identification is GNU 8.4.0

-- The ASM compiler identification is GNU

-- Found assembler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe

-- Check for working C compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe

-- Check for working C compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe

-- Check for working CXX compiler: D:/ESP-IDF/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Building ESP-IDF components for target esp32

-- Project sdkconfig file D:/ESP-IDF Project/Blink/blink/sdkconfig

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp32/ld/esp32.peripherals.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld

-- Adding linker script D:/ESP-IDF/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld

-- Components: bootloader bootloader_support efuse esp32 esp_common esp_hw_support esp_rom esp_system esptool_py hal log main micro-ecc newlib partition_table soc spi_flash xtensa

-- Component paths: D:/ESP-IDF/esp/esp-idf/components/bootloader D:/ESP-IDF/esp/esp-idf/components/bootloader_support D:/ESP-IDF/esp/esp-idf/components/efuse D:/ESP-IDF/esp/esp-idf/components/esp32 D:/ESP-IDF/esp/esp-idf/components/esp_common D:/ESP-IDF/esp/esp-idf/components/esp_hw_support D:/ESP-IDF/esp/esp-idf/components/esp_rom D:/ESP-IDF/esp/esp-idf/components/esp_system D:/ESP-IDF/esp/esp-idf/components/esptool_py D:/ESP-IDF/esp/esp-idf/components/hal D:/ESP-IDF/esp/esp-idf/components/log D:/ESP-IDF/esp/esp-idf/components/bootloader/subproject/main D:/ESP-IDF/esp/esp-idf/components/bootloader/subproject/components/micro-ecc D:/ESP-IDF/esp/esp-idf/components/newlib D:/ESP-IDF/esp/esp-idf/components/partition_table D:/ESP-IDF/esp/esp-idf/components/soc D:/ESP-IDF/esp/esp-idf/components/spi_flash D:/ESP-IDF/esp/esp-idf/components/xtensa

-- Configuring done

-- Generating done

-- Build files have been written to: D:/ESP-IDF Project/Blink/blink/build/bootloader

[632/964] Performing build step for 'bootloader'

FAILED: bootloader-prefix/src/bootloader-stamp/bootloader-build bootloader/bootloader.elf bootloader/bootloader.bin bootloader/bootloader.map

cmd.exe /C "cd /D "D:ESP-IDF ProjectBlinkblinkbuildbootloader" && D:ESP-IDF.espressiftoolscmake3.16.4bincmake.exe --build ."

[1/86] Generating project_elf_src_esp32.c

[2/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj

[3/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj

[4/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj

[5/86] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj

[6/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj

[7/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/memory_layout_utils.c.obj

[8/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj

[9/86] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj

[10/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj

[11/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj

[12/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj

[13/86] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj

[14/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj

[15/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj

[16/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/soc_memory_layout.c.obj

[17/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj

[18/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj

[19/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj

[20/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj

[21/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj

[22/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj

[23/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj

[24/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj

[25/86] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj

[26/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj

[27/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj

[28/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj

[29/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj

[30/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj

[31/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj

[32/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj

[33/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj

[34/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj

[35/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj

[36/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj

[37/86] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj

[38/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj

[39/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj

[40/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj

[41/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj

[42/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj

[43/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj

[44/86] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj

[45/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj

[46/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj

[47/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj

[48/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_api.c.obj

[49/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj

[50/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_fields.c.obj

[51/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj

[52/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj

[53/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_utility.c.obj

[54/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj

[55/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj

[56/86] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj

[57/86] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj

[58/86] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj

[59/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj

[60/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj

[61/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj

[62/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj

[63/86] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj

[64/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj

[65/86] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj

[66/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj

[67/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj

[68/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj

[69/86] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj

[70/86] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj

[71/86] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj

[72/86] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj

[73/86] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj

[74/86] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj

[75/86] Linking C static library esp-idflogliblog.a

[76/86] Linking C static library esp-idfesp_romlibesp_rom.a

[77/86] Linking C static library esp-idfesp_hw_supportlibesp_hw_support.a

[78/86] Linking C static library esp-idfefuselibefuse.a

[79/86] Linking C static library esp-idfbootloader_supportlibbootloader_support.a

[80/86] Linking C static library esp-idfspi_flashlibspi_flash.a

[81/86] Linking C static library esp-idfmicro-ecclibmicro-ecc.a

[82/86] Linking C static library esp-idfsoclibsoc.a

[83/86] Linking C static library esp-idfhallibhal.a

[84/86] Linking C static library esp-idfmainlibmain.a

[85/86] Linking C executable bootloader.elf

FAILED: bootloader.elf

cmd.exe /C "cd . && D:ESP-IDF.espressiftoolsxtensa-esp32-elfesp-2021r1-8.4.0xtensa-esp32-elfbinxtensa-esp32-elf-gcc.exe -mlongcalls -Wno-frame-address   CMakeFiles/bootloader.elf.dir/project_elf_src_esp32.c.obj  -o bootloader.elf  esp-idf/hal/libhal.a  esp-idf/soc/libsoc.a  esp-idf/micro-ecc/libmicro-ecc.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/efuse/libefuse.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/log/liblog.a  esp-idf/main/libmain.a  -Wl,--cref -Wl,--Map=D:/ESP-IDF Project/Blink/blink/build/bootloader/bootloader.map  -fno-rtti  -fno-lto  esp-idf/hal/libhal.a  esp-idf/soc/libsoc.a  esp-idf/micro-ecc/libmicro-ecc.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/efuse/libefuse.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/log/liblog.a  esp-idf/hal/libhal.a  esp-idf/soc/libsoc.a  esp-idf/micro-ecc/libmicro-ecc.a  esp-idf/spi_flash/libspi_flash.a  esp-idf/bootloader_support/libbootloader_support.a  esp-idf/efuse/libefuse.a  esp-idf/esp_hw_support/libesp_hw_support.a  esp-idf/esp_rom/libesp_rom.a  esp-idf/log/liblog.a  -L D:/ESP-IDF/esp/esp-idf/components/esp32/ld  -T esp32.peripherals.ld  -u abort  -Wl,--gc-sections  -L D:/ESP-IDF/esp/esp-idf/components/esp_rom/esp32/ld  -T esp32.rom.ld  -T esp32.rom.api.ld  -T esp32.rom.libgcc.ld  -T esp32.rom.newlib-funcs.ld  -L D:/ESP-IDF/esp/esp-idf/components/bootloader/subproject/main/ld/esp32  -T bootloader.ld  -T bootloader.rom.ld && cd ."

xtensa-esp32-elf-gcc.exe: error: Project/Blink/blink/build/bootloader/bootloader.map: No such file or directory

ninja: build stopped: subcommand failed.

[633/964] Linking C static library esp-idfdriverlibdriver.a

ninja: build stopped: subcommand failed.

终端进程“C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -Command cmake --build .”已终止,退出代码: 1。

更多回帖

发帖
×
20
完善资料,
赚取积分