Comments (11)
the problem has been solved
from arduino-esp32.
already enable idf component manger in vscode settings
from arduino-esp32.
from arduino-esp32.
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.
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.
IS IT THE GLOBAL COMPONENT FOLDER?
from arduino-esp32.
from arduino-esp32.
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.
Ok, I see, thank you for your attention
from arduino-esp32.
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.
@bihailantian655 - Please let me know if the issue is solved.
from arduino-esp32.
Related Issues (20)
- Unable to upload code after update to 3.0.1 (invalid value '460800' for option 'UploadSpeed') HOT 16
- New timer API usage could lead to log flooding HOT 5
- ESP_I2S Example Error ( Compilation error: 'sr_cmd_t' does not name a type ) HOT 2
- Custom Board: WIFI AND BLE NOT WORKING HOT 4
- error: 'wifi_power_t' does not name a type HOT 3
- Brownout detected since v2.0.10+ HOT 28
- 3.0.x incompatibilities HOT 6
- Brownout Message is not displayed - WiFi ESP32 Reboots with no message HOT 10
- Invalid bool AND operator HOT 1
- Enable Core dump for ESP Arduino Core 3.0.1 HOT 2
- External wake up ext1 problem HOT 8
- Any reason why "esp_sntp_getreachability" and "esp_sntp_getoperatingmode" are not included in 3.0.1? HOT 13
- I2S ADC sample rates are off by a factor of 0.82 HOT 6
- What causes the serial monitor to print HOT 4
- Build is broken when `-DUSE_ESP_IDF_LOG` is used HOT 4
- Support log redirection HOT 5
- ESP::getFlashChipMode crashes on ESP32S3 boards HOT 7
- ESP-SR Basic.ino sketch - Wakeword? Special partition? One microphone or need two? HOT 8
- WIFI HTTP download file speed is slow HOT 13
- HTTPUpdate read Timeout HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-esp32.