Coder Social home page Coder Social logo

Comments (11)

bihailantian655 avatar bihailantian655 commented on July 27, 2024 1

the problem has been solved

from arduino-esp32.

bihailantian655 avatar bihailantian655 commented on July 27, 2024

already enable idf component manger in vscode settings

from arduino-esp32.

bihailantian655 avatar bihailantian655 commented on July 27, 2024

) 96{(L(CCH(JS76_EBBX)L

T UPRQB 2HY91GA@`$}F% M

2V~NQ%NDI045S2R}}KG1N6S

PBBD1L{NQ8_%TSTL_$85H V

from arduino-esp32.

Jason2866 avatar Jason2866 commented on July 27, 2024

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

from arduino-esp32.

bihailantian655 avatar bihailantian655 commented on July 27, 2024

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 .

from arduino-esp32.

bihailantian655 avatar bihailantian655 commented on July 27, 2024

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

IS IT THE GLOBAL COMPONENT FOLDER?

from arduino-esp32.

bihailantian655 avatar bihailantian655 commented on July 27, 2024

K(77GR A}55FG4Y{ `W3K

from arduino-esp32.

Jason2866 avatar Jason2866 commented on July 27, 2024

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)

from arduino-esp32.

bihailantian655 avatar bihailantian655 commented on July 27, 2024

Ok, I see, thank you for your attention

from arduino-esp32.

SuGlider avatar SuGlider commented on July 27, 2024

@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.

from arduino-esp32.

SuGlider avatar SuGlider commented on July 27, 2024

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

from arduino-esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.