Purchased this board: https://github.com/espressif/esp-thread ... -board.png
Building on Raspberry Pi 4.
ESP-IDF version : esp-idf-v5.0.3
Performed the following steps:
cd $IDF_PATH/examples/openthread/ot-rcp
idf.py --preview set-target esp32h2
idf.py menuconfig
idf.py build
Build completed without any errors.
Now,
downloaded the esp-thread-br sdk
git clone --recursive https://github.com/espressif/esp-thread-br.git
cd esp-thread-br/examples/basic_thread_border_router
idf.py menuconfig (Updated the wifi SSID and PASSWORD)
idf.py build
The build resulted in the below errors. Kindly help pointing me to the correct code where i can get my hardware flashed and up and running.
[Codebox]
~/esp/esp-thread-br/examples/basic_thread_border_router$ idf.py build
/home/pi/esp/esp-idf-v5.0.3/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Executing action: all (aliases: build)
Running cmake in directory /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=1 /home/pi/esp/esp-thread-br/examples/basic_thread_border_router"...
-- Found Git: /usr/bin/git (found version "2.34.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc - 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: /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Processing 5 dependencies:
[1/5] espressif/esp-serial-flasher (0.0.11)
[2/5] espressif/esp_ot_cli_extension (0.3.2)
[3/5] espressif/esp_rcp_update (0.3.1)
[4/5] espressif/mdns (1.2.0)
[5/5] idf (5.0.3)
-- Project sdkconfig file /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/sdkconfig
Loading defaults file /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/sdkconfig.defaults...
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: /home/pi/.espressif/python_env/idf5.0_py3.10_env/bin/python (found version "3.10.6") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "esp_ot_br" version: 2d30afc
-- Adding linker script /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support border_router_board bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_br_http_ota 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_lcd esp_local_ctrl esp_netif esp_ot_br_server esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp-serial-flasher espressif__esp_ot_cli_extension espressif__esp_rcp_update espressif__mdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 iperf json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocol_examples_common protocomm pthread sdmmc soc spi_flash spiffs tcp_transport thread_border_router touch_element ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/pi/esp/esp-idf-v5.0.3/components/app_trace /home/pi/esp/esp-idf-v5.0.3/components/app_update /home/pi/esp/esp-idf-v5.0.3/components/bootloader /home/pi/esp/esp-idf-v5.0.3/components/bootloader_support /home/pi/esp/esp-thread-br/examples/common/border_router_board /home/pi/esp/esp-idf-v5.0.3/components/bt /home/pi/esp/esp-idf-v5.0.3/components/cmock /home/pi/esp/esp-idf-v5.0.3/components/console /home/pi/esp/esp-idf-v5.0.3/components/cxx /home/pi/esp/esp-idf-v5.0.3/components/driver /home/pi/esp/esp-idf-v5.0.3/components/efuse /home/pi/esp/esp-idf-v5.0.3/components/esp-tls /home/pi/esp/esp-idf-v5.0.3/components/esp_adc /home/pi/esp/esp-idf-v5.0.3/components/esp_app_format /home/pi/esp/esp-thread-br/components/esp_br_http_ota /home/pi/esp/esp-idf-v5.0.3/components/esp_common /home/pi/esp/esp-idf-v5.0.3/components/esp_eth /home/pi/esp/esp-idf-v5.0.3/components/esp_event /home/pi/esp/esp-idf-v5.0.3/components/esp_gdbstub /home/pi/esp/esp-idf-v5.0.3/components/esp_hid /home/pi/esp/esp-idf-v5.0.3/components/esp_http_client /home/pi/esp/esp-idf-v5.0.3/components/esp_http_server /home/pi/esp/esp-idf-v5.0.3/components/esp_https_ota /home/pi/esp/esp-idf-v5.0.3/components/esp_https_server /home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support /home/pi/esp/esp-idf-v5.0.3/components/esp_lcd /home/pi/esp/esp-idf-v5.0.3/components/esp_local_ctrl /home/pi/esp/esp-idf-v5.0.3/components/esp_netif /home/pi/esp/esp-thread-br/components/esp_ot_br_server /home/pi/esp/esp-idf-v5.0.3/components/esp_partition /home/pi/esp/esp-idf-v5.0.3/components/esp_phy /home/pi/esp/esp-idf-v5.0.3/components/esp_pm /home/pi/esp/esp-idf-v5.0.3/components/esp_psram /home/pi/esp/esp-idf-v5.0.3/components/esp_ringbuf /home/pi/esp/esp-idf-v5.0.3/components/esp_rom /home/pi/esp/esp-idf-v5.0.3/components/esp_system /home/pi/esp/esp-idf-v5.0.3/components/esp_timer /home/pi/esp/esp-idf-v5.0.3/components/esp_wifi /home/pi/esp/esp-idf-v5.0.3/components/espcoredump /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_rcp_update /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__mdns /home/pi/esp/esp-idf-v5.0.3/components/esptool_py /home/pi/esp/esp-idf-v5.0.3/components/fatfs /home/pi/esp/esp-idf-v5.0.3/components/freertos /home/pi/esp/esp-idf-v5.0.3/components/hal /home/pi/esp/esp-idf-v5.0.3/components/heap /home/pi/esp/esp-idf-v5.0.3/components/http_parser /home/pi/esp/esp-idf-v5.0.3/components/idf_test /home/pi/esp/esp-idf-v5.0.3/components/ieee802154 /home/pi/esp/esp-idf-v5.0.3/examples/common_components/iperf /home/pi/esp/esp-idf-v5.0.3/components/json /home/pi/esp/esp-idf-v5.0.3/components/log /home/pi/esp/esp-idf-v5.0.3/components/lwip /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/main /home/pi/esp/esp-idf-v5.0.3/components/mbedtls /home/pi/esp/esp-idf-v5.0.3/components/mqtt /home/pi/esp/esp-idf-v5.0.3/components/newlib /home/pi/esp/esp-idf-v5.0.3/components/nvs_flash /home/pi/esp/esp-idf-v5.0.3/components/openthread /home/pi/esp/esp-idf-v5.0.3/components/partition_table /home/pi/esp/esp-idf-v5.0.3/components/perfmon /home/pi/esp/esp-idf-v5.0.3/components/protobuf-c /home/pi/esp/esp-idf-v5.0.3/examples/common_components/protocol_examples_common /home/pi/esp/esp-idf-v5.0.3/components/protocomm /home/pi/esp/esp-idf-v5.0.3/components/pthread /home/pi/esp/esp-idf-v5.0.3/components/sdmmc /home/pi/esp/esp-idf-v5.0.3/components/soc /home/pi/esp/esp-idf-v5.0.3/components/spi_flash /home/pi/esp/esp-idf-v5.0.3/components/spiffs /home/pi/esp/esp-idf-v5.0.3/components/tcp_transport /home/pi/esp/esp-thread-br/examples/common/thread_border_router /home/pi/esp/esp-idf-v5.0.3/components/touch_element /home/pi/esp/esp-idf-v5.0.3/components/ulp /home/pi/esp/esp-idf-v5.0.3/components/unity /home/pi/esp/esp-idf-v5.0.3/components/usb /home/pi/esp/esp-idf-v5.0.3/components/vfs /home/pi/esp/esp-idf-v5.0.3/components/wear_levelling /home/pi/esp/esp-idf-v5.0.3/components/wifi_provisioning /home/pi/esp/esp-idf-v5.0.3/components/wpa_supplicant /home/pi/esp/esp-idf-v5.0.3/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build
Running ninja in directory /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build
Executing "ninja all"...
[27/1183] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
otadata,data,ota,0xf000,8K,
phy_init,data,phy,0x11000,4K,
ota_0,app,ota_0,0x20000,1600K,
ota_1,app,ota_1,0x1b0000,1600K,
web_storage,data,spiffs,0x340000,100K,
rcp_fw,data,spiffs,0x359000,500K,
*******************************************************************************
[679/1183] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc - 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: /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/sdkconfig
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- App "bootloader" version: v5.0.3
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script /home/pi/esp/esp-idf-v5.0.3/components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format 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: /home/pi/esp/esp-idf-v5.0.3/components/bootloader /home/pi/esp/esp-idf-v5.0.3/components/bootloader_support /home/pi/esp/esp-idf-v5.0.3/components/efuse /home/pi/esp/esp-idf-v5.0.3/components/esp_app_format /home/pi/esp/esp-idf-v5.0.3/components/esp_common /home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support /home/pi/esp/esp-idf-v5.0.3/components/esp_rom /home/pi/esp/esp-idf-v5.0.3/components/esp_system /home/pi/esp/esp-idf-v5.0.3/components/esptool_py /home/pi/esp/esp-idf-v5.0.3/components/freertos /home/pi/esp/esp-idf-v5.0.3/components/hal /home/pi/esp/esp-idf-v5.0.3/components/log /home/pi/esp/esp-idf-v5.0.3/components/bootloader/subproject/main /home/pi/esp/esp-idf-v5.0.3/components/bootloader/subproject/components/micro-ecc /home/pi/esp/esp-idf-v5.0.3/components/newlib /home/pi/esp/esp-idf-v5.0.3/components/partition_table /home/pi/esp/esp-idf-v5.0.3/components/soc /home/pi/esp/esp-idf-v5.0.3/components/spi_flash /home/pi/esp/esp-idf-v5.0.3/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/bootloader
[105/106] Generating binary image from built executableesptool.py v4.5.1
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Generated /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/bootloader/bootloader.bin
[106/106] cd /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/bootloader/esp-idf/...er 0x0 /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/bootloader/bootloader.binBootloader binary size 0x4f90 bytes. 0x3070 bytes (38%) free.
[1132/1183] Building C object esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_iperf.c.objFAILED: esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_iperf.c.obj
ccache /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DMD5_ENABLED=1 -DOPENTHREAD_CONFIG_FILE=\"openthread-core-esp32x-ftd-config.h\" -DOPENTHREAD_FTD=1 -DSERIAL_FLASHER_BOOT_HOLD_TIME_MS=50 -DSERIAL_FLASHER_RESET_HOLD_TIME_MS=100 -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/config -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/include -I/home/pi/esp/esp-idf-v5.0.3/components/newlib/platform_include -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/include -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/esp_additions/include/freertos -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/esp_additions/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/include/soc -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/include/soc/esp32s3 -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/port/esp32s3/. -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/port/esp32s3/private_include -I/home/pi/esp/esp-idf-v5.0.3/components/heap/include -I/home/pi/esp/esp-idf-v5.0.3/components/log/include -I/home/pi/esp/esp-idf-v5.0.3/components/soc/include -I/home/pi/esp/esp-idf-v5.0.3/components/soc/esp32s3/. -I/home/pi/esp/esp-idf-v5.0.3/components/soc/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/hal/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/hal/include -I/home/pi/esp/esp-idf-v5.0.3/components/hal/platform_port/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_rom/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_rom/include/esp32s3 -I/home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3 -I/home/pi/esp/esp-idf-v5.0.3/components/esp_common/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_system/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_system/port/soc -I/home/pi/esp/esp-idf-v5.0.3/components/esp_system/port/include/private -I/home/pi/esp/esp-idf-v5.0.3/components/xtensa/include -I/home/pi/esp/esp-idf-v5.0.3/components/xtensa/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/include/apps -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/include/apps/sntp -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/lwip/src/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/port/esp32/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/port/esp32/include/arch -I/home/pi/esp/esp-idf-v5.0.3/components/openthread/include -I/home/pi/esp/esp-idf-v5.0.3/components/openthread/openthread/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_event/include -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/port/include -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/mbedtls/include -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/mbedtls/library -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/esp_crt_bundle/include -I/home/pi/esp/esp-idf-v5.0.3/components/ieee802154/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_phy/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_phy/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/console -I/home/pi/esp/esp-idf-v5.0.3/components/vfs/include -I/home/pi/esp/esp-idf-v5.0.3/examples/common_components/iperf/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_netif/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_wifi/include -I/home/pi/esp/esp-idf-v5.0.3/components/http_parser -I/home/pi/esp/esp-idf-v5.0.3/components/esp_http_client/include -I/home/pi/esp/esp-thread-br/components/esp_br_http_ota/include -I/home/pi/esp/esp-idf-v5.0.3/components/app_update/include -I/home/pi/esp/esp-idf-v5.0.3/components/bootloader_support/include -I/home/pi/esp/esp-idf-v5.0.3/components/bootloader_support/bootloader_flash/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_app_format/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_partition/include -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_rcp_update/include -I/home/pi/esp/esp-idf-v5.0.3/components/driver/include -I/home/pi/esp/esp-idf-v5.0.3/components/driver/deprecated -I/home/pi/esp/esp-idf-v5.0.3/components/driver/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_pm/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_ringbuf/include -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher/include -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher/port -I/home/pi/esp/esp-idf-v5.0.3/components/nvs_flash/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 -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=/home/pi/esp/esp-thread-br/examples/basic_thread_border_router=. -fmacro-prefix-map=/home/pi/esp/esp-idf-v5.0.3=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.3\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_iperf.c.obj -MF esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_iperf.c.obj.d -o esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_iperf.c.obj -c /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c: In function 'esp_ot_process_iperf':
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c:33:8: error: 'iperf_cfg_t' has no member named 'format'
33 | cfg.format = KBITS_PER_SEC;
| ^
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c:33:18: error: 'KBITS_PER_SEC' undeclared (first use in this function)
33 | cfg.format = KBITS_PER_SEC;
| ^~~~~~~~~~~~~
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c:33:18: note: each undeclared identifier is reported only once for each function it appears in
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c:112:32: error: 'iperf_cfg_t' has no member named 'format'
112 | cfg.format = idx;
| ^
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c:117:65: error: 'iperf_cfg_t' has no member named 'format'
117 | otCliOutputFormat("f:%sbit/s\n", strcmp(unit[cfg.format], "B") == 0 ? "\0" : unit[cfg.format]);
| ^
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_iperf.c:117:102: error: 'iperf_cfg_t' has no member named 'format'
117 | otCliOutputFormat("f:%sbit/s\n", strcmp(unit[cfg.format], "B") == 0 ? "\0" : unit[cfg.format]);
| ^
[1137/1183] Building C object esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_udp_socket.c.objFAILED: esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_udp_socket.c.obj
ccache /home/pi/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DMD5_ENABLED=1 -DOPENTHREAD_CONFIG_FILE=\"openthread-core-esp32x-ftd-config.h\" -DOPENTHREAD_FTD=1 -DSERIAL_FLASHER_BOOT_HOLD_TIME_MS=50 -DSERIAL_FLASHER_RESET_HOLD_TIME_MS=100 -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/config -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/include -I/home/pi/esp/esp-idf-v5.0.3/components/newlib/platform_include -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/include -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/esp_additions/include/freertos -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -I/home/pi/esp/esp-idf-v5.0.3/components/freertos/esp_additions/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/include/soc -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/include/soc/esp32s3 -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/port/esp32s3/. -I/home/pi/esp/esp-idf-v5.0.3/components/esp_hw_support/port/esp32s3/private_include -I/home/pi/esp/esp-idf-v5.0.3/components/heap/include -I/home/pi/esp/esp-idf-v5.0.3/components/log/include -I/home/pi/esp/esp-idf-v5.0.3/components/soc/include -I/home/pi/esp/esp-idf-v5.0.3/components/soc/esp32s3/. -I/home/pi/esp/esp-idf-v5.0.3/components/soc/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/hal/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/hal/include -I/home/pi/esp/esp-idf-v5.0.3/components/hal/platform_port/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_rom/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_rom/include/esp32s3 -I/home/pi/esp/esp-idf-v5.0.3/components/esp_rom/esp32s3 -I/home/pi/esp/esp-idf-v5.0.3/components/esp_common/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_system/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_system/port/soc -I/home/pi/esp/esp-idf-v5.0.3/components/esp_system/port/include/private -I/home/pi/esp/esp-idf-v5.0.3/components/xtensa/include -I/home/pi/esp/esp-idf-v5.0.3/components/xtensa/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/include/apps -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/include/apps/sntp -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/lwip/src/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/port/esp32/include -I/home/pi/esp/esp-idf-v5.0.3/components/lwip/port/esp32/include/arch -I/home/pi/esp/esp-idf-v5.0.3/components/openthread/include -I/home/pi/esp/esp-idf-v5.0.3/components/openthread/openthread/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_event/include -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/port/include -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/mbedtls/include -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/mbedtls/library -I/home/pi/esp/esp-idf-v5.0.3/components/mbedtls/esp_crt_bundle/include -I/home/pi/esp/esp-idf-v5.0.3/components/ieee802154/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_phy/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_phy/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/console -I/home/pi/esp/esp-idf-v5.0.3/components/vfs/include -I/home/pi/esp/esp-idf-v5.0.3/examples/common_components/iperf/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_netif/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_wifi/include -I/home/pi/esp/esp-idf-v5.0.3/components/http_parser -I/home/pi/esp/esp-idf-v5.0.3/components/esp_http_client/include -I/home/pi/esp/esp-thread-br/components/esp_br_http_ota/include -I/home/pi/esp/esp-idf-v5.0.3/components/app_update/include -I/home/pi/esp/esp-idf-v5.0.3/components/bootloader_support/include -I/home/pi/esp/esp-idf-v5.0.3/components/bootloader_support/bootloader_flash/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_app_format/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_partition/include -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_rcp_update/include -I/home/pi/esp/esp-idf-v5.0.3/components/driver/include -I/home/pi/esp/esp-idf-v5.0.3/components/driver/deprecated -I/home/pi/esp/esp-idf-v5.0.3/components/driver/esp32s3/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_pm/include -I/home/pi/esp/esp-idf-v5.0.3/components/esp_ringbuf/include -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher/include -I/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp-serial-flasher/port -I/home/pi/esp/esp-idf-v5.0.3/components/nvs_flash/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 -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=/home/pi/esp/esp-thread-br/examples/basic_thread_border_router=. -fmacro-prefix-map=/home/pi/esp/esp-idf-v5.0.3=/IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v5.0.3\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_udp_socket.c.obj -MF esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_udp_socket.c.obj.d -o esp-idf/espressif__esp_ot_cli_extension/CMakeFiles/__idf_espressif__esp_ot_cli_extension.dir/src/esp_ot_udp_socket.c.obj -c /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_udp_socket.c
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_udp_socket.c: In function 'esp_ot_process_mcast_group':
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_udp_socket.c:481:5: error: implicit declaration of function 'esp_openthread_task_switching_lock_release' [-Werror=implicit-function-declaration]
481 | esp_openthread_task_switching_lock_release();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/esp/esp-thread-br/examples/basic_thread_border_router/managed_components/espressif__esp_ot_cli_extension/src/esp_ot_udp_socket.c:496:5: error: implicit declaration of function 'esp_openthread_task_switching_lock_acquire' [-Werror=implicit-function-declaration]
496 | esp_openthread_task_switching_lock_acquire(portMAX_DELAY);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
HINT: Please check that the function name is correct. Also it is possible that you've forgot to import esp_openthread_task_switching_lock_release library(s) in header file or add the necessary REQURIES component. Try to add missing libraries to your project header file or check idf_component_register(REQUIRES ...) section in your component CmakeList.txt file. For more information run 'idf.py docs -sp api-guides/build-system.html'.
Also, please check if the function has been removed, renamed or replaced by an alternative function - refer to the migration guide for more information.
ninja failed with exit code 1, output of the command is in the /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stderr_output_31091 and /home/pi/esp/esp-thread-br/examples/basic_thread_border_router/build/log/idf_py_stdout_output_31091
[/Codebox]
ESP thread border router build errors
Re: ESP thread border router build errors
This will be my next approach,
I also bought this board to implement a test environment, like a button and a led on an esp32C6 board.
the board has already being with the actual firmware (in both mcus), but I am unable to reach it, only via cli on the esp32s3 usb port, but unable to reach neither the web interface nor the rest API.
check: viewtopic.php?f=2&t=35162
this post was unable to bring something interesting from the community.
I also tried to compile the esp32S3 firmware without success (used the docker official container) when enabling the web interface, rest api and ssid+pass.
As it was the newest version I dont think is necessary to build the esp32H2 firmware.
I am gonna try to compile the esp32S3 again and compare the results.
actually I found this: https://github.com/openthread/openthrea ... sions/7799
I also bought this board to implement a test environment, like a button and a led on an esp32C6 board.
the board has already being with the actual firmware (in both mcus), but I am unable to reach it, only via cli on the esp32s3 usb port, but unable to reach neither the web interface nor the rest API.
check: viewtopic.php?f=2&t=35162
this post was unable to bring something interesting from the community.
I also tried to compile the esp32S3 firmware without success (used the docker official container) when enabling the web interface, rest api and ssid+pass.
As it was the newest version I dont think is necessary to build the esp32H2 firmware.
I am gonna try to compile the esp32S3 again and compare the results.
actually I found this: https://github.com/openthread/openthrea ... sions/7799
Who is online
Users browsing this forum: No registered users and 211 guests