You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Development Kit: ESP32-S3-DevKitM-1
IDF version v4.4 stable version
Build System: CMake invoked by vs code extension
Compiler version xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2) 8.4.0
Operating System: Windows 10 Home edition
Using an IDE: vs code with espressif extension
Power Supply: USB
Problem Description
I intend to compile UART event example from the IDF example. When I have created new project in the VScode and UART event example used as template and tried to compile it gives error.
Expected Behavior
Example should compile and RUN
Actual Behavior
It should compile.
Steps to reproduce
Copy code from the git or use IDF uart event template for new project creation.
compile
// If possible, attach a picture of your setup/wiring here.
Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
https://github.com/espressif/esp-idf/tree/master/examples/peripherals/uart/uart_events
// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
* Executing task: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 ..
-- Found Git: C:/Users/admin/esp/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/admin/esp/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/admin/esp/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/admin/esp/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file D:/Projects/Trials/ESP32_S3/UART_S3/UART_trials/sdkconfig
-- Found Python3: C:/Python310/python.exe (found version "3.10.0") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "UART_trials" version: e6f117b-dirty
-- Adding linker script D:/Projects/Trials/ESP32_S3/UART_S3/UART_trials/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib-time.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-tls esp32s3 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 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: C:/Users/admin/esp/esp-idf/components/app_trace C:/Users/admin/esp/esp-idf/components/app_update C:/Users/admin/esp/esp-idf/components/asio C:/Users/admin/esp/esp-idf/components/bootloader C:/Users/admin/esp/esp-idf/components/bootloader_support C:/Users/admin/esp/esp-idf/components/bt C:/Users/admin/esp/esp-idf/components/cbor C:/Users/admin/esp/esp-idf/components/cmock C:/Users/admin/esp/esp-idf/components/coap C:/Users/admin/esp/esp-idf/components/console C:/Users/admin/esp/esp-idf/components/cxx C:/Users/admin/esp/esp-idf/components/driver C:/Users/admin/esp/esp-idf/components/efuse C:/Users/admin/esp/esp-idf/components/esp-tls C:/Users/admin/esp/esp-idf/components/esp32s3 C:/Users/admin/esp/esp-idf/components/esp_adc_cal C:/Users/admin/esp/esp-idf/components/esp_common C:/Users/admin/esp/esp-idf/components/esp_eth C:/Users/admin/esp/esp-idf/components/esp_event C:/Users/admin/esp/esp-idf/components/esp_gdbstub C:/Users/admin/esp/esp-idf/components/esp_hid C:/Users/admin/esp/esp-idf/components/esp_http_client C:/Users/admin/esp/esp-idf/components/esp_http_server C:/Users/admin/esp/esp-idf/components/esp_https_ota C:/Users/admin/esp/esp-idf/components/esp_https_server C:/Users/admin/esp/esp-idf/components/esp_hw_support C:/Users/admin/esp/esp-idf/components/esp_ipc C:/Users/admin/esp/esp-idf/components/esp_lcd C:/Users/admin/esp/esp-idf/components/esp_local_ctrl C:/Users/admin/esp/esp-idf/components/esp_netif C:/Users/admin/esp/esp-idf/components/esp_phy C:/Users/admin/esp/esp-idf/components/esp_pm C:/Users/admin/esp/esp-idf/components/esp_ringbuf C:/Users/admin/esp/esp-idf/components/esp_rom C:/Users/admin/esp/esp-idf/components/esp_serial_slave_link C:/Users/admin/esp/esp-idf/components/esp_system C:/Users/admin/esp/esp-idf/components/esp_timer C:/Users/admin/esp/esp-idf/components/esp_websocket_client C:/Users/admin/esp/esp-idf/components/esp_wifi C:/Users/admin/esp/esp-idf/components/espcoredump C:/Users/admin/esp/esp-idf/components/esptool_py C:/Users/admin/esp/esp-idf/components/expat C:/Users/admin/esp/esp-idf/components/fatfs C:/Users/admin/esp/esp-idf/components/freemodbus C:/Users/admin/esp/esp-idf/components/freertos C:/Users/admin/esp/esp-idf/components/hal C:/Users/admin/esp/esp-idf/components/heap C:/Users/admin/esp/esp-idf/components/idf_test C:/Users/admin/esp/esp-idf/components/ieee802154 C:/Users/admin/esp/esp-idf/components/jsmn
C:/Users/admin/esp/esp-idf/components/json C:/Users/admin/esp/esp-idf/components/libsodium C:/Users/admin/esp/esp-idf/components/log C:/Users/admin/esp/esp-idf/components/lwip D:/Projects/Trials/ESP32_S3/UART_S3/UART_trials/main C:/Users/admin/esp/esp-idf/components/mbedtls C:/Users/admin/esp/esp-idf/components/mdns C:/Users/admin/esp/esp-idf/components/mqtt C:/Users/admin/esp/esp-idf/components/newlib C:/Users/admin/esp/esp-idf/components/nghttp C:/Users/admin/esp/esp-idf/components/nvs_flash C:/Users/admin/esp/esp-idf/components/openssl C:/Users/admin/esp/esp-idf/components/openthread C:/Users/admin/esp/esp-idf/components/partition_table C:/Users/admin/esp/esp-idf/components/perfmon C:/Users/admin/esp/esp-idf/components/protobuf-c C:/Users/admin/esp/esp-idf/components/protocomm C:/Users/admin/esp/esp-idf/components/pthread C:/Users/admin/esp/esp-idf/components/sdmmc C:/Users/admin/esp/esp-idf/components/soc C:/Users/admin/esp/esp-idf/components/spi_flash C:/Users/admin/esp/esp-idf/components/spiffs
C:/Users/admin/esp/esp-idf/components/tcp_transport C:/Users/admin/esp/esp-idf/components/tcpip_adapter C:/Users/admin/esp/esp-idf/components/tinyusb C:/Users/admin/esp/esp-idf/components/ulp C:/Users/admin/esp/esp-idf/components/unity C:/Users/admin/esp/esp-idf/components/usb C:/Users/admin/esp/esp-idf/components/vfs C:/Users/admin/esp/esp-idf/components/wear_levelling C:/Users/admin/esp/esp-idf/components/wifi_provisioning C:/Users/admin/esp/esp-idf/components/wpa_supplicant C:/Users/admin/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Projects/Trials/ESP32_S3/UART_S3/UART_trials/build
* Executing task: ninja
[11/1057] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[281/1057] Building C object esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_uart.c.obj
FAILED: esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_uart.c.obj
C:\Users\admin\esp\.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -Iconfig -IC:/Users/admin/esp/esp-idf/components/vfs/include -IC:/Users/admin/esp/esp-idf/components/vfs/private_include -IC:/Users/admin/esp/esp-idf/components/newlib/platform_include -IC:/Users/admin/esp/esp-idf/components/freertos/include -IC:/Users/admin/esp/esp-idf/components/freertos/include/esp_additions/freertos -IC:/Users/admin/esp/esp-idf/components/freertos/port/xtensa/include -IC:/Users/admin/esp/esp-idf/components/freertos/include/esp_additions -IC:/Users/admin/esp/esp-idf/components/esp_hw_support/include -IC:/Users/admin/esp/esp-idf/components/esp_hw_support/include/soc -IC:/Users/admin/esp/esp-idf/components/esp_hw_support/include/soc/esp32s3 -IC:/Users/admin/esp/esp-idf/components/esp_hw_support/port/esp32s3/. -IC:/Users/admin/esp/esp-idf/components/esp_hw_support/port/esp32s3/private_include -IC:/Users/admin/esp/esp-idf/components/heap/include -IC:/Users/admin/esp/esp-idf/components/log/include -IC:/Users/admin/esp/esp-idf/components/lwip/include/apps -IC:/Users/admin/esp/esp-idf/components/lwip/include/apps/sntp -IC:/Users/admin/esp/esp-idf/components/lwip/lwip/src/include -IC:/Users/admin/esp/esp-idf/components/lwip/port/esp32/include -IC:/Users/admin/esp/esp-idf/components/lwip/port/esp32/include/arch
-IC:/Users/admin/esp/esp-idf/components/soc/include -IC:/Users/admin/esp/esp-idf/components/soc/esp32s3/. -IC:/Users/admin/esp/esp-idf/components/soc/esp32s3/include -IC:/Users/admin/esp/esp-idf/components/hal/esp32s3/include -IC:/Users/admin/esp/esp-idf/components/hal/include -IC:/Users/admin/esp/esp-idf/components/hal/platform_port/include -IC:/Users/admin/esp/esp-idf/components/esp_rom/include -IC:/Users/admin/esp/esp-idf/components/esp_rom/include/esp32s3 -IC:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3 -IC:/Users/admin/esp/esp-idf/components/esp_common/include -IC:/Users/admin/esp/esp-idf/components/esp_system/include -IC:/Users/admin/esp/esp-idf/components/esp_system/port/soc -IC:/Users/admin/esp/esp-idf/components/esp_system/port/public_compat -IC:/Users/admin/esp/esp-idf/components/xtensa/include -IC:/Users/admin/esp/esp-idf/components/xtensa/esp32s3/include -IC:/Users/admin/esp/esp-idf/components/driver/include -IC:/Users/admin/esp/esp-idf/components/driver/esp32s3/include -IC:/Users/admin/esp/esp-idf/components/esp_pm/include -IC:/Users/admin/esp/esp-idf/components/esp_ringbuf/include -IC:/Users/admin/esp/esp-idf/components/efuse/include -IC:/Users/admin/esp/esp-idf/components/efuse/esp32s3/include -IC:/Users/admin/esp/esp-idf/components/esp_wifi/include -IC:/Users/admin/esp/esp-idf/components/esp_event/include -IC:/Users/admin/esp/esp-idf/components/esp_netif/include -IC:/Users/admin/esp/esp-idf/components/esp_eth/include -IC:/Users/admin/esp/esp-idf/components/tcpip_adapter/include -IC:/Users/admin/esp/esp-idf/components/esp_phy/include -IC:/Users/admin/esp/esp-idf/components/esp_phy/esp32s3/include -IC:/Users/admin/esp/esp-idf/components/esp_ipc/include -IC:/Users/admin/esp/esp-idf/components/app_trace/include -IC:/Users/admin/esp/esp-idf/components/esp_timer/include -mlongcalls -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=D:/Projects/Trials/ESP32_S3/UART_S3/UART_trials=. -fmacro-prefix-map=C:/Users/admin/esp/esp-idf=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.1-dirty\" -DESP_PLATFORM
-D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_uart.c.obj -MF esp-idf\vfs\CMakeFiles\__idf_vfs.dir\vfs_uart.c.obj.d -o esp-idf/vfs/CMakeFiles/__idf_vfs.dir/vfs_uart.c.obj -c C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c
In file included from C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:20:
C:/Users/admin/esp/esp-idf/components/driver/include/driver/uart_select.h:23:46: error: unknown type name 'uart_port_t'; did you mean 'uart_dev_t'?
typedef void (*uart_select_notif_callback_t)(uart_port_t uart_num, uart_select_notif_t uart_select_notif, BaseType_t *task_woken);
^~~~~~~~~~~
uart_dev_t
In file included from C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:20:
C:/Users/admin/esp/esp-idf/components/driver/include/driver/uart_select.h:30:37: error: unknown type name 'uart_port_t'; did you mean 'uart_dev_t'?
void uart_set_select_notif_callback(uart_port_t uart_num, uart_select_notif_callback_t uart_select_notif_callback);
^~~~~~~~~~~
uart_dev_t
C:/Users/admin/esp/esp-idf/components/driver/include/driver/uart_select.h:30:59: error: unknown type name 'uart_select_notif_callback_t'; did you mean 'uart_select_notif_t'?
void uart_set_select_notif_callback(uart_port_t uart_num, uart_select_notif_callback_t uart_select_notif_callback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
uart_select_notif_t
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c: In function 'uart_tx_char_via_driver':
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:166:5: error: implicit declaration of function 'uart_write_bytes'; did you mean 'uart_ll_tx_break'? [-Werror=implicit-function-declaration]
uart_write_bytes(fd, &ch, 1);
^~~~~~~~~~~~~~~~
uart_ll_tx_break
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c: In function 'uart_rx_char_via_driver':
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:185:13: error: implicit declaration of function 'uart_read_bytes'; did you mean 'uart_end_select'? [-Werror=implicit-function-declaration]
int n = uart_read_bytes(fd, &c, 1, timeout);
^~~~~~~~~~~~~~~
uart_end_select
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c: In function 'uart_start_select':
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:436:18: error: implicit declaration of function 'uart_is_driver_installed' [-Werror=implicit-function-declaration]
if (!uart_is_driver_installed(i)) {
^~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:464:13: error: implicit declaration of function 'uart_set_select_notif_callback'; did you mean 'select_notif_callback_isr'? [-Werror=implicit-function-declaration]
uart_set_select_notif_callback(i, select_notif_callback_isr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select_notif_callback_isr
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:471:17: error: implicit declaration of function 'uart_get_buffered_data_len' [-Werror=implicit-function-declaration]
if (uart_get_buffered_data_len(i, &buffered_size) == ESP_OK && buffered_size > 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c: In function 'uart_tcsetattr':
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:530:17: error: implicit declaration of function 'uart_wait_tx_done'; did you mean 'uart_ll_is_tx_idle'? [-Werror=implicit-function-declaration] if (uart_wait_tx_done(fd, portMAX_DELAY) != ESP_OK) {
^~~~~~~~~~~~~~~~~
uart_ll_is_tx_idle
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:538:17: error: implicit declaration of function 'uart_flush_input'; did you mean 'uart_fsync'? [-Werror=implicit-function-declaration]
if (uart_flush_input(fd) != ESP_OK) {
^~~~~~~~~~~~~~~~
uart_fsync
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:580:13: error: implicit declaration of function 'uart_set_word_length'; did you mean 'uart_start_select'? [-Werror=implicit-function-declaration]
if (uart_set_word_length(fd, data_bits) != ESP_OK) {
^~~~~~~~~~~~~~~~~~~~
uart_start_select
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:586:9: error: implicit declaration of function 'uart_set_stop_bits'; did you mean 'uart_ll_set_stop_bits'? [-Werror=implicit-function-declaration]
if (uart_set_stop_bits(fd, (p->c_cflag & CSTOPB) ? UART_STOP_BITS_2 : UART_STOP_BITS_1) != ESP_OK) {
^~~~~~~~~~~~~~~~~~
uart_ll_set_stop_bits
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:591:9: error: implicit declaration of function 'uart_set_parity'; did you mean 'uart_ll_set_parity'? [-Werror=implicit-function-declaration]
if (uart_set_parity(fd, (p->c_cflag & PARENB) ?
^~~~~~~~~~~~~~~
uart_ll_set_parity
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:708:17: error: implicit declaration of function 'uart_set_baudrate'; did you mean 'uart_ll_set_baudrate'? [-Werror=implicit-function-declaration]
if (uart_set_baudrate(fd, b) != ESP_OK) {
^~~~~~~~~~~~~~~~~
uart_ll_set_baudrate
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c: In function 'uart_tcgetattr':
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:741:13: error: implicit declaration of function 'uart_get_word_length' [-Werror=implicit-function-declaration]
if (uart_get_word_length(fd, &data_bits) != ESP_OK) {
^~~~~~~~~~~~~~~~~~~~
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:769:13: error: implicit declaration of function 'uart_get_stop_bits'; did you mean 'uart_ll_get_stop_bits'? [-Werror=implicit-function-declaration]
if (uart_get_stop_bits(fd, &stop_bits) != ESP_OK) {
^~~~~~~~~~~~~~~~~~
uart_ll_get_stop_bits
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:790:13: error: implicit declaration of function 'uart_get_parity'; did you mean 'uart_ll_get_parity'? [-Werror=implicit-function-declaration]
if (uart_get_parity(fd, &parity_mode) != ESP_OK) {
^~~~~~~~~~~~~~~
uart_ll_get_parity
C:/Users/admin/esp/esp-idf/components/vfs/vfs_uart.c:813:13: error: implicit declaration of function 'uart_get_baudrate'; did you mean 'uart_ll_get_baudrate'? [-Werror=implicit-function-declaration]
if (uart_get_baudrate(fd, &baudrate) != ESP_OK) {
^~~~~~~~~~~~~~~~~
uart_ll_get_baudrate
cc1.exe: some warnings being treated as errors
[290/1057] Performing configure step for 'bootloader'
-- Found Git: C:/Users/admin/esp/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/admin/esp/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/admin/esp/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/admin/esp/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file D:/Projects/Trials/ESP32_S3/UART_S3/UART_trials/sdkconfig
-- Adding linker script C:/Users/admin/esp/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script C:/Users/admin/esp/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32s3 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: C:/Users/admin/esp/esp-idf/components/bootloader C:/Users/admin/esp/esp-idf/components/bootloader_support C:/Users/admin/esp/esp-idf/components/efuse C:/Users/admin/esp/esp-idf/components/esp32s3 C:/Users/admin/esp/esp-idf/components/esp_common C:/Users/admin/esp/esp-idf/components/esp_hw_support C:/Users/admin/esp/esp-idf/components/esp_rom C:/Users/admin/esp/esp-idf/components/esp_system C:/Users/admin/esp/esp-idf/components/esptool_py C:/Users/admin/esp/esp-idf/components/freertos C:/Users/admin/esp/esp-idf/components/hal C:/Users/admin/esp/esp-idf/components/log C:/Users/admin/esp/esp-idf/components/bootloader/subproject/main C:/Users/admin/esp/esp-idf/components/bootloader/subproject/components/micro-ecc C:/Users/admin/esp/esp-idf/components/newlib
C:/Users/admin/esp/esp-idf/components/partition_table C:/Users/admin/esp/esp-idf/components/soc C:/Users/admin/esp/esp-idf/components/spi_flash C:/Users/admin/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Projects/Trials/ESP32_S3/UART_S3/UART_trials/build/bootloader
ninja: build stopped: subcommand failed.
* The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja " terminated with exit code: 1.
github-actionsbot
changed the title
UART event example does not compile in VScode
UART event example does not compile in VScode (IDFGH-7825)
Jul 14, 2022
github-actionsbot
changed the title
UART event example does not compile in VScode (IDFGH-7825)
UART event example does not compile in VScode (IDFGH-7825) (VSC-1623)
Mar 12, 2025
Your feedback matters! Could you take a moment to rate it on the marketplace? A positive rating helps other developers discover our tools and motivates us to keep improving.
Environment
Development Kit: ESP32-S3-DevKitM-1
IDF version v4.4 stable version
Build System: CMake invoked by vs code extension
Compiler version xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2) 8.4.0
Operating System: Windows 10 Home edition
Using an IDE: vs code with espressif extension
Power Supply: USB
Problem Description
I intend to compile UART event example from the IDF example. When I have created new project in the VScode and UART event example used as template and tried to compile it gives error.
Expected Behavior
Example should compile and RUN
Actual Behavior
Steps to reproduce
// If possible, attach a picture of your setup/wiring here.
Code to reproduce this issue
// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Other items if possible
sdkconfig.txt
build
folder (note this may contain all the code details and symbols of your project.)The text was updated successfully, but these errors were encountered: