Closed MrYanLK closed 1 year ago
另外,我在menuconfig中打开blufi相关的配置,编译时报错如下
root@DESKTOP-6TBOMGV:/home/ylk/esp-at# ./build.py build Platform name:ESP32C2 Module name:ESP32C2-2MB Silence:0 submodules check completed for updates. blufi-adv.patch does not need to be applied wifi_deinit.patch does not need to be applied softap_pmk.patch does not need to be applied patches check completed for updates. Ready to set up environment variables.. PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin IDF_PYTHON_ENV_PATH is None sys.platform is linux export str is OPENOCD_SCRIPTS=/root/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/share/openocd/scripts ESP_ROM_ELF_DIR=/root/.espressif/tools/esp-rom-elfs/20220823/ IDF_PYTHON_ENV_PATH=/root/.espressif/python_env/idf5.0_py3.10_env ESP_IDF_VERSION=5.0 PATH=/root/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/root/.espressif/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin:/root/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/root/.espressif/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin:/root/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin:/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin:/root/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/root/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/bin:/root/.espressif/python_env/idf5.0_py3.10_env/bin:/home/ylk/esp-at/esp-idf/tools:$PATH IDF_DEACTIVATE_FILE_PATH=/tmp/tmptrwl4kididf_1525
PATH is /root/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/root/.espressif/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin:/root/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/root/.espressif/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin:/root/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin:/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin:/root/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/root/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/bin:/root/.espressif/python_env/idf5.0_py3.10_env/bin:/home/ylk/esp-at/esp-idf/tools:$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin IDF_PYTHON_ENV_PATH is /root/.espressif/python_env/idf5.0_py3.10_env Executing action: all (aliases: build) Running ninja in directory /home/ylk/esp-at/build Executing "ninja all"... silence:0 sdkconfig:/home/ylk/esp-at/module_config/module_esp32c2-2mb/sdkconfig.defaults esp-at branch: master esp-at docs version: latest [0/1] Re-running CMake...-- Component directory /home/ylk/esp-at/components/fs_image does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/ylk/esp-at/bootloader_components/include does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/ylk/esp-at/bootloader_components/tools does not contain a CMakeLists.txt file. No component will be added -- Building ESP-IDF components for target esp32c2 Processing 3 dependencies: [3/3] idf (5.0.0)-- Project sdkconfig file /home/ylk/esp-at/sdkconfig Loading defaults file /home/ylk/esp-at/module_config/module_esp32c2-2mb/sdkconfig.defaults... -- App "esp-at" version: v3.0.0.0-136-g14bad8d -- Adding linker script /home/ylk/esp-at/build/esp-idf/esp_system/ld/memory.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_system/ld/esp32c2/sections.ld.in -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.api.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.rvfp.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.newlib.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.version.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.mbedtls.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.newlib-time.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.newlib-nano.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.heap.ld -- Adding linker script /home/ylk/esp-at/esp-idf/components/soc/esp32c2/ld/esp32c2.peripherals.ld silence:0, ld core:/home/ylk/esp-at/components/at/lib/libesp32c2_at_core.a Parsing CSV input... Verifying table... -- Components: app_trace app_update at bootloader bootloader_support bt cmock console customized_partitions cxx driver efuse esp-tls esp_adc esp_app_format esp_common esp_eth esp_event esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressifesp_websocket_client espressifmdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table protobuf-c protocomm pthread riscv sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant -- Component paths: /home/ylk/esp-at/esp-idf/components/app_trace /home/ylk/esp-at/esp-idf/components/app_update /home/ylk/esp-at/components/at /home/ylk/esp-at/esp-idf/components/bootloader /home/ylk/esp-at/esp-idf/components/bootloader_support /home/ylk/esp-at/esp-idf/components/bt /home/ylk/esp-at/esp-idf/components/cmock /home/ylk/esp-at/esp-idf/components/console /home/ylk/esp-at/components/customized_partitions /home/ylk/esp-at/esp-idf/components/cxx /home/ylk/esp-at/esp-idf/components/driver /home/ylk/esp-at/esp-idf/components/efuse /home/ylk/esp-at/esp-idf/components/esp-tls /home/ylk/esp-at/esp-idf/components/esp_adc /home/ylk/esp-at/esp-idf/components/esp_app_format /home/ylk/esp-at/esp-idf/components/esp_common /home/ylk/esp-at/esp-idf/components/esp_eth /home/ylk/esp-at/esp-idf/components/esp_event /home/ylk/esp-at/esp-idf/components/esp_hid /home/ylk/esp-at/esp-idf/components/esp_http_client /home/ylk/esp-at/esp-idf/components/esp_http_server /home/ylk/esp-at/esp-idf/components/esp_https_ota /home/ylk/esp-at/esp-idf/components/esp_https_server /home/ylk/esp-at/esp-idf/components/esp_hw_support /home/ylk/esp-at/esp-idf/components/esp_lcd /home/ylk/esp-at/esp-idf/components/esp_local_ctrl /home/ylk/esp-at/esp-idf/components/esp_netif /home/ylk/esp-at/esp-idf/components/esp_partition /home/ylk/esp-at/esp-idf/components/esp_phy /home/ylk/esp-at/esp-idf/components/esp_pm /home/ylk/esp-at/esp-idf/components/esp_psram /home/ylk/esp-at/esp-idf/components/esp_ringbuf /home/ylk/esp-at/esp-idf/components/esp_rom /home/ylk/esp-at/esp-idf/components/esp_system /home/ylk/esp-at/esp-idf/components/esp_timer /home/ylk/esp-at/esp-idf/components/esp_wifi /home/ylk/esp-at/esp-idf/components/espcoredump /home/ylk/esp-at/managed_components/espressif__esp_websocket_client /home/ylk/esp-at/managed_components/espressif__mdns /home/ylk/esp-at/esp-idf/components/esptool_py /home/ylk/esp-at/esp-idf/components/fatfs /home/ylk/esp-at/esp-idf/components/freertos /home/ylk/esp-at/esp-idf/components/hal /home/ylk/esp-at/esp-idf/components/heap /home/ylk/esp-at/esp-idf/components/http_parser /home/ylk/esp-at/esp-idf/components/idf_test /home/ylk/esp-at/esp-idf/components/ieee802154 /home/ylk/esp-at/esp-idf/components/json /home/ylk/esp-at/esp-idf/components/log /home/ylk/esp-at/esp-idf/components/lwip /home/ylk/esp-at/main /home/ylk/esp-at/esp-idf/components/mbedtls /home/ylk/esp-at/esp-idf/components/mqtt /home/ylk/esp-at/esp-idf/components/newlib /home/ylk/esp-at/esp-idf/components/nvs_flash /home/ylk/esp-at/esp-idf/components/openthread /home/ylk/esp-at/esp-idf/components/partition_table /home/ylk/esp-at/esp-idf/components/protobuf-c /home/ylk/esp-at/esp-idf/components/protocomm /home/ylk/esp-at/esp-idf/components/pthread /home/ylk/esp-at/esp-idf/components/riscv /home/ylk/esp-at/esp-idf/components/sdmmc /home/ylk/esp-at/esp-idf/components/soc /home/ylk/esp-at/esp-idf/components/spi_flash /home/ylk/esp-at/esp-idf/components/spiffs /home/ylk/esp-at/esp-idf/components/tcp_transport /home/ylk/esp-at/esp-idf/components/ulp /home/ylk/esp-at/esp-idf/components/unity /home/ylk/esp-at/esp-idf/components/usb /home/ylk/esp-at/esp-idf/components/vfs /home/ylk/esp-at/esp-idf/components/wear_levelling /home/ylk/esp-at/esp-idf/components/wifi_provisioning /home/ylk/esp-at/esp-idf/components/wpa_supplicant ready to relink.. -- Configuring done -- Generating done -- Build files have been written to: /home/ylk/esp-at/build [5/868] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
otadata,data,ota,0x9000,8K, phy_init,data,phy,0xb000,4K, nvs,data,nvs,0xc000,56K, at_customize,64,0,0x1a000,64K, storage,data,34,0x2a000,664K, ota_0,app,ota_0,0xd0000,1216K,
[10/868] Running utility command for customized_binibrary/CMakeFiles/mbedcrypto.dir/chachapoly.c.obj Creating NVS binary with version: V2 - Multipage Blob Support Enabled
Created NVS binary: ===> /home/ylk/esp-at/build/customized_partitions/mfg_nvs.bin
[317/868] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.34.1")
-- Component directory /home/ylk/esp-at/bootloader_components/include does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ylk/esp-at/bootloader_components/tools does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32c2
-- Project sdkconfig file /home/ylk/esp-at/sdkconfig
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Adding linker script /home/ylk/esp-at/esp-idf/components/soc/esp32c2/ld/esp32c2.peripherals.ld
-- App "bootloader" version: v5.0-541-g885e501d99-dirty
-- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.ld
-- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.api.ld
-- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.rvfp.ld
-- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.newlib.ld
-- Adding linker script /home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld/esp32c2.rom.mbedtls.ld
-- Adding linker script /home/ylk/esp-at/bootloader_components/esp-xz/ld/esp32c2/linker.lf
-- Adding linker script /home/ylk/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32c2/bootloader.ld
-- Adding linker script /home/ylk/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32c2/bootloader.rom.ld
-- Components: bootloader bootloader_custom_malloc bootloader_support efuse esp-xz esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table riscv soc spi_flash
-- Component paths: /home/ylk/esp-at/esp-idf/components/bootloader /home/ylk/esp-at/bootloader_components/bootloader_custom_malloc /home/ylk/esp-at/esp-idf/components/bootloader_support /home/ylk/esp-at/esp-idf/components/efuse /home/ylk/esp-at/bootloader_components/esp-xz /home/ylk/esp-at/esp-idf/components/esp_app_format /home/ylk/esp-at/esp-idf/components/esp_common /home/ylk/esp-at/esp-idf/components/esp_hw_support /home/ylk/esp-at/esp-idf/components/esp_rom /home/ylk/esp-at/esp-idf/components/esp_system /home/ylk/esp-at/esp-idf/components/esptool_py /home/ylk/esp-at/esp-idf/components/freertos /home/ylk/esp-at/esp-idf/components/hal /home/ylk/esp-at/esp-idf/components/log /home/ylk/esp-at/bootloader_components/main /home/ylk/esp-at/esp-idf/components/bootloader/subproject/components/micro-ecc /home/ylk/esp-at/esp-idf/components/newlib /home/ylk/esp-at/esp-idf/components/partition_table /home/ylk/esp-at/esp-idf/components/riscv /home/ylk/esp-at/esp-idf/components/soc /home/ylk/esp-at/esp-idf/components/spi_flash
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ylk/esp-at/build/bootloader
[103/104] Generating binary image from built executableesptool.py v4.5.1
Creating esp32c2 image...
Merged 1 ELF section
Successfully created esp32c2 image.
Generated /home/ylk/esp-at/build/bootloader/bootloader.bin
[104/104] cd /home/ylk/esp-at/build/bootloader/esp-idf/esp...oader 0x0 /home/ylk/esp-at/build/bootloader/bootloader.binBootloader binary size 0x6c90 bytes. 0x1370 bytes (15%) free.
[862/868] Generating esp-idf/esp_system/ld/customer_sections.ldskip clk_ll_rtc_slow_get_src(FALSE)
skip uxListRemove(FALSE)
skip vListInsertEnd(FALSE)
skip vApplicationStackOverflowHook(FALSE)
skip vPortYieldOtherCore(FALSE)
skip xPortSysTickHandler(FALSE)
skip taskSelectHighestPriorityTaskSMP(FALSE)
skip taskYIELD_OTHER_CORE(FALSE)
skip xTaskPriorityDisinherit(FALSE)
skip prvGetExpectedIdleTime(FALSE)
skip vTaskStepTick(FALSE)
[864/868] Linking CXX executable esp-at.elfFAILED: esp-at.elf elf_src_esp32c2.c.obj
: && /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ -march=rv32imc -nostartfiles -march=rv32imc --specs=nosys.specs CMakeFiles/esp-at.elf.dir/project_elf_src_esp32c2.c.obj -o esp-at.elf esp-idf/riscv/libriscv.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/bt/libbt.a esp-idf/unity/libunity.a esp-idf/cmock/libcmock.a esp-idf/console/libconsole.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_hid/libesp_hid.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/protocomm/libprotocomm.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/fatfs/libfatfs.a esp-idf/json/libjson.a esp-idf/mqtt/libmqtt.a esp-idf/spiffs/libspiffs.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/espressifesp_websocket_client/libespressifesp_websocket_client.a esp-idf/espressifmdns/libespressifmdns.a esp-idf/main/libmain.a esp-idf/at/libat.a -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32C2=0 -Wl,--Map="/home/ylk/esp-at/build/esp-at.map" -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common esp-idf/app_trace/libapp_trace.a esp-idf/app_trace/libapp_trace.a -lgcov esp-idf/app_trace/libapp_trace.a -lgcov esp-idf/cmock/libcmock.a esp-idf/unity/libunity.a esp-idf/esp_hid/libesp_hid.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/protocomm/libprotocomm.a esp-idf/protobuf-c/libprotobuf-c.a ../components/at/lib/libesp32c2_at_core.a esp-idf/at/libat.a ../components/at/lib/libesp32c2_at_core.a esp-idf/bt/libbt.a ../esp-idf/components/bt/controller/lib_esp32c2/esp32c2-bt-lib/libble_app.a esp-idf/fatfs/libfatfs.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/json/libjson.a esp-idf/mqtt/libmqtt.a esp-idf/spiffs/libspiffs.a esp-idf/espressifesp_websocket_client/libespressifesp_websocket_client.a esp-idf/espressifmdns/libespressifmdns.a esp-idf/console/libconsole.a esp-idf/riscv/libriscv.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcore.a ../esp-idf/components/esp_wifi/lib/esp32c2/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32c2/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32c2/libpp.a ../esp-idf/components/esp_wifi/lib/esp32c2/libsmartconfig.a esp-idf/riscv/libriscv.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcore.a ../esp-idf/components/esp_wifi/lib/esp32c2/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32c2/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32c2/libpp.a ../esp-idf/components/esp_wifi/lib/esp32c2/libsmartconfig.a esp-idf/riscv/libriscv.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcore.a ../esp-idf/components/esp_wifi/lib/esp32c2/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32c2/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32c2/libpp.a ../esp-idf/components/esp_wifi/lib/esp32c2/libsmartconfig.a esp-idf/riscv/libriscv.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcore.a ../esp-idf/components/esp_wifi/lib/esp32c2/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32c2/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32c2/libpp.a ../esp-idf/components/esp_wifi/lib/esp32c2/libsmartconfig.a esp-idf/riscv/libriscv.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32c2/libcore.a ../esp-idf/components/esp_wifi/lib/esp32c2/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32c2/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32c2/libpp.a ../esp-idf/components/esp_wifi/lib/esp32c2/libsmartconfig.a -Wl,--wrap=mbedtls_ssl_write_client_hello -Wl,--wrap=mbedtls_ssl_handshake_client_step -Wl,--wrap=mbedtls_ssl_handshake_server_step -Wl,--wrap=mbedtls_ssl_read -Wl,--wrap=mbedtls_ssl_write -Wl,--wrap=mbedtls_ssl_session_reset -Wl,--wrap=mbedtls_ssl_free -Wl,--wrap=mbedtls_ssl_setup -Wl,--wrap=mbedtls_ssl_send_alert_message -Wl,--wrap=mbedtls_ssl_close_notify -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -u pthread_include_pthread_rwlock_impl -u start_app -L "/home/ylk/esp-at/build/esp-idf/esp_system/ld" -T memory.ld -T sections.ld -u ubsan_include -L "/home/ylk/esp-at/esp-idf/components/esp_rom/esp32c2/ld" -T esp32c2.rom.ld -T esp32c2.rom.api.ld -T esp32c2.rom.rvfp.ld -T esp32c2.rom.newlib.ld -T esp32c2.rom.version.ld -T esp32c2.rom.mbedtls.ld -T esp32c2.rom.newlib-time.ld -T esp32c2.rom.newlib-nano.ld -u tlsf_set_rom_patches -T esp32c2.rom.heap.ld -u assert_func -L "/home/ylk/esp-at/esp-idf/components/soc/esp32c2/ld" -T esp32c2.peripherals.ld -Wl,--undefined=uxTopUsedPriority -Wl,--undefined=FreeRTOS_openocd_params -u app_main -lc -lm esp-idf/newlib/libnewlib.a -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -u newlib_include_assert_impl --specs=nano.specs -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting -Wl,--wrap=register_frame_info_bases -Wl,--wrap=register_frame_info -Wl,--wrap=register_frame -Wl,--wrap=register_frame_info_table_bases -Wl,--wrap=register_frame_info_table -Wl,--wrap=register_frame_table -Wl,--wrap=deregister_frame_info_bases -Wl,--wrap=__deregister_frame_info -Wl,--wrap=_Unwind_Find_FDE -Wl,--wrap=_Unwind_GetGR -Wl,--wrap=_Unwind_GetCFA -Wl,--wrap=_Unwind_GetIP -Wl,--wrap=_Unwind_GetIPInfo -Wl,--wrap=_Unwind_GetRegionStart -Wl,--wrap=_Unwind_GetDataRelBase -Wl,--wrap=_Unwind_GetTextRelBase -Wl,--wrap=_Unwind_SetIP -Wl,--wrap=_Unwind_SetGR -Wl,--wrap=_Unwind_GetLanguageSpecificData -Wl,--wrap=_Unwind_FindEnclosingFunction -Wl,--wrap=_Unwind_Resume -Wl,--wrap=_Unwind_RaiseException -Wl,--wrap=_Unwind_DeleteException -Wl,--wrap=_Unwind_ForcedUnwind -Wl,--wrap=_Unwind_Resume_or_Rethrow -Wl,--wrap=_Unwind_Backtrace -Wl,--wrap=cxa_call_unexpected -Wl,--wrap=gxx_personality_v0 -u cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a -lgcc esp-idf/cxx/libcxx.a -u __cxx_fatal_exception -L "/home/ylk/esp-at/esp-idf/components/esp_phy/lib/esp32c2" -u include_esp_phy_override -lphy -lbtbb esp-idf/esp_phy/libesp_phy.a -lphy -lbtbb esp-idf/esp_phy/libesp_phy.a -lphy -lbtbb -u vfs_include_syscalls_impl -L "/home/ylk/esp-at/esp-idf/components/esp_wifi/lib/esp32c2" && :
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L257': (.text.at_exeCmdBleSyncStop+0x22): undefined reference to
ble_gap_periodic_adv_sync_terminate'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L513': (.text.nimble_gap_event+0x522): undefined reference to
ble_gap_ext_adv_start'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L520': (.text.nimble_gap_event+0x7ac): undefined reference to
ble_gap_ext_adv_start'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L586': (.text.nimble_gap_event+0xd58): undefined reference to
ble_gap_periodic_adv_sync_create'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L653': (.text.at_setupCmdBleAdvParam+0x2dc): undefined reference to
ble_gap_ext_adv_clear'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_setupCmdBleAdvParam+0x2f6): undefined reference to ble_gap_ext_adv_configure' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L709':
(.text.at_exeCmdBleAdvStart+0x34): undefined reference to ble_gap_ext_adv_stop' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L715':
(.text.at_exeCmdBleAdvStart+0x42): undefined reference to ble_gap_ext_adv_start' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L717':
(.text.at_exeCmdBleAdvStop+0x22): undefined reference to ble_gap_ext_adv_stop' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L745':
(.text.at_setupCmdBleAdvDataEx+0x5b0): undefined reference to ble_gap_ext_adv_stop' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_setupCmdBleAdvDataEx+0x5b8): undefined reference to
ble_gap_ext_adv_clear'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L783': (.text.at_setupCmdBleAdvDataEx+0x5d0): undefined reference to
ble_gap_ext_adv_configure'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L749': (.text.at_setupCmdBleAdvDataEx+0x608): undefined reference to
ble_gap_ext_adv_set_data'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_setupCmdBleAdvDataEx+0x61a): undefined reference to ble_gap_ext_adv_start' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L815':
(.text.at_setupCmdBleAdvData+0x12e): undefined reference to ble_gap_ext_adv_set_data' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L846':
(.text.at_setupCmdBLeSacnRspData+0x12e): undefined reference to ble_gap_ext_adv_rsp_set_data' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L856':
(.text.at_setupCmdBleScan+0x9e): undefined reference to ble_gap_periodic_adv_sync_terminate' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
.L875':
(.text.at_setupCmdBleConn+0x12e): undefined reference to ble_gap_ext_connect' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function
at_exeCmdBlePeriodicStart':
(.text.at_exeCmdBlePeriodicStart+0x30): undefined reference to ble_gap_ext_adv_stop' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x38): undefined reference to
ble_gap_ext_adv_clear'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x52): undefined reference to ble_gap_ext_adv_configure' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x90): undefined reference to
ble_gap_ext_adv_start'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0xb0): undefined reference to ble_gap_periodic_adv_configure' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x124): undefined reference to
ble_gap_periodic_adv_set_data'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x138): undefined reference to ble_gap_periodic_adv_start' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x196): undefined reference to
ble_gap_ext_adv_set_data'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x228): undefined reference to ble_gap_ext_adv_rsp_set_data' /root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_exeCmdBlePeriodicStart+0x264): undefined reference to
ble_gap_ext_adv_set_addr'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L1313': (.text.at_exeCmdBlePeriodicStop+0x22): undefined reference to
ble_gap_periodic_adv_stop'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function at_nimble_host_deinit': (.text.at_nimble_host_deinit+0x6): undefined reference to
ble_gap_ext_adv_stop'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L1374': (.text.at_setupCmdBleInit+0x50): undefined reference to
ble_gap_ext_adv_stop'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: ../components/at/lib/libesp32c2_at_core.a(at_nimble_ble.c.obj): in function .L1363': (.text.at_setupCmdBleInit+0x90): undefined reference to
ble_gap_ext_adv_stop'
/root/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/11.2.0/../../../../riscv32-esp-elf/bin/ld: (.text.at_setupCmdBleInit+0xac): undefined reference to `ble_gap_periodic_adv_sync_terminate'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/ylk/esp-at/build/log/idf_py_stderr_output_1600 and /home/ylk/esp-at/build/log/idf_py_stdout_output_1600
A fatal error occurred: idf.py build failed
@MrYanLK 第一个错误是:在编译 ESP32-C3 的 MINI-1 模组的固件,但是环境是 ESP32-C2 的。你可以试试将 build sdkconfig bootloader_components 都删除掉,重新编译 ESP32-C3 的固件。
第二个错误:在编译 ESP32-C2 的 2MB 模组的固件时,除了开启 https://docs.espressif.com/projects/esp-at/zh_CN/latest/esp32c2/AT_Command_Set/BLE_AT_Commands.html#bluetooth-low-energy-at 这两个配置之外,另外需要禁用下面的配置。
Component config
-> Bluetooth
-> NimBLE Options
-> 取消勾选 Enable BLE 5 feature
Component config
-> AT
-> 取消勾选 AT ble command support.
问题已解决,感谢!
你好,我在编译esp-at时遇到新问题,麻烦看一下是怎么回事儿
ylk@ylk-virtual-machine:~/Desktop/espat/esp-at$ ./build.py build Platform name:ESP32 Module name:WROOM-32 Silence:0 submodules check completed for updates. softap_pmk.patch does not need to be applied patches check completed for updates. Ready to set up environment variables.. PATH is /home/ylk/Desktop/espat/esp-at/esp-idf/components/esptool_py/esptool:/home/ylk/Desktop/espat/esp-at/esp-idf/components/espcoredump:/home/ylk/Desktop/espat/esp-at/esp-idf/components/partition_table:/home/ylk/Desktop/espat/esp-at/esp-idf/components/app_update:/home/ylk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/ylk/.espressif/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin:/home/ylk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/ylk/.espressif/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin:/home/ylk/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin:/home/ylk/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin:/home/ylk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/ylk/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/bin:/home/ylk/.espressif/python_env/idf5.0_py3.8_env/bin:/home/ylk/Desktop/espat/esp-at/esp-idf/tools:/home/ylk/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin IDF_PYTHON_ENV_PATH is /home/ylk/.espressif/python_env/idf5.0_py3.8_env sys.platform is linux Using a supported version of tool cmake found in PATH: 3.16.3. However the recommended version is 3.24.0. export str is PATH is /home/ylk/Desktop/espat/esp-at/esp-idf/components/esptool_py/esptool:/home/ylk/Desktop/espat/esp-at/esp-idf/components/espcoredump:/home/ylk/Desktop/espat/esp-at/esp-idf/components/partition_table:/home/ylk/Desktop/espat/esp-at/esp-idf/components/app_update:/home/ylk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/ylk/.espressif/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin:/home/ylk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/ylk/.espressif/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin:/home/ylk/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin:/home/ylk/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin:/home/ylk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/ylk/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/bin:/home/ylk/.espressif/python_env/idf5.0_py3.8_env/bin:/home/ylk/Desktop/espat/esp-at/esp-idf/tools:/home/ylk/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin IDF_PYTHON_ENV_PATH is /home/ylk/.espressif/python_env/idf5.0_py3.8_env Executing action: all (aliases: build) Running ninja in directory /home/ylk/Desktop/espat/esp-at/build Executing "ninja all"... [1/1] cd /home/ylk/Desktop/espat/esp-at/build/bootloader/esp-idf/esptool_py && /home/ylk/...t 0x8000 bootloader 0x1000 /home/ylk/Desktop/espat/esp-at/build/bootloader/bootloader.binBootloader binary size 0x6880 bytes. 0x780 bytes (7%) free. [2/6] Running utility command for customized_bin Creating NVS binary with version: V2 - Multipage Blob Support Enabled
Created NVS binary: ===> /home/ylk/Desktop/espat/esp-at/build/customized_partitions/mfg_nvs.bin
[3/6] Linking CXX executable esp-at.elfFAILED: esp-at.elf
: && /home/ylk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -mlongcalls -Wno-frame-address CMakeFiles/esp-at.elf.dir/project_elf_src_esp32.c.obj -o esp-at.elf esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/app_trace/libapp_trace.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/bt/libbt.a esp-idf/unity/libunity.a esp-idf/cmock/libcmock.a esp-idf/console/libconsole.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/esp_hid/libesp_hid.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/protobuf-c/libprotobuf-c.a esp-idf/protocomm/libprotocomm.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/fatfs/libfatfs.a esp-idf/json/libjson.a esp-idf/mqtt/libmqtt.a esp-idf/perfmon/libperfmon.a esp-idf/spiffs/libspiffs.a esp-idf/ulp/libulp.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/espressifesp_websocket_client/libespressifesp_websocket_client.a esp-idf/espressifmdns/libespressifmdns.a esp-idf/main/libmain.a esp-idf/at/libat.a -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32=0 -Wl,--Map="/home/ylk/Desktop/espat/esp-at/build/esp-at.map" -fno-rtti -fno-lto -Wl,--gc-sections -Wl,--warn-common esp-idf/app_trace/libapp_trace.a esp-idf/app_trace/libapp_trace.a -lgcov esp-idf/app_trace/libapp_trace.a -lgcov esp-idf/cmock/libcmock.a esp-idf/unity/libunity.a esp-idf/esp_hid/libesp_hid.a esp-idf/esp_lcd/libesp_lcd.a esp-idf/esp_local_ctrl/libesp_local_ctrl.a esp-idf/espcoredump/libespcoredump.a esp-idf/perfmon/libperfmon.a esp-idf/wifi_provisioning/libwifi_provisioning.a esp-idf/protocomm/libprotocomm.a esp-idf/protobuf-c/libprotobuf-c.a ../components/at/lib/libesp32_at_core.a esp-idf/at/libat.a ../components/at/lib/libesp32_at_core.a esp-idf/espressifesp_websocket_client/libespressifesp_websocket_client.a ../components/decoder/lib/libesp32_mp3.a ../components/decoder/lib/libesp32_mp3.a esp-idf/bt/libbt.a -L/home/ylk/Desktop/espat/esp-at/esp-idf/components/bt/controller/lib_esp32/esp32 -lbtdm_app -u ld_include_hli_vectors_bt esp-idf/fatfs/libfatfs.a esp-idf/wear_levelling/libwear_levelling.a esp-idf/sdmmc/libsdmmc.a esp-idf/json/libjson.a esp-idf/mqtt/libmqtt.a esp-idf/spiffs/libspiffs.a esp-idf/espressifmdns/libespressifmdns.a esp-idf/console/libconsole.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32/libcore.a ../esp-idf/components/esp_wifi/lib/esp32/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32/libmesh.a ../esp-idf/components/esp_wifi/lib/esp32/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32/libpp.a ../esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a ../esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32/libcore.a ../esp-idf/components/esp_wifi/lib/esp32/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32/libmesh.a ../esp-idf/components/esp_wifi/lib/esp32/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32/libpp.a ../esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a ../esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32/libcore.a ../esp-idf/components/esp_wifi/lib/esp32/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32/libmesh.a ../esp-idf/components/esp_wifi/lib/esp32/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32/libpp.a ../esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a ../esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32/libcore.a ../esp-idf/components/esp_wifi/lib/esp32/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32/libmesh.a ../esp-idf/components/esp_wifi/lib/esp32/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32/libpp.a ../esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a ../esp-idf/components/esp_wifi/lib/esp32/libwapi.a esp-idf/xtensa/libxtensa.a esp-idf/esp_ringbuf/libesp_ringbuf.a esp-idf/efuse/libefuse.a esp-idf/driver/libdriver.a esp-idf/esp_pm/libesp_pm.a esp-idf/mbedtls/libmbedtls.a esp-idf/esp_app_format/libesp_app_format.a esp-idf/bootloader_support/libbootloader_support.a esp-idf/esp_partition/libesp_partition.a esp-idf/app_update/libapp_update.a esp-idf/spi_flash/libspi_flash.a esp-idf/pthread/libpthread.a esp-idf/esp_system/libesp_system.a esp-idf/esp_rom/libesp_rom.a esp-idf/hal/libhal.a esp-idf/log/liblog.a esp-idf/heap/libheap.a esp-idf/soc/libsoc.a esp-idf/esp_hw_support/libesp_hw_support.a esp-idf/freertos/libfreertos.a esp-idf/newlib/libnewlib.a esp-idf/cxx/libcxx.a esp-idf/esp_common/libesp_common.a esp-idf/esp_timer/libesp_timer.a esp-idf/esp_event/libesp_event.a esp-idf/nvs_flash/libnvs_flash.a esp-idf/esp_phy/libesp_phy.a esp-idf/vfs/libvfs.a esp-idf/lwip/liblwip.a esp-idf/esp_netif/libesp_netif.a esp-idf/wpa_supplicant/libwpa_supplicant.a esp-idf/esp_wifi/libesp_wifi.a esp-idf/http_parser/libhttp_parser.a esp-idf/esp-tls/libesp-tls.a esp-idf/esp_adc/libesp_adc.a esp-idf/esp_eth/libesp_eth.a esp-idf/esp_gdbstub/libesp_gdbstub.a esp-idf/tcp_transport/libtcp_transport.a esp-idf/esp_http_client/libesp_http_client.a esp-idf/esp_http_server/libesp_http_server.a esp-idf/esp_https_ota/libesp_https_ota.a esp-idf/ulp/libulp.a esp-idf/mbedtls/mbedtls/library/libmbedtls.a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a esp-idf/mbedtls/mbedtls/library/libmbedx509.a ../esp-idf/components/esp_wifi/lib/esp32/libcoexist.a ../esp-idf/components/esp_wifi/lib/esp32/libcore.a ../esp-idf/components/esp_wifi/lib/esp32/libespnow.a ../esp-idf/components/esp_wifi/lib/esp32/libmesh.a ../esp-idf/components/esp_wifi/lib/esp32/libnet80211.a ../esp-idf/components/esp_wifi/lib/esp32/libpp.a ../esp-idf/components/esp_wifi/lib/esp32/libsmartconfig.a ../esp-idf/components/esp_wifi/lib/esp32/libwapi.a ../esp-idf/components/xtensa/esp32/libxt_hal.a -Wl,--wrap=mbedtls_ssl_write_client_hello -Wl,--wrap=mbedtls_ssl_handshake_client_step -Wl,--wrap=mbedtls_ssl_handshake_server_step -Wl,--wrap=mbedtls_ssl_read -Wl,--wrap=mbedtls_ssl_write -Wl,--wrap=mbedtls_ssl_session_reset -Wl,--wrap=mbedtls_ssl_free -Wl,--wrap=mbedtls_ssl_setup -Wl,--wrap=mbedtls_ssl_send_alert_message -Wl,--wrap=mbedtls_ssl_close_notify -u esp_app_desc -u pthread_include_pthread_impl -u pthread_include_pthread_cond_impl -u pthread_include_pthread_local_storage_impl -u pthread_include_pthread_rwlock_impl -u ld_include_highint_hdl -u start_app -L "/home/ylk/Desktop/espat/esp-at/build/esp-idf/esp_system/ld" -T memory.ld -T sections.ld -u ubsan_include -L "/home/ylk/Desktop/espat/esp-at/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-data.ld -T esp32.rom.syscalls.ld -T esp32.rom.newlib-funcs.ld -Wl,--wrap=longjmp -u assert_func -u esp_dport_access_reg_read -L "/home/ylk/Desktop/espat/esp-at/esp-idf/components/soc/esp32/ld" -T esp32.peripherals.ld -u app_main -lc -lm esp-idf/newlib/libnewlib.a -u newlib_include_heap_impl -u newlib_include_syscalls_impl -u newlib_include_pthread_impl -u newlib_include_assert_impl --specs=nano.specs -Wl,--wrap=_Unwind_SetEnableExceptionFdeSorting -Wl,--wrap=register_frame_info_bases -Wl,--wrap=register_frame_info -Wl,--wrap=register_frame -Wl,--wrap=register_frame_info_table_bases -Wl,--wrap=register_frame_info_table -Wl,--wrap=register_frame_table -Wl,--wrap=deregister_frame_info_bases -Wl,--wrap=deregister_frame_info -Wl,--wrap=_Unwind_Find_FDE -Wl,--wrap=_Unwind_GetGR -Wl,--wrap=_Unwind_GetCFA -Wl,--wrap=_Unwind_GetIP -Wl,--wrap=_Unwind_GetIPInfo -Wl,--wrap=_Unwind_GetRegionStart -Wl,--wrap=_Unwind_GetDataRelBase -Wl,--wrap=_Unwind_GetTextRelBase -Wl,--wrap=_Unwind_SetIP -Wl,--wrap=_Unwind_SetGR -Wl,--wrap=_Unwind_GetLanguageSpecificData -Wl,--wrap=_Unwind_FindEnclosingFunction -Wl,--wrap=_Unwind_Resume -Wl,--wrap=_Unwind_RaiseException -Wl,--wrap=_Unwind_DeleteException -Wl,--wrap=_Unwind_ForcedUnwind -Wl,--wrap=_Unwind_Resume_or_Rethrow -Wl,--wrap=_Unwind_Backtrace -Wl,--wrap=cxa_call_unexpected -Wl,--wrap=gxx_personality_v0 -u cxa_guard_dummy -lstdc++ esp-idf/pthread/libpthread.a -lgcc esp-idf/cxx/libcxx.a -u cxx_fatal_exception -L "/home/ylk/Desktop/espat/esp-at/esp-idf/components/esp_phy/lib/esp32" -u include_esp_phy_override -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc esp-idf/esp_phy/libesp_phy.a -lphy -lrtc -u vfs_include_syscalls_impl -L "/home/ylk/Desktop/espat/esp-at/esp-idf/components/esp_wifi/lib/esp32" && :
/home/ylk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-at.elf section .iram0.text' will not fit in region
iram0_0_seg'
/home/ylk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: IRAM0 segment data does not fit.
/home/ylk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld: region `iram0_0_seg' overflowed by 68 bytes
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
HINT: The applications static IRAM usage is larger than the available IRAM size.
For more information on how to reduze IRAM usage run 'idf.py docs -sp api-guides/performance/ram-usage.html#optimizing-iram-usage'
ninja failed with exit code 1, output of the command is in the /home/ylk/Desktop/espat/esp-at/build/log/idf_py_stderr_output_37501 and /home/ylk/Desktop/espat/esp-at/build/log/idf_py_stdout_output_37501
A fatal error occurred: idf.py build failed
@ustccw
你好,我再执行./build.py build时报错如下,请问是咋回事
yyy@DESKTOP-6TBOMGV:~/esp-at$ ./build.py build Platform name:ESP32C3 Module name:MINI-1 Silence:0 submodules check completed for updates. softap_pmk.patch does not need to be applied patches check completed for updates. Ready to set up environment variables.. PATH is /home/yyy/esp-at/esp-idf/components/esptool_py/esptool:/home/yyy/esp-at/esp-idf/components/espcoredump:/home/yyy/esp-at/esp-idf/components/partition_table:/home/yyy/esp-at/esp-idf/components/app_update:/home/yyy/esp-at/esp-idf/components/esptool_py/esptool:/home/yyy/esp-at/esp-idf/components/espcoredump:/home/yyy/esp-at/esp-idf/components/partition_table:/home/yyy/esp-at/esp-idf/components/app_update:/home/yyy/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/yyy/.espressif/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin:/home/yyy/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/yyy/.espressif/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin:/home/yyy/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin:/home/yyy/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin:/home/yyy/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/yyy/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/bin:/home/yyy/.espressif/python_env/idf5.0_py3.8_env/bin:/home/yyy/esp-at/esp-idf/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/d/VSCode/Microsoft VS Code/bin:/mnt/d/git/Git/cmd:/mnt/c/Program Files/usbipd-win/:/mnt/d/Mingw_win32_w64/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/bin:/snap/bin IDF_PYTHON_ENV_PATH is /home/yyy/.espressif/python_env/idf5.0_py3.8_env sys.platform is linux Using a supported version of tool cmake found in PATH: 3.16.3. However the recommended version is 3.24.0. export str is PATH is /home/yyy/esp-at/esp-idf/components/esptool_py/esptool:/home/yyy/esp-at/esp-idf/components/espcoredump:/home/yyy/esp-at/esp-idf/components/partition_table:/home/yyy/esp-at/esp-idf/components/app_update:/home/yyy/esp-at/esp-idf/components/esptool_py/esptool:/home/yyy/esp-at/esp-idf/components/espcoredump:/home/yyy/esp-at/esp-idf/components/partition_table:/home/yyy/esp-at/esp-idf/components/app_update:/home/yyy/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/yyy/.espressif/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin:/home/yyy/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/yyy/.espressif/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin:/home/yyy/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin:/home/yyy/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin:/home/yyy/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/yyy/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/bin:/home/yyy/.espressif/python_env/idf5.0_py3.8_env/bin:/home/yyy/esp-at/esp-idf/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/d/VSCode/Microsoft VS Code/bin:/mnt/d/git/Git/cmd:/mnt/c/Program Files/usbipd-win/:/mnt/d/Mingw_win32_w64/x86_64-8.1.0-release-win32-seh-rt_v6-rev0/mingw64/bin:/snap/bin IDF_PYTHON_ENV_PATH is /home/yyy/.espressif/python_env/idf5.0_py3.8_env Executing action: all (aliases: build) Running ninja in directory /home/yyy/esp-at/build Executing "ninja all"... silence:0 sdkconfig:/home/yyy/esp-at/module_config/module_esp32c3_default/sdkconfig.defaults esp-at branch: master esp-at docs version: latest [0/1] Re-running CMake...-- Component directory /home/yyy/esp-at/components/fs_image does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/yyy/esp-at/bootloader_components/include does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/yyy/esp-at/bootloader_components/tools does not contain a CMakeLists.txt file. No component will be added -- Building ESP-IDF components for target esp32c3 Processing 3 dependencies: [3/3] idf (5.0.0)-- Project sdkconfig file /home/yyy/esp-at/sdkconfig Loading defaults file /home/yyy/esp-at/module_config/module_esp32c3_default/sdkconfig.defaults... -- App "esp-at" version: v3.0.0.0-138-gc5af3bc -- Adding linker script /home/yyy/esp-at/build/esp-idf/esp_system/ld/memory.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_system/ld/esp32c3/sections.ld.in -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.version.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.eco3.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/soc/esp32c3/ld/esp32c3.peripherals.ld silence:0, ld core:/home/yyy/esp-at/components/at/lib/libesp32c3_at_core.a Parsing CSV input... Verifying table... -- Components: app_trace app_update at bootloader bootloader_support bt cmock console customized_partitions cxx driver efuse esp-tls esp_adc esp_app_format 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_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressifesp_websocket_client espressifmdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table protobuf-c protocomm pthread riscv sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant -- Component paths: /home/yyy/esp-at/esp-idf/components/app_trace /home/yyy/esp-at/esp-idf/components/app_update /home/yyy/esp-at/components/at /home/yyy/esp-at/esp-idf/components/bootloader /home/yyy/esp-at/esp-idf/components/bootloader_support /home/yyy/esp-at/esp-idf/components/bt /home/yyy/esp-at/esp-idf/components/cmock /home/yyy/esp-at/esp-idf/components/console /home/yyy/esp-at/components/customized_partitions /home/yyy/esp-at/esp-idf/components/cxx /home/yyy/esp-at/esp-idf/components/driver /home/yyy/esp-at/esp-idf/components/efuse /home/yyy/esp-at/esp-idf/components/esp-tls /home/yyy/esp-at/esp-idf/components/esp_adc /home/yyy/esp-at/esp-idf/components/esp_app_format /home/yyy/esp-at/esp-idf/components/esp_common /home/yyy/esp-at/esp-idf/components/esp_eth /home/yyy/esp-at/esp-idf/components/esp_event /home/yyy/esp-at/esp-idf/components/esp_gdbstub /home/yyy/esp-at/esp-idf/components/esp_hid /home/yyy/esp-at/esp-idf/components/esp_http_client /home/yyy/esp-at/esp-idf/components/esp_http_server /home/yyy/esp-at/esp-idf/components/esp_https_ota /home/yyy/esp-at/esp-idf/components/esp_https_server /home/yyy/esp-at/esp-idf/components/esp_hw_support /home/yyy/esp-at/esp-idf/components/esp_lcd /home/yyy/esp-at/esp-idf/components/esp_local_ctrl /home/yyy/esp-at/esp-idf/components/esp_netif /home/yyy/esp-at/esp-idf/components/esp_partition /home/yyy/esp-at/esp-idf/components/esp_phy /home/yyy/esp-at/esp-idf/components/esp_pm /home/yyy/esp-at/esp-idf/components/esp_psram /home/yyy/esp-at/esp-idf/components/esp_ringbuf /home/yyy/esp-at/esp-idf/components/esp_rom /home/yyy/esp-at/esp-idf/components/esp_system /home/yyy/esp-at/esp-idf/components/esp_timer /home/yyy/esp-at/esp-idf/components/esp_wifi /home/yyy/esp-at/esp-idf/components/espcoredump /home/yyy/esp-at/managed_components/espressif__esp_websocket_client /home/yyy/esp-at/managed_components/espressif__mdns /home/yyy/esp-at/esp-idf/components/esptool_py /home/yyy/esp-at/esp-idf/components/fatfs /home/yyy/esp-at/esp-idf/components/freertos /home/yyy/esp-at/esp-idf/components/hal /home/yyy/esp-at/esp-idf/components/heap /home/yyy/esp-at/esp-idf/components/http_parser /home/yyy/esp-at/esp-idf/components/idf_test /home/yyy/esp-at/esp-idf/components/ieee802154 /home/yyy/esp-at/esp-idf/components/json /home/yyy/esp-at/esp-idf/components/log /home/yyy/esp-at/esp-idf/components/lwip /home/yyy/esp-at/main /home/yyy/esp-at/esp-idf/components/mbedtls /home/yyy/esp-at/esp-idf/components/mqtt /home/yyy/esp-at/esp-idf/components/newlib /home/yyy/esp-at/esp-idf/components/nvs_flash /home/yyy/esp-at/esp-idf/components/openthread /home/yyy/esp-at/esp-idf/components/partition_table /home/yyy/esp-at/esp-idf/components/protobuf-c /home/yyy/esp-at/esp-idf/components/protocomm /home/yyy/esp-at/esp-idf/components/pthread /home/yyy/esp-at/esp-idf/components/riscv /home/yyy/esp-at/esp-idf/components/sdmmc /home/yyy/esp-at/esp-idf/components/soc /home/yyy/esp-at/esp-idf/components/spi_flash /home/yyy/esp-at/esp-idf/components/spiffs /home/yyy/esp-at/esp-idf/components/tcp_transport /home/yyy/esp-at/esp-idf/components/ulp /home/yyy/esp-at/esp-idf/components/unity /home/yyy/esp-at/esp-idf/components/usb /home/yyy/esp-at/esp-idf/components/vfs /home/yyy/esp-at/esp-idf/components/wear_levelling /home/yyy/esp-at/esp-idf/components/wifi_provisioning /home/yyy/esp-at/esp-idf/components/wpa_supplicant -- Configuring done -- Generating done -- Build files have been written to: /home/yyy/esp-at/build [4/1138] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
ESP-IDF Partition Table
Name, Type, SubType, Offset, Size, Flags
otadata,data,ota,0xd000,8K, phy_init,data,phy,0xf000,4K, nvs,data,nvs,0x10000,56K, at_customize,64,0,0x1e000,264K, ota_0,app,ota_0,0x60000,1856K, ota_1,app,ota_1,0x230000,1856K,
[5/1138] Running utility command for customized_bin Creating NVS binary with version: V2 - Multipage Blob Support Enabled
Created NVS binary: ===> /home/yyy/esp-at/build/customized_partitions/mfg_nvs.bin [145/1138] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.25.1") mschapv2.c.obj -- Component directory /home/yyy/esp-at/bootloader_components/include does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/yyy/esp-at/bootloader_components/tools does not contain a CMakeLists.txt file. No component will be added -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- The ASM compiler identification is GNU -- Found assembler: /home/yyy/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -- Check for working C compiler: /home/yyy/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -- Check for working C compiler: /home/yyy/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -- 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: /home/yyy/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ -- Check for working CXX compiler: /home/yyy/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ -- 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 esp32c3 -- Project sdkconfig file /home/yyy/esp-at/sdkconfig -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of time_t -- Check size of time_t - done -- Adding linker script /home/yyy/esp-at/esp-idf/components/soc/esp32c3/ld/esp32c3.peripherals.ld -- App "bootloader" version: v5.0-541-g885e501d99-dirty -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.api.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.libgcc.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.newlib.ld -- Adding linker script /home/yyy/esp-at/bootloader_components/esp-xz/ld/esp32c3/linker.lf -- Adding linker script /home/yyy/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32c3/bootloader.ld -- Adding linker script /home/yyy/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32c3/bootloader.rom.ld -- Components: bootloader bootloader_custom_malloc bootloader_support efuse esp-xz esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table riscv soc spi_flash -- Component paths: /home/yyy/esp-at/esp-idf/components/bootloader /home/yyy/esp-at/bootloader_components/bootloader_custom_malloc /home/yyy/esp-at/esp-idf/components/bootloader_support /home/yyy/esp-at/esp-idf/components/efuse /home/yyy/esp-at/bootloader_components/esp-xz /home/yyy/esp-at/esp-idf/components/esp_app_format /home/yyy/esp-at/esp-idf/components/esp_common /home/yyy/esp-at/esp-idf/components/esp_hw_support /home/yyy/esp-at/esp-idf/components/esp_rom /home/yyy/esp-at/esp-idf/components/esp_system /home/yyy/esp-at/esp-idf/components/esptool_py /home/yyy/esp-at/esp-idf/components/freertos /home/yyy/esp-at/esp-idf/components/hal /home/yyy/esp-at/esp-idf/components/log /home/yyy/esp-at/bootloader_components/main /home/yyy/esp-at/esp-idf/components/bootloader/subproject/components/micro-ecc /home/yyy/esp-at/esp-idf/components/newlib /home/yyy/esp-at/esp-idf/components/partition_table /home/yyy/esp-at/esp-idf/components/riscv /home/yyy/esp-at/esp-idf/components/soc /home/yyy/esp-at/esp-idf/components/spi_flash -- Configuring done -- Generating done -- Build files have been written to: /home/yyy/esp-at/build/bootloader [107/108] Generating binary image from built executableesptool.py v4.5.1 Creating esp32c3 image... Merged 1 ELF section Successfully created esp32c3 image. Generated /home/yyy/esp-at/build/bootloader/bootloader.bin [108/108] cd /home/yyy/esp-at/build/bootloader/esp-idf/esp...oader 0x0 /home/yyy/esp-at/build/bootloader/bootloader.binBootloader binary size 0x7600 bytes. 0xa00 bytes (8%) free. [1135/1138] Generating binary image from built executableesptool.py v4.5.1 Creating esp32c3 image... Merged 3 ELF sections Successfully created esp32c3 image. Generated /home/yyy/esp-at/build/esp-at.bin [1136/1138] cd /home/yyy/esp-at/build/esp-idf/esptool_py &...able/partition-table.bin /home/yyy/esp-at/build/esp-at.binesp-at.bin binary size 0x19c4d0 bytes. Smallest app partition is 0x1d0000 bytes. 0x33b30 bytes (11%) free. [1137/1138] Running utility command for ota_imageFAILED: CMakeFiles/ota_image.util cd /home/yyy/esp-at/build && /home/yyy/.espressif/python_env/idf5.0_py3.8_env/bin/python /home/yyy/esp-at/bootloader_components/tools/custom_ota_gen.py -hv v2 -i esp-at.bin && /usr/bin/cmake -E copy_directory custom_ota_binaries compressed_ota_image Traceback (most recent call last): File "/home/yyy/esp-at/bootloader_components/tools/custom_ota_gen.py", line 23, in
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
[1138/1138] Running utility command for factory_bin0x0,bootloader/bootloader.bin
0x60000,esp-at.bin
0x8000,partition_table/partition-table.bin
0xd000,ota_data_initial.bin
0xf000,phy_multiple_init_data.bin
0x1e000,at_customize.bin
0x1f000,customized_partitions/mfg_nvs.bin
Create /home/yyy/esp-at/build/factory/factory_MINI-1.bin for MINI-1 finished
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/yyy/esp-at/build/log/idf_py_stderr_output_22309 and /home/yyy/esp-at/build/log/idf_py_stdout_output_22309
A fatal error occurred: idf.py build failed
yyy@DESKTOP-6TBOMGV:~/esp-at$