Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arduino as component failed #8000

Closed
1 task done
bihailantian655 opened this issue Mar 28, 2023 · 11 comments
Closed
1 task done

arduino as component failed #8000

bihailantian655 opened this issue Mar 28, 2023 · 11 comments
Assignees
Labels
Area: Arduino as ESP-IDF component Issues about Arduino used as component in ESP-IDF Type: Question Only question

Comments

@bihailantian655
Copy link

bihailantian655 commented Mar 28, 2023

Board

ESP32 SOLO

Device Description

esp32 solo

Hardware Configuration

none

Version

v2.0.7

IDE Name

vscode

Operating System

win11

Flash frequency

40

PSRAM enabled

no

Upload speed

115200

Description

can not build the project .

Sketch

vscode idf  start  a  new project 

and did not  Add ESP-IDF Component directory.

just choose template app .  

then   idf.py add-dependency "espressif/arduino-esp32^2.0.7"
 (https://components.espressif.com/components/espressif/arduino-esp32)

idf.py  menuconfig  enable  arduino   and  change the  tick rate to 1000hz


#include " Arduino.h"

void setup()
{

}
void loop()
{
	
}

Debug Message

[{
	"resource": "/E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/tools/cmake/build.cmake",
	"owner": "cmake-configure-diags",
	"severity": 4,
	"message": "CMake Warning at E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/tools/cmake/build.cmake:482 (message):\"idf_component.yml\" 





file was found for components:\n\n\t

E:/COMPILE/solo-idf-arduino/main\n\n




However, the component manager is not enabled.",





	"source": "CMake (message)",
	"startLineNumber": 482,
	"startColumn": 1,
	"endLineNumber": 482,
	"endColumn": 10000,
	"relatedInformation": [
		{
			"startLineNumber": 378,
			"startColumn": 1,
			"endLineNumber": 378,
			"endColumn": 1000,
			"message": "In call to 'idf_build_process' here",
			"resource": "/E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/tools/cmake/project.cmake"
		},
		{
			"startLineNumber": 8,
			"startColumn": 1,
			"endLineNumber": 8,
			"endColumn": 1000,
			"message": "In call to 'project' here",
			"resource": "/E:/COMPILE/solo-idf-arduino/CMakeLists.txt"
		}
	]
}]











////////////////////////////////////////////////////////////


[0/1] Re-running CMake...
-- ccache will be used for faster recompilation
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
Processing 2 dependencies:
[1/2] espressif/arduino-esp32 (2.0.7)
[2/2] idf (4.4.0)
-- Project sdkconfig file E:/COMPILE/solo-idf-arduino/sdkconfig
-- Could NOT find Perl (missing: PERL_EXECUTABLE) 
-- App "solo-idf-arduino" version: 1
-- Adding linker script E:/COMPILE/solo-idf-arduino/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump espressif__arduino-esp32 esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/app_trace E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/app_update E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/asio E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader_support E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bt E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/cbor E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/cmock E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/coap E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/console E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/cxx E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/driver E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/efuse E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp-tls E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp32 E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_adc_cal E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_common E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_eth E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_event E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_gdbstub E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hid E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_http_client E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_http_server E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_https_ota E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_https_server E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_ipc E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_lcd E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_local_ctrl E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_netif E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_phy E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_pm E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_ringbuf E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_serial_slave_link E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_timer E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_websocket_client E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_wifi E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/espcoredump E:/COMPILE/solo-idf-arduino/managed_components/espressif__arduino-esp32 E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esptool_py E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/expat E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/fatfs E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freemodbus E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/heap E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/idf_test E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/ieee802154 E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/jsmn E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/json E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/libsodium E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/log E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip E:/COMPILE/solo-idf-arduino/main E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mbedtls E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mdns E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mqtt E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/newlib E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nghttp E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nvs_flash E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/openssl E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/openthread E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/partition_table E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/perfmon E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protobuf-c E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protocomm E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/pthread E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/sdmmc E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/spi_flash E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/spiffs E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/tcp_transport E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/tcpip_adapter E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/tinyusb E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/ulp E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/unity E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/usb E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/vfs E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wear_levelling E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wifi_provisioning E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wpa_supplicant E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: E:/COMPILE/solo-idf-arduino/build
[317/1095] Performing build step for 'bootloader'
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file E:/COMPILE/solo-idf-arduino/sdkconfig
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader_support E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/efuse E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp32 E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_common E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esptool_py E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/log E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader/subproject/main E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader/subproject/components/micro-ecc E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/newlib E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/partition_table E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/spi_flash E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: E:/COMPILE/solo-idf-arduino/build/bootloader
[1/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[2/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[3/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/timer_periph.c.obj
[4/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[5/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sigmadelta_periph.c.obj
[6/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[7/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[8/89] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj
[9/89] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj
[10/89] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/cpu_hal.c.obj
[11/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/soc_include_legacy_warn.c.obj
[12/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[13/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[14/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[15/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj
[16/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/pcnt_periph.c.obj
[17/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/lcd_periph.c.obj
[18/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[19/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[20/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[21/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[22/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/mcpwm_periph.c.obj
[23/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rmt_periph.c.obj
[24/89] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[25/89] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[26/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[27/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj
[28/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[29/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj
[30/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj
[31/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[32/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[33/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[34/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32.c.obj
[35/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[36/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj
[37/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[38/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[39/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj
[40/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[41/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[42/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj
[43/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/compare_set.c.obj
[44/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[45/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[46/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj
[47/89] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[48/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj
[49/89] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_utility.c.obj
[50/89] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_fields.c.obj
[51/89] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[52/89] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[53/89] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[54/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_wdt.c.obj
[55/89] Building C object esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj
[56/89] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj
[57/89] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api_key_esp32.c.obj
[58/89] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[59/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_pm.c.obj
[60/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk_init.c.obj
[61/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_init.c.obj
[62/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_time.c.obj
[63/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_sleep.c.obj
[64/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu_util.c.obj
[65/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/chip_info.c.obj
[66/89] Building C object esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32/rtc_clk.c.obj
[67/89] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj
[68/89] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[69/89] Building C object esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj
[70/89] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj 
[71/89] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[72/89] Building C object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_uart.c.obj
[73/89] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[74/89] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[75/89] Linking C static library esp-idf\log\liblog.a
[76/89] Linking C static library esp-idf\esp_rom\libesp_rom.a
[77/89] Linking C static library esp-idf\esp_common\libesp_common.a      
[78/89] Linking C static library esp-idf\xtensa\libxtensa.a
[79/89] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a
[80/89] Linking C static library esp-idf\esp_system\libesp_system.a      
[81/89] Linking C static library esp-idf\efuse\libefuse.a
[82/89] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[83/89] Linking C static library esp-idf\spi_flash\libspi_flash.a        
[84/89] Linking C static library esp-idf\soc\libsoc.a
[85/89] Linking C static library esp-idf\hal\libhal.a
[86/89] Linking C static library esp-idf\main\libmain.a
[87/89] Linking C executable bootloader.elf
[88/89] Generating binary image from built executable
esptool.py v3.2-dev
Merged 1 ELF section
Generated E:/COMPILE/solo-idf-arduino/build/bootloader/bootloader.bin    
[89/89] cmd.exe /C "cd /D E:\COMPILE\solo-idf-arduino\build\bootloader\esp-idf\esptool_py && C:\Users\home\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 E:/COMPILE/solo-idf-arduino/build/bootloader/bootloader.bin"
Bootloader binary size 0x61f0 bytes. 0xe10 bytes (13%) free.
[972/1093] Building C object esp-id...ir/cores/esp32/esp32-hal-uart.c.obj
FAILED: esp-idf/espressif__arduino-esp32/CMakeFiles/__idf_espressif__arduino-esp32.dir/cores/esp32/esp32-hal-uart.c.obj
ccache C:\Users\home\.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I../managed_components/espressif__arduino-esp32/variants/esp32 -I../managed_components/espressif__arduino-esp32/cores/esp32 -I../managed_components/espressif__arduino-esp32/libraries/ArduinoOTA/src -I../managed_components/espressif__arduino-esp32/libraries/AsyncUDP/src -I../managed_components/espressif__arduino-esp32/libraries/BLE/src -I../managed_components/espressif__arduino-esp32/libraries/BluetoothSerial/src -I../managed_components/espressif__arduino-esp32/libraries/DNSServer/src -I../managed_components/espressif__arduino-esp32/libraries/EEPROM/src -I../managed_components/espressif__arduino-esp32/libraries/ESP32/src -I../managed_components/espressif__arduino-esp32/libraries/ESPmDNS/src -I../managed_components/espressif__arduino-esp32/libraries/Ethernet/src -I../managed_components/espressif__arduino-esp32/libraries/FFat/src -I../managed_components/espressif__arduino-esp32/libraries/FS/src -I../managed_components/espressif__arduino-esp32/libraries/HTTPClient/src -I../managed_components/espressif__arduino-esp32/libraries/HTTPUpdate/src -I../managed_components/espressif__arduino-esp32/libraries/LittleFS/src -I../managed_components/espressif__arduino-esp32/libraries/Insights/src -I../managed_components/espressif__arduino-esp32/libraries/I2S/src -I../managed_components/espressif__arduino-esp32/libraries/NetBIOS/src -I../managed_components/espressif__arduino-esp32/libraries/Preferences/src -I../managed_components/espressif__arduino-esp32/libraries/RainMaker/src -I../managed_components/espressif__arduino-esp32/libraries/SD_MMC/src -I../managed_components/espressif__arduino-esp32/libraries/SD/src -I../managed_components/espressif__arduino-esp32/libraries/SimpleBLE/src -I../managed_components/espressif__arduino-esp32/libraries/SPIFFS/src -I../managed_components/espressif__arduino-esp32/libraries/SPI/src -I../managed_components/espressif__arduino-esp32/libraries/Ticker/src -I../managed_components/espressif__arduino-esp32/libraries/Update/src -I../managed_components/espressif__arduino-esp32/libraries/USB/src -I../managed_components/espressif__arduino-esp32/libraries/WebServer/src -I../managed_components/espressif__arduino-esp32/libraries/WiFiClientSecure/src -I../managed_components/espressif__arduino-esp32/libraries/WiFi/src -I../managed_components/espressif__arduino-esp32/libraries/WiFiProv/src -I../managed_components/espressif__arduino-esp32/libraries/Wire/src -I../managed_components/espressif__arduino-esp32/cores/esp32/libb64 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/newlib/platform_include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/include/esp_additions/freertos -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/port/xtensa/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/include/esp_additions -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/include/soc -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/include/soc/esp32 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/port/esp32/. -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/heap/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/log/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/include/apps -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/include/apps/sntp -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/lwip/src/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/port/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/port/esp32/include/arch -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/esp32/. -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal/platform_port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/include/esp32 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_common/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system/port/soc -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system/port/public_compat -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/xtensa/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/xtensa/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/driver/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/driver/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_pm/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_ringbuf/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/efuse/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/efuse/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/vfs/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_wifi/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_event/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_netif/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_eth/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/tcpip_adapter/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_phy/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_phy/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_ipc/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/app_trace/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_timer/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/spi_flash/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mbedtls/port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mbedtls/mbedtls/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mbedtls/esp_crt_bundle/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mdns/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/console -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_adc_cal/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wifi_provisioning/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protocomm/include/common -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protocomm/include/security -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protocomm/include/transports -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nvs_flash/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nghttp/port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nghttp/nghttp2/lib/includes -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wpa_supplicant/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wpa_supplicant/port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wpa_supplicant/esp_supplicant/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/fatfs/diskio -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/fatfs/vfs -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/fatfs/src -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wear_levelling/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/sdmmc/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/app_update/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader_support/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/spiffs/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/openssl/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hid/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_https_ota/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_http_client/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fmacro-prefix-map=E:/COMPILE/solo-idf-arduino=. -fmacro-prefix-map=E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -DARDUINO=10812 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD=\"ESP32_DEV\" -DARDUINO_VARIANT=\"esp32\" -DESP32 -MD -MT esp-idf/espressif__arduino-esp32/CMakeFiles/__idf_espressif__arduino-esp32.dir/cores/esp32/esp32-hal-uart.c.obj -MF esp-idf\espressif__arduino-esp32\CMakeFiles\__idf_espressif__arduino-esp32.dir\cores\esp32\esp32-hal-uart.c.obj.d -o esp-idf/espressif__arduino-esp32/CMakeFiles/__idf_espressif__arduino-esp32.dir/cores/esp32/esp32-hal-uart.c.obj -c ../managed_components/espressif__arduino-esp32/cores/esp32/esp32-hal-uart.c
../managed_components/espressif__arduino-esp32/cores/esp32/esp32-hal-uart.c: In function 'uartAvailableForWrite':
../managed_components/espressif__arduino-esp32/cores/esp32/esp32-hal-uart.c:329:19: error: implicit declaration of function 'uart_get_tx_buffer_free_size'; did you mean 'uart_get_buffered_data_len'? [-Werror=implicit-function-declaration]
     if (ESP_OK == uart_get_tx_buffer_free_size(uart->num, &txRingBufferAvailable)) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   uart_get_buffered_data_len
cc1.exe: some warnings being treated as errors
[985/1093] Building CXX object esp-...ir/cores/esp32/StreamString.cpp.obj
ninja: build stopped: subcommand failed.

 *  终端进程“C:\Windows\System32\cmd.exe /d /c ninja ”已终止,退出代码: 1。

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@bihailantian655 bihailantian655 added the Status: Awaiting triage Issue is waiting for triage label Mar 28, 2023
@bihailantian655
Copy link
Author

already enable idf component manger in vscode settings

@bihailantian655
Copy link
Author

bihailantian655 commented Mar 28, 2023

) 96{(L(CCH(JS76_EBBX)L

T UPRQB 2HY91GA@`$}F% M

2V~NQ%NDI045S2R}}KG1N6S

PBBD1L{NQ8_%TSTL_$85H V

@Jason2866
Copy link
Collaborator

Jason2866 commented Mar 28, 2023

This is NOT an Arduino issue. The Platformio workflow you try to use is not correct.
An explanation how to do is mentioned here platformio/platform-espressif32#1031

@bihailantian655
Copy link
Author

bihailantian655 commented Mar 28, 2023

I did not use platform io . IT IS IDF plugins in vscode .

Because I don't know how to configure the menuconfig for Microcontroller in platformio. there are just one core in esp32 solo。

i did not see any bord for esp32 solo in platform io .

@bihailantian655
Copy link
Author

WHZ 97K1AKA@KXY%9PQD0 3
74_~F3}T_2QWKJMU{BE5E30

IS IT THE GLOBAL COMPONENT FOLDER?

@bihailantian655
Copy link
Author

K(77GR A}55FG4Y{ `W3K

@Jason2866
Copy link
Collaborator

This question should be asked at https://github.com/espressif/vscode-esp-idf-extension
Since Arduino as Component compiles without any issues (seen here https://github.com/espressif/esp32-arduino-lib-builder) it is not related to Arduino or IDF. I use the Arduino Lib Builder to compile an Arduino Solo1 framework (https://github.com/jason2866/esp32-arduino-lib-builder/tree/solo1)

@bihailantian655
Copy link
Author

Ok, I see, thank you for your attention

@mrengineer7777 mrengineer7777 added Type: Question Only question Area: Arduino as ESP-IDF component Issues about Arduino used as component in ESP-IDF and removed Status: Awaiting triage Issue is waiting for triage labels Mar 29, 2023
@SuGlider SuGlider self-assigned this Mar 30, 2023
@SuGlider
Copy link
Collaborator

@bihailantian655 -

FAILED: esp-idf/espressif__arduino-esp32/CMakeFiles/__idf_espressif__arduino-esp32.dir/cores/esp32/esp32-hal-uart.c.obj
ccache C:\Users\home\.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -I../managed_components/espressif__arduino-esp32/variants/esp32 -I../managed_components/espressif__arduino-esp32/cores/esp32 -I../managed_components/espressif__arduino-esp32/libraries/ArduinoOTA/src -I../managed_components/espressif__arduino-esp32/libraries/AsyncUDP/src -I../managed_components/espressif__arduino-esp32/libraries/BLE/src -I../managed_components/espressif__arduino-esp32/libraries/BluetoothSerial/src -I../managed_components/espressif__arduino-esp32/libraries/DNSServer/src -I../managed_components/espressif__arduino-esp32/libraries/EEPROM/src -I../managed_components/espressif__arduino-esp32/libraries/ESP32/src -I../managed_components/espressif__arduino-esp32/libraries/ESPmDNS/src -I../managed_components/espressif__arduino-esp32/libraries/Ethernet/src -I../managed_components/espressif__arduino-esp32/libraries/FFat/src -I../managed_components/espressif__arduino-esp32/libraries/FS/src -I../managed_components/espressif__arduino-esp32/libraries/HTTPClient/src -I../managed_components/espressif__arduino-esp32/libraries/HTTPUpdate/src -I../managed_components/espressif__arduino-esp32/libraries/LittleFS/src -I../managed_components/espressif__arduino-esp32/libraries/Insights/src -I../managed_components/espressif__arduino-esp32/libraries/I2S/src -I../managed_components/espressif__arduino-esp32/libraries/NetBIOS/src -I../managed_components/espressif__arduino-esp32/libraries/Preferences/src -I../managed_components/espressif__arduino-esp32/libraries/RainMaker/src -I../managed_components/espressif__arduino-esp32/libraries/SD_MMC/src -I../managed_components/espressif__arduino-esp32/libraries/SD/src -I../managed_components/espressif__arduino-esp32/libraries/SimpleBLE/src -I../managed_components/espressif__arduino-esp32/libraries/SPIFFS/src -I../managed_components/espressif__arduino-esp32/libraries/SPI/src -I../managed_components/espressif__arduino-esp32/libraries/Ticker/src -I../managed_components/espressif__arduino-esp32/libraries/Update/src -I../managed_components/espressif__arduino-esp32/libraries/USB/src -I../managed_components/espressif__arduino-esp32/libraries/WebServer/src -I../managed_components/espressif__arduino-esp32/libraries/WiFiClientSecure/src -I../managed_components/espressif__arduino-esp32/libraries/WiFi/src -I../managed_components/espressif__arduino-esp32/libraries/WiFiProv/src -I../managed_components/espressif__arduino-esp32/libraries/Wire/src -I../managed_components/espressif__arduino-esp32/cores/esp32/libb64 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/newlib/platform_include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/include/esp_additions/freertos -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/port/xtensa/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/freertos/include/esp_additions -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/include/soc -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/include/soc/esp32 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hw_support/port/esp32/. -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/heap/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/log/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/include/apps -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/include/apps/sntp -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/lwip/src/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/port/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/lwip/port/esp32/include/arch -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/esp32/. -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/soc/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/hal/platform_port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/include/esp32 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_rom/esp32 -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_common/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system/port/soc -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_system/port/public_compat -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/xtensa/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/xtensa/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/driver/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/driver/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_pm/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_ringbuf/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/efuse/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/efuse/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/vfs/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_wifi/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_event/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_netif/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_eth/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/tcpip_adapter/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_phy/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_phy/esp32/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_ipc/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/app_trace/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_timer/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/spi_flash/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mbedtls/port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mbedtls/mbedtls/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mbedtls/esp_crt_bundle/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/mdns/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/console -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_adc_cal/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wifi_provisioning/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protocomm/include/common -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protocomm/include/security -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/protocomm/include/transports -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nvs_flash/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nghttp/port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/nghttp/nghttp2/lib/includes -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wpa_supplicant/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wpa_supplicant/port/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wpa_supplicant/esp_supplicant/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/fatfs/diskio -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/fatfs/vfs -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/fatfs/src -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/wear_levelling/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/sdmmc/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/app_update/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/bootloader_support/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/spiffs/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/openssl/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_hid/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_https_ota/include -IE:/COMPILE/Othert/IDF4.4/esp-idf-v4.4/components/esp_http_client/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fmacro-prefix-map=E:/COMPILE/solo-idf-arduino=. -fmacro-prefix-map=E:/COMPILE/Othert/IDF4.4/esp-idf-v4.4=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -DARDUINO=10812 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD=\"ESP32_DEV\" -DARDUINO_VARIANT=\"esp32\" -DESP32 -MD -MT esp-idf/espressif__arduino-esp32/CMakeFiles/__idf_espressif__arduino-esp32.dir/cores/esp32/esp32-hal-uart.c.obj -MF esp-idf\espressif__arduino-esp32\CMakeFiles\__idf_espressif__arduino-esp32.dir\cores\esp32\esp32-hal-uart.c.obj.d -o esp-idf/espressif__arduino-esp32/CMakeFiles/__idf_espressif__arduino-esp32.dir/cores/esp32/esp32-hal-uart.c.obj -c ../managed_components/espressif__arduino-esp32/cores/esp32/esp32-hal-uart.c
../managed_components/espressif__arduino-esp32/cores/esp32/esp32-hal-uart.c: In function 'uartAvailableForWrite':
../managed_components/espressif__arduino-esp32/cores/esp32/esp32-hal-uart.c:329:19: error: implicit declaration of function 'uart_get_tx_buffer_free_size'; did you mean 'uart_get_buffered_data_len'? [-Werror=implicit-function-declaration]
     if (ESP_OK == uart_get_tx_buffer_free_size(uart->num, &txRingBufferAvailable)) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   uart_get_buffered_data_len
cc1.exe: some warnings being treated as errors

The error message with uart_get_tx_buffer_free_size() suggests that the IDF 4.4 version that your project is using is not updated.

The function uart_get_tx_buffer_free_size() was added in July of 2022 to IDF 4.4 and it was added to Arduino in the PR #6998
IDF PR that added it: espressif/esp-idf@f4d33d2

To solve it you must pull the lastest version of the IDF 4.4 branch to your local IDF folder.

@SuGlider
Copy link
Collaborator

@bihailantian655 - Please let me know if the issue is solved.

@bihailantian655
Copy link
Author

the problem has been solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Arduino as ESP-IDF component Issues about Arduino used as component in ESP-IDF Type: Question Only question
Projects
None yet
Development

No branches or pull requests

4 participants