ESP-IDF update to 4.0

Sysprogs forums Forums VisualGDB ESP-IDF update to 4.0

This topic contains 7 replies, has 3 voices, and was last updated by  support 4 months, 2 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #27708

    lzambonelli @mexage
    Participant

    Hi,

    i’ve just installed latest version of ESP-IDF (4.0). After installing, i’m not able to compile my project anymore.

    This is the output:

    —— Build started: Project: SimplyConnect, Configuration: Debug VisualGDB ——
    VisualGDB: Run “C:\SysGCC_40\esp32\usr\bin\bash.exe –login -c “export IDF_PATH=/esp-idf/v4.0 && export BATCH_BUILD=1 && export PATH=/mingw32/bin:/usr/bin:$PATH && export -n PYTHONHOME && export LANG=en_US && cd /C/Projects/YYYY/XXXX-ftm/source/fw && make -j8 BUILD_DIR_BASE=’/C/Projects/YYYY/XXXX-ftm/source/fw/Debug’ SDKCONFIG=’/C/Projects/YYYY/XXXX-ftm/source/fw/sdkconfig-debug’ V=0″” in directory “” on local computer
    Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
    Toolchain version: esp-2019r2
    Compiler version: 8.2.0
    Python requirements from C:/SysGCC_40/esp32/esp-idf/v4.0/requirements.txt are satisfied.
    GENCONFIG
    App “SimplyConnect” version: 22ff384-dirty
    CC Debug/app_trace/heap_trace_tohost.o
    CC Debug/app_trace/app_trace.o
    CC Debug/bootloader_support/src/bootloader_random.o
    CXX Debug/asio/asio/asio/src/asio.o
    Python requirements from C:/SysGCC_40/esp32/esp-idf/v4.0/requirements.txt are satisfied.
    CC Debug/coap/libcoap/src/address.o
    CC Debug/bt/controller/bt.o
    CC Debug/app_trace/host_file_io.o
    App “SimplyConnect” version: 22ff384-dirty
    CC Debug/app_update/esp_app_desc.o
    CC Debug/app_update/esp_ota_ops.o
    CC Debug/app_trace/app_trace_util.o
    CC Debug/bootloader_support/src/flash_encrypt.o
    CC Debug/coap/libcoap/src/async.o
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_cfg.o
    CC Debug/coap/libcoap/src/block.o
    AR Debug/app_update/libapp_update.a
    CC Debug/app_trace/gcov/gcov_rtio.o
    CC Debug/console/commands.o
    CC Debug/bootloader_support/src/esp_image_format.o
    CC Debug/coap/libcoap/src/coap_event.o
    CC Debug/coap/libcoap/src/coap_hashkey.o
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_main.o
    AR Debug/console/libconsole.a
    AR Debug/app_trace/libapp_trace.a
    CC Debug/bootloader_support/src/flash_partitions.o
    CXX Debug/cxx/cxx_exception_stubs.o
    CC Debug/driver/rtc_module.o
    CC Debug/bootloader_support/src/bootloader_flash_config.o
    CC Debug/coap/libcoap/src/coap_session.o
    CC Debug/driver/i2c.o
    CC Debug/bootloader_support/src/bootloader_clock.o
    CXX Debug/cxx/cxx_guards.o
    CC Debug/coap/libcoap/src/coap_time.o
    CC Debug/driver/sdmmc_host.o
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_pm.o
    AR Debug/asio/libasio.a
    CC Debug/bootloader_support/src/bootloader_common.o
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_act.o
    CC Debug/efuse/esp32/esp_efuse_table.o
    CC Debug/driver/spi_slave.o
    CC Debug/efuse/src/esp_efuse_fields.o
    CC Debug/bootloader_support/src/bootloader_utility.o
    CC Debug/coap/libcoap/src/coap_debug.o
    AR Debug/cxx/libcxx.a
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_ci.o
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_co.o
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_sco.o
    CC Debug/efuse/src/esp_efuse_utility.o
    CC Debug/driver/can.o
    CC Debug/bootloader_support/src/flash_qio_mode.o
    CC Debug/coap/libcoap/src/encode.o
    CC Debug/bt/host/bluedroid/bta/dm/bta_dm_api.o
    CC Debug/efuse/src/esp_efuse_api.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gatts_utils.o
    CC Debug/bootloader_support/src/bootloader_flash.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gattc_act.o
    CC Debug/driver/sdmmc_transaction.o
    CC Debug/coap/libcoap/src/mem.o
    AR Debug/efuse/libefuse.a
    CC Debug/bootloader_support/src/idf/bootloader_sha.o
    CC Debug/esp-tls/esp_tls.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gattc_ci.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gatts_act.o
    CC Debug/driver/mcpwm.o
    CC Debug/bootloader_support/src/idf/secure_boot_signatures.o
    CC Debug/coap/libcoap/src/net.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gattc_utils.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gatts_co.o
    AR Debug/bootloader_support/libbootloader_support.a
    AR Debug/esp-tls/libesp-tls.a
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gattc_api.o
    CC Debug/esp32/int_wdt.o
    CC Debug/esp_adc_cal/esp_adc_cal.o
    CC Debug/driver/rmt.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gatts_main.o
    CC Debug/coap/libcoap/src/option.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gattc_cache.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gattc_co.o
    CC Debug/esp32/brownout.o
    AR Debug/esp_adc_cal/libesp_adc_cal.a
    CC Debug/esp_common/src/esp_timer.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gatts_api.o
    CC Debug/driver/pcnt.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gatt_common.o
    CC Debug/coap/libcoap/src/pdu.o
    CC Debug/esp32/system_api.o
    CC Debug/bt/host/bluedroid/bta/gatt/bta_gattc_main.o
    CC Debug/esp_common/src/stack_check.o
    CC Debug/driver/timer.o
    CC Debug/bt/host/bluedroid/bta/hh/bta_hh_cfg.o
    CC Debug/bt/host/bluedroid/bta/hh/bta_hh_main.o
    CC Debug/bt/host/bluedroid/bta/hh/bta_hh_act.o
    CC Debug/coap/libcoap/src/resource.o
    CC Debug/esp32/esp_himem.o
    CC Debug/esp_common/src/esp_err_to_name.o
    CC Debug/driver/gpio.o
    CC Debug/bt/host/bluedroid/bta/hh/bta_hh_le.o
    CC Debug/bt/host/bluedroid/bta/hh/bta_hh_utils.o
    CC Debug/bt/host/bluedroid/bta/hh/bta_hh_api.o
    CC Debug/esp32/dport_access.o
    CC Debug/coap/libcoap/src/str.o
    CC Debug/esp_common/src/pm_locks.o
    CC Debug/bt/host/bluedroid/bta/sdp/bta_sdp_api.o
    CC Debug/driver/sdspi_host.o
    CC Debug/bt/host/bluedroid/bta/sdp/bta_sdp_cfg.o
    CC Debug/bt/host/bluedroid/bta/sdp/bta_sdp_act.o
    CC Debug/esp32/hw_random.o
    CC Debug/coap/libcoap/src/subscribe.o
    CC Debug/esp_common/src/ipc.o
    CC Debug/esp32/pm_esp32.o
    CC Debug/driver/uart.o
    CC Debug/bt/host/bluedroid/bta/sdp/bta_sdp.o
    CC Debug/bt/host/bluedroid/bta/av/bta_av_aact.o
    CC Debug/coap/libcoap/src/uri.o
    CC Debug/bt/host/bluedroid/bta/av/bta_av_sbc.o
    CC Debug/esp_common/src/ets_timer_legacy.o
    CC Debug/esp32/reset_reason.o
    CC Debug/bt/host/bluedroid/bta/av/bta_av_main.o
    CC Debug/esp_common/src/freertos_hooks.o
    CC Debug/bt/host/bluedroid/bta/av/bta_av_act.o
    CC Debug/driver/ledc.o
    CC Debug/coap/libcoap/src/coap_notls.o
    CC Debug/bt/host/bluedroid/bta/av/bta_av_ci.o
    CC Debug/esp32/intr_alloc.o
    CC Debug/bt/host/bluedroid/bta/av/bta_av_cfg.o
    CC Debug/esp_eth/src/esp_eth_phy_rtl8201.o
    CC Debug/esp_common/src/dbg_stubs.o
    CC Debug/coap/port/coap_io.o
    CC Debug/driver/periph_ctrl.o
    make[1]: *** No rule to make target ‘/esp-idf/v4.0/components/esp32/ld/esp32.rom.ld’, needed by ‘/C/Projects/YYYY/XXXX-ftm/source/fw/Debug/bootloader/bootloader.elf’. Stop.
    make[1]: *** Waiting for unfinished jobs….
    AR Debug/esp_common/libesp_common.a
    WARNING: Missing submodule components/esp32/lib…
    CC Debug/esp32/cache_err_int.o
    CC Debug/bt/host/bluedroid/bta/av/bta_av_ssm.o
    CC Debug/esp_eth/src/esp_eth_phy_dm9051.o
    Attempting ‘git submodule update –init components/esp32/lib’ in esp-idf root directory…
    CC Debug/bt/host/bluedroid/bta/av/bta_av_api.o
    CC Debug/driver/i2s.o
    CC Debug/esp32/spiram.o
    CC Debug/driver/sdio_slave.o
    AR Debug/coap/libcoap.a
    CC Debug/bt/host/bluedroid/bta/ar/bta_ar.o
    CC Debug/esp_eth/src/esp_eth_phy_dp83848.o
    CC Debug/bt/host/bluedroid/bta/sys/bta_sys_conn.o
    CC Debug/bt/host/bluedroid/bta/sys/utl.o
    CC Debug/esp32/clk.o
    CC Debug/driver/sdspi_transaction.o
    CC Debug/driver/sigmadelta.o
    error: pathspec ‘components/esp32/lib’ did not match any file(s) known to git
    make[1]: *** [/esp-idf/v4.0/make/project.mk:653: /esp-idf/v4.0/components/esp32/lib/.git] Error 1
    make: *** [/C/Projects/YYYY/XXXX-ftm/source/fw/components/bootloader/Makefile.projbuild:41: /C/Projects/YYYY/XXXX-ftm/source/fw/Debug/bootloader/bootloader.bin] Error 2
    make: *** Waiting for unfinished jobs….
    CC Debug/driver/spi_master.o
    CC Debug/esp_eth/src/esp_eth_mac_dm9051.o
    CC Debug/bt/host/bluedroid/bta/sys/bta_sys_main.o
    CC Debug/esp32/spiram_psram.o
    CC Debug/esp32/esp_timer_esp32.o
    CC Debug/bt/host/bluedroid/bta/jv/bta_jv_cfg.o
    CC Debug/driver/spi_common.o
    CC Debug/bt/host/bluedroid/bta/jv/bta_jv_main.o
    CC Debug/bt/host/bluedroid/bta/jv/bta_jv_act.o
    CC Debug/esp_eth/src/esp_eth.o
    CC Debug/esp32/pm_trace.o
    AR Debug/driver/libdriver.a
    CC Debug/bt/host/bluedroid/bta/jv/bta_jv_api.o
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_cmd.o
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_at.o
    CC Debug/esp_eth/src/esp_eth_mac_esp32.o
    CC Debug/esp32/crosscore_int.o
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_main.o
    CC Debug/esp32/cache_sram_mmu.o
    CC Debug/esp_eth/src/esp_eth_phy_ip101.o
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_act.o
    CC Debug/esp_eth/src/esp_eth_phy_lan8720.o
    CC Debug/esp32/cpu_start.o
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_sdp.o
    CC Debug/esp32/sleep_modes.o
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_sco.o
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_api.o
    CC Debug/esp32/task_wdt.o
    AR Debug/esp_eth/libesp_eth.a
    CC Debug/bt/host/bluedroid/bta/hf_client/bta_hf_client_rfc.o
    CC Debug/esp32/esp_adapter.o
    CC Debug/bt/host/bluedroid/device/controller.o
    CC Debug/esp32/panic.o
    CC Debug/bt/host/bluedroid/device/bdaddr.o
    CC Debug/bt/host/bluedroid/device/interop.o
    CC Debug/bt/host/bluedroid/hci/hci_packet_factory.o
    AS Debug/esp32/dport_panic_highint_hdl.o
    CC Debug/bt/host/bluedroid/hci/hci_layer.o
    CC Debug/bt/host/bluedroid/hci/packet_fragmenter.o
    CC Debug/bt/host/bluedroid/hci/hci_packet_parser.o
    AR Debug/esp32/libesp32.a
    CC Debug/bt/host/bluedroid/hci/hci_hal_h4.o
    CC Debug/bt/host/bluedroid/main/bte_init.o
    CC Debug/bt/host/bluedroid/main/bte_main.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/decoder-sbc.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/bitalloc-sbc.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/oi_codec_version.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/framing-sbc.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/synthesis-8-generated.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/decoder-private.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/bitalloc.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/alloc.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/dequant.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/framing.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/synthesis-dct8.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/decoder-oina.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/synthesis-sbc.o
    CC Debug/bt/host/bluedroid/external/sbc/decoder/srce/bitstream-decode.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_encoder.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_dct_coeffs.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_enc_bit_alloc_mono.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_enc_coeffs.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_analysis.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_enc_bit_alloc_ste.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_dct.o
    CC Debug/bt/host/bluedroid/external/sbc/encoder/srce/sbc_packing.o
    CC Debug/bt/host/bluedroid/external/sbc/plc/sbc_plc.o
    CC Debug/bt/host/bluedroid/btc/core/btc_dm.o
    CC Debug/bt/host/bluedroid/btc/core/btc_config.o
    CC Debug/bt/host/bluedroid/btc/core/btc_profile_queue.o
    CC Debug/bt/host/bluedroid/btc/core/btc_sm.o
    CC Debug/bt/host/bluedroid/btc/core/btc_ble_storage.o
    CC Debug/bt/host/bluedroid/btc/core/btc_storage.o
    CC Debug/bt/host/bluedroid/btc/core/btc_dev.o
    CC Debug/bt/host/bluedroid/btc/core/btc_main.o
    CC Debug/bt/host/bluedroid/btc/core/btc_util.o
    CC Debug/bt/host/bluedroid/btc/profile/esp/blufi/blufi_protocol.o
    CC Debug/bt/host/bluedroid/btc/profile/esp/blufi/blufi_prf.o
    CC Debug/bt/host/bluedroid/btc/profile/std/gap/bta_gap_bt_co.o
    CC Debug/bt/host/bluedroid/btc/profile/std/gap/btc_gap_ble.o
    CC Debug/bt/host/bluedroid/btc/profile/std/gap/btc_gap_bt.o
    CC Debug/bt/host/bluedroid/btc/profile/std/gatt/btc_gatt_common.o
    CC Debug/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.o
    CC Debug/bt/host/bluedroid/btc/profile/std/gatt/btc_gatt_util.o
    CC Debug/bt/host/bluedroid/btc/profile/std/gatt/btc_gatts.o
    CC Debug/bt/host/bluedroid/btc/profile/std/a2dp/btc_a2dp_control.o
    CC Debug/bt/host/bluedroid/btc/profile/std/a2dp/btc_av.o
    CC Debug/bt/host/bluedroid/btc/profile/std/a2dp/bta_av_co.o
    CC Debug/bt/host/bluedroid/btc/profile/std/a2dp/btc_a2dp.o
    CC Debug/bt/host/bluedroid/btc/profile/std/a2dp/btc_a2dp_source.o
    CC Debug/bt/host/bluedroid/btc/profile/std/a2dp/btc_a2dp_sink.o
    CC Debug/bt/host/bluedroid/btc/profile/std/avrc/bta_avrc_co.o
    CC Debug/bt/host/bluedroid/btc/profile/std/avrc/btc_avrc.o
    CC Debug/bt/host/bluedroid/btc/profile/std/spp/btc_spp.o
    CC Debug/bt/host/bluedroid/btc/profile/std/hf_client/btc_hf_client.o
    CC Debug/bt/host/bluedroid/btc/profile/std/hf_client/bta_hf_client_co.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_devctl.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_sco.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_addr.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_multi_adv.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_gap.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_bgconn.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_acl.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_privacy.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_dev.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_main.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_inq.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_adv_filter.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_pm.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_sec.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_cont_energy.o
    CC Debug/bt/host/bluedroid/stack/btm/btm_ble_batchscan.o
    CC Debug/bt/host/bluedroid/stack/btu/btu_init.o
    CC Debug/bt/host/bluedroid/stack/btu/btu_task.o
    CC Debug/bt/host/bluedroid/stack/btu/btu_hcif.o
    CC Debug/bt/host/bluedroid/stack/gap/gap_utils.o
    CC Debug/bt/host/bluedroid/stack/gap/gap_api.o
    CC Debug/bt/host/bluedroid/stack/gap/gap_conn.o
    CC Debug/bt/host/bluedroid/stack/gap/gap_ble.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_utils.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_api.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_auth.o
    CC Debug/bt/host/bluedroid/stack/gatt/att_protocol.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_sr.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_main.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_attr.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_cl.o
    CC Debug/bt/host/bluedroid/stack/gatt/gatt_db.o
    CC Debug/bt/host/bluedroid/stack/hcic/hcicmds.o
    CC Debug/bt/host/bluedroid/stack/hcic/hciblecmds.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_api.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_ble.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_link.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_fcr.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_csm.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_ucd.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_main.o
    CC Debug/bt/host/bluedroid/stack/sdp/sdp_api.o
    CC Debug/bt/host/bluedroid/stack/l2cap/l2c_utils.o
    CC Debug/bt/host/bluedroid/stack/sdp/sdp_server.o
    CC Debug/bt/host/bluedroid/stack/sdp/sdp_main.o
    CC Debug/bt/host/bluedroid/stack/sdp/sdp_discovery.o
    CC Debug/bt/host/bluedroid/stack/sdp/sdp_db.o
    CC Debug/bt/host/bluedroid/stack/sdp/sdp_utils.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_l2c.o
    CC Debug/bt/host/bluedroid/stack/smp/p_256_multprecision.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_cmac.o
    CC Debug/bt/host/bluedroid/stack/smp/aes.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_br_main.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_keys.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_act.o
    CC Debug/bt/host/bluedroid/stack/smp/p_256_ecc_pp.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_utils.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_api.o
    CC Debug/bt/host/bluedroid/stack/smp/p_256_curvepara.o
    CC Debug/bt/host/bluedroid/stack/smp/smp_main.o
    CC Debug/bt/host/bluedroid/stack/avct/avct_ccb.o
    CC Debug/bt/host/bluedroid/stack/avct/avct_api.o
    CC Debug/bt/host/bluedroid/stack/avct/avct_l2c.o
    CC Debug/bt/host/bluedroid/stack/avct/avct_lcb_act.o
    CC Debug/bt/host/bluedroid/stack/avct/avct_lcb.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_sdp.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_utils.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_api.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_bld_tg.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_pars_tg.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_bld_ct.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_opt.o
    CC Debug/bt/host/bluedroid/stack/avrc/avrc_pars_ct.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_scb_act.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_ad.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_msg.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_scb.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_ccb_act.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_ccb.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_api.o
    CC Debug/bt/host/bluedroid/stack/avdt/avdt_l2c.o
    CC Debug/bt/host/bluedroid/stack/a2dp/a2d_api.o
    CC Debug/bt/host/bluedroid/stack/a2dp/a2d_sbc.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/rfc_utils.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/rfc_ts_frames.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/rfc_l2cap_if.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/port_utils.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/port_api.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/port_rfc.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/rfc_mx_fsm.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/rfc_port_fsm.o
    CC Debug/bt/host/bluedroid/stack/rfcomm/rfc_port_if.o
    CC Debug/bt/host/bluedroid/api/esp_hf_client_api.o
    CC Debug/bt/host/bluedroid/api/esp_gatt_common_api.o
    CC Debug/bt/host/bluedroid/api/esp_gatts_api.o
    CC Debug/bt/host/bluedroid/api/esp_gap_ble_api.o
    CC Debug/bt/host/bluedroid/api/esp_blufi_api.o
    CC Debug/bt/host/bluedroid/api/esp_gattc_api.o
    CC Debug/bt/host/bluedroid/api/esp_a2dp_api.o
    CC Debug/bt/host/bluedroid/api/esp_gap_bt_api.o
    CC Debug/bt/host/bluedroid/api/esp_bt_device.o
    CC Debug/bt/host/bluedroid/api/esp_bt_main.o
    CC Debug/bt/host/bluedroid/api/esp_spp_api.o
    CC Debug/bt/host/bluedroid/api/esp_avrc_api.o
    CC Debug/bt/common/osi/allocator.o
    CC Debug/bt/common/osi/thread.o
    CC Debug/bt/common/osi/buffer.o
    CC Debug/bt/common/osi/alarm.o
    CC Debug/bt/common/osi/osi.o
    CC Debug/bt/common/osi/mutex.o
    CC Debug/bt/common/osi/list.o
    CC Debug/bt/common/osi/config.o
    CC Debug/bt/common/osi/fixed_queue.o
    CC Debug/bt/common/osi/hash_map.o
    CC Debug/bt/common/osi/semaphore.o
    CC Debug/bt/common/osi/future.o
    CC Debug/bt/common/btc/core/btc_manage.o
    CC Debug/bt/common/btc/core/btc_alarm.o
    CC Debug/bt/common/btc/core/btc_task.o
    AR Debug/bt/libbt.a
    ————————————————————-
    Command exited with code 2
    Executable: C:\SysGCC_40\esp32\usr\bin\bash.exe
    Arguments: –login -c “export IDF_PATH=/esp-idf/v4.0 && export BATCH_BUILD=1 && export PATH=/mingw32/bin:/usr/bin:$PATH && export -n PYTHONHOME && export LANG=en_US && cd /C/Projects/YYYY/XXXX-ftm/source/fw && make -j8 BUILD_DIR_BASE=’/C/Projects/YYYY/XXXX-ftm/source/fw/Debug’ SDKCONFIG=’/C/Projects/YYYY/XXXX-ftm/source/fw/sdkconfig-debug’ V=0”
    Directory:
    VisualGDB: Error: Command-line action failed
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

     

    Do you have any suggestion?

    Thanks in advance

     

    Leonardo

     

    #27709

    support
    Keymaster

    Hi,

    Please refer to the following page: https://visualgdb.com/support/idfcheckout/

    #27710

    lzambonelli @mexage
    Participant

    Thanks for the advice,

    i’ve already installed the new toolchain. After reading some old documents i found a first solution: remove the built-in component for bootloader because i use my own one. But now i have this problem:

    Severity Code Description Project File Line Suppression State
    Error [Clang IntelliSense] Error: use of undeclared identifier ‘CONFIG_BOOTLOADER_LOG_LEVEL’ SimplyConnect

    ESP_LOGI(TAG, “MY FTM BOOTLOADER”);

     

    ESP_LOGI is red underlined

    #27711

    support
    Keymaster

    Sorry, this looks like an issue of a specific ESP-IDF version and not something specific to VisualGDB. Please try building the project manually per ESP-IDF documentation and check if the problem persists.

    If the project can be built outside VisualGDB, but doesn’t build with VisualGDB using the same toolchain/ESP-IDF/settings, we can help you configure VisualGDB to replicate the manual build results.

    #27712

    lzambonelli @mexage
    Participant

    It’s the toolchain within your package that gives me the problem.

    Running outside VS and Visualgdb, just runnin make command, this is the error:

    Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
    Toolchain version: esp-2019r2
    Compiler version: 8.2.0
    Python requirements from C:/SysGCC_40/esp32/esp-idf/v4.0/requirements.txt are satisfied.
    WARNING: Missing submodule components/esp32/lib…
    Attempting ‘git submodule update –init components/esp32/lib’ in esp-idf root directory…
    error: pathspec ‘components/esp32/lib’ did not match any file(s) known to git
    make[1]: *** [/esp-idf/v4.0/make/project.mk:653: /esp-idf/v4.0/components/esp32/lib/.git] Error 1
    make: *** [/C/Projects/xxx/yyy-ftm/source/fw/components/bootloader/Makefile.projbuild:41: /C/Projects/xxx/yyy-ftm/source/fw/build/bootloader/bootloader.bin] Error 2

     

    #27713

    support
    Keymaster

    It looks like your support period has expired. Please renew it here: https://sysprogs.com/splm/mykey

    #28014

    JN
    Participant

    Same question follows. How does one upgrade their projects from the old ESP-IDF(V3.3)+Toolchain(5.2.0)  to the latest ESP-IDF(V4.0) + Toolchain(8.2.0)?

    Doesn’t seem straightforward and am struggling migrating this.

    #28015

    support
    Keymaster

    Hi,

    Based on our experience, upgrading the project to a newer ESP-IDF release might be a non-trivial task, since different ESP-IDF versions are not 100% backward-compatible.

    Our best advice would be to read the release notes and check how similar code examples changed between different versions.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.