-
Notifications
You must be signed in to change notification settings - Fork 788
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
idf版本是5.1.4,编译esp-iot-solution\examples\get-started里的blink、button_power_save、knob_power_save都会报错 (AEGHB-867) #422
Comments
github-actions
bot
changed the title
idf版本是5.1.4,编译esp-iot-solution\examples\get-started里的blink、button_power_save、knob_power_save都会报错
idf版本是5.1.4,编译esp-iot-solution\examples\get-started里的blink、button_power_save、knob_power_save都会报错 (AEGHB-867)
Nov 7, 2024
Hi, @yangjinyiyiyi .我在idf 5.1.4与idf-component-manager 1.5.2下编译esp-iot-solution里的例程都是可以正常编译,你可以提供下你的esp-iot-solution的commit号,以便测试。 ➜ knob_power_save git:(master) pip list
Package Version
--------------------- ----------
annotated-types 0.7.0
astyle 3.4.10
bitarray 2.8.4
bitstring 4.1.4
CacheControl 0.13.1
certifi 2023.11.17
cffi 1.16.0
cfgv 3.4.0
charset-normalizer 3.3.2
click 8.1.7
colorama 0.4.6
construct 2.10.69
contextlib2 21.6.0
cryptography 39.0.2
distlib 0.3.8
ecdsa 0.18.0
esp-coredump 1.12.0
esp-debug-backend 1.0.3
esp-idf-kconfig 1.4.3
esp-idf-monitor 1.5.0
esp-idf-panic-decoder 1.2.1
esp-idf-size 1.6.0
esptool 4.7.0
filelock 3.13.1
freertos-gdb 1.0.3
identify 2.5.36
idf-component-manager 1.5.2
idna 3.6
intelhex 2.3.0
jsonref 1.1.0
kconfiglib 14.1.0
markdown-it-py 3.0.0
mdurl 0.1.2
mpremote 1.23.0
msgpack 1.0.7
nodeenv 1.9.1
packaging 24.1
pip 24.2
platformdirs 4.2.2
pre-commit 3.7.1
pycparser 2.21
pydantic 2.8.2
pydantic_core 2.20.1
pydantic-settings 2.4.0
pyelftools 0.29
pygdbmi 0.9.0.2
Pygments 2.17.2
pyparsing 3.0.9
pyserial 3.5
python-dotenv 1.0.1
PyYAML 6.0.1
reedsolo 1.7.0
requests 2.32.3
requests-file 1.5.1
requests-toolbelt 1.0.0
rich 13.7.0
schema 0.7.5
setuptools 71.0.0
six 1.16.0
tqdm 4.66.1
typing_extensions 4.12.2
urllib3 1.26.18
virtualenv 20.26.2 ➜ knob_power_save git:(master) idf.py build
Executing action: all (aliases: build)
Running cmake in directory /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/yanke/.espressif/python_env/idf5.1_py3.10_env/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save"...
-- IDF_TARGET is not set, guessed 'esp32s3' from sdkconfig '/home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/sdkconfig'
-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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 3 dependencies:
[1/3] espressif/cmake_utilities (0.5.3)
[2/3] idf (5.1.4)
[3/3] knob (1.0.0)
-- Project sdkconfig file /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/sdkconfig
Loading defaults file /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/sdkconfig.defaults...
Compiler supported targets: xtensa-esp32s3-elf
-- 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/yanke/.espressif/python_env/idf5.1_py3.10_env/bin/python (found version "3.10.12") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "knob_power_save" version: 203d2669
-- Adding linker script /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- KNOB: 1.0.0
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_coex 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_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__cmake_utilities esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json knob log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport touch_element ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/yanke/esp/esp-idf-51/esp-idf/components/app_trace /home/yanke/esp/esp-idf-51/esp-idf/components/app_update /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader_support /home/yanke/esp/esp-idf-51/esp-idf/components/bt /home/yanke/esp/esp-idf-51/esp-idf/components/cmock /home/yanke/esp/esp-idf-51/esp-idf/components/console /home/yanke/esp/esp-idf-51/esp-idf/components/cxx /home/yanke/esp/esp-idf-51/esp-idf/components/driver /home/yanke/esp/esp-idf-51/esp-idf/components/efuse /home/yanke/esp/esp-idf-51/esp-idf/components/esp-tls /home/yanke/esp/esp-idf-51/esp-idf/components/esp_adc /home/yanke/esp/esp-idf-51/esp-idf/components/esp_app_format /home/yanke/esp/esp-idf-51/esp-idf/components/esp_coex /home/yanke/esp/esp-idf-51/esp-idf/components/esp_common /home/yanke/esp/esp-idf-51/esp-idf/components/esp_eth /home/yanke/esp/esp-idf-51/esp-idf/components/esp_event /home/yanke/esp/esp-idf-51/esp-idf/components/esp_gdbstub /home/yanke/esp/esp-idf-51/esp-idf/components/esp_hid /home/yanke/esp/esp-idf-51/esp-idf/components/esp_http_client /home/yanke/esp/esp-idf-51/esp-idf/components/esp_http_server /home/yanke/esp/esp-idf-51/esp-idf/components/esp_https_ota /home/yanke/esp/esp-idf-51/esp-idf/components/esp_https_server /home/yanke/esp/esp-idf-51/esp-idf/components/esp_hw_support /home/yanke/esp/esp-idf-51/esp-idf/components/esp_lcd /home/yanke/esp/esp-idf-51/esp-idf/components/esp_local_ctrl /home/yanke/esp/esp-idf-51/esp-idf/components/esp_mm /home/yanke/esp/esp-idf-51/esp-idf/components/esp_netif /home/yanke/esp/esp-idf-51/esp-idf/components/esp_netif_stack /home/yanke/esp/esp-idf-51/esp-idf/components/esp_partition /home/yanke/esp/esp-idf-51/esp-idf/components/esp_phy /home/yanke/esp/esp-idf-51/esp-idf/components/esp_pm /home/yanke/esp/esp-idf-51/esp-idf/components/esp_psram /home/yanke/esp/esp-idf-51/esp-idf/components/esp_ringbuf /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom /home/yanke/esp/esp-idf-51/esp-idf/components/esp_system /home/yanke/esp/esp-idf-51/esp-idf/components/esp_timer /home/yanke/esp/esp-idf-51/esp-idf/components/esp_wifi /home/yanke/esp/esp-idf-51/esp-idf/components/espcoredump /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/managed_components/espressif__cmake_utilities /home/yanke/esp/esp-idf-51/esp-idf/components/esptool_py /home/yanke/esp/esp-idf-51/esp-idf/components/fatfs /home/yanke/esp/esp-idf-51/esp-idf/components/freertos /home/yanke/esp/esp-idf-51/esp-idf/components/hal /home/yanke/esp/esp-idf-51/esp-idf/components/heap /home/yanke/esp/esp-idf-51/esp-idf/components/http_parser /home/yanke/esp/esp-idf-51/esp-idf/components/idf_test /home/yanke/esp/esp-idf-51/esp-idf/components/ieee802154 /home/yanke/esp/esp-idf-51/esp-idf/components/json /home/yanke/project/esp-iot-solution/components/knob /home/yanke/esp/esp-idf-51/esp-idf/components/log /home/yanke/esp/esp-idf-51/esp-idf/components/lwip /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/main /home/yanke/esp/esp-idf-51/esp-idf/components/mbedtls /home/yanke/esp/esp-idf-51/esp-idf/components/mqtt /home/yanke/esp/esp-idf-51/esp-idf/components/newlib /home/yanke/esp/esp-idf-51/esp-idf/components/nvs_flash /home/yanke/esp/esp-idf-51/esp-idf/components/openthread /home/yanke/esp/esp-idf-51/esp-idf/components/partition_table /home/yanke/esp/esp-idf-51/esp-idf/components/perfmon /home/yanke/esp/esp-idf-51/esp-idf/components/protobuf-c /home/yanke/esp/esp-idf-51/esp-idf/components/protocomm /home/yanke/esp/esp-idf-51/esp-idf/components/pthread /home/yanke/esp/esp-idf-51/esp-idf/components/sdmmc /home/yanke/esp/esp-idf-51/esp-idf/components/soc /home/yanke/esp/esp-idf-51/esp-idf/components/spi_flash /home/yanke/esp/esp-idf-51/esp-idf/components/spiffs /home/yanke/esp/esp-idf-51/esp-idf/components/tcp_transport /home/yanke/esp/esp-idf-51/esp-idf/components/touch_element /home/yanke/esp/esp-idf-51/esp-idf/components/ulp /home/yanke/esp/esp-idf-51/esp-idf/components/unity /home/yanke/esp/esp-idf-51/esp-idf/components/usb /home/yanke/esp/esp-idf-51/esp-idf/components/vfs /home/yanke/esp/esp-idf-51/esp-idf/components/wear_levelling /home/yanke/esp/esp-idf-51/esp-idf/components/wifi_provisioning /home/yanke/esp/esp-idf-51/esp-idf/components/wpa_supplicant /home/yanke/esp/esp-idf-51/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build
Running ninja in directory /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build
Executing "ninja all"...
[29/947] 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,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[664/947] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/sdkconfig
Compiler supported targets: xtensa-esp32s3-elf
-- 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/yanke/esp/esp-idf-51/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- App "bootloader" version: v5.1.4
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/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/yanke/esp/esp-idf-51/esp-idf/components/bootloader /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader_support /home/yanke/esp/esp-idf-51/esp-idf/components/efuse /home/yanke/esp/esp-idf-51/esp-idf/components/esp_app_format /home/yanke/esp/esp-idf-51/esp-idf/components/esp_common /home/yanke/esp/esp-idf-51/esp-idf/components/esp_hw_support /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom /home/yanke/esp/esp-idf-51/esp-idf/components/esp_system /home/yanke/esp/esp-idf-51/esp-idf/components/esptool_py /home/yanke/esp/esp-idf-51/esp-idf/components/freertos /home/yanke/esp/esp-idf-51/esp-idf/components/hal /home/yanke/esp/esp-idf-51/esp-idf/components/log /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader/subproject/main /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader/subproject/components/micro-ecc /home/yanke/esp/esp-idf-51/esp-idf/components/newlib /home/yanke/esp/esp-idf-51/esp-idf/components/partition_table /home/yanke/esp/esp-idf-51/esp-idf/components/soc /home/yanke/esp/esp-idf-51/esp-idf/components/spi_flash /home/yanke/esp/esp-idf-51/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/bootloader
[109/110] Generating binary image from built executableesptool.py v4.7.0
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Generated /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/bootloader/bootloader.bin
[110/110] cd /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/bootload...e/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/bootloader/bootloader.binBootloader binary size 0x51c0 bytes. 0x2e40 bytes (36%) free.
[946/947] Generating binary image from built executableesptool.py v4.7.0
Creating esp32s3 image...
Merged 3 ELF sections
Successfully created esp32s3 image.
Generated /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/knob_power_save.bin
[947/947] cd /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/esp-idf/...n /home/yanke/project/esp-iot-solution/examples/get-started/knob_power_save/build/knob_power_save.binknob_power_save.bin binary size 0x38240 bytes. Smallest app partition is 0x100000 bytes. 0xc7dc0 bytes (78%) free.
Project build complete. To flash, run this command:
/home/yanke/.espressif/python_env/idf5.1_py3.10_env/bin/python ../../../../../esp/esp-idf-51/esp-idf/components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/knob_power_save.bin
or run 'idf.py -p (PORT) flash' |
Hi @yangjinyiyiyi 。我在关闭代理且切换到这个comnmit也是正常编译通过。有确认esp_iot_solution无改动吗?是否执行 ➜ blink git:(6f426e5d) pip list
Package Version
--------------------- ----------
annotated-types 0.7.0
astyle 3.4.10
bitarray 2.8.4
bitstring 4.1.4
CacheControl 0.13.1
certifi 2023.11.17
cffi 1.16.0
cfgv 3.4.0
charset-normalizer 3.3.2
click 8.1.7
colorama 0.4.6
construct 2.10.69
contextlib2 21.6.0
cryptography 39.0.2
distlib 0.3.8
ecdsa 0.18.0
esp-coredump 1.12.0
esp-debug-backend 1.0.3
esp-idf-kconfig 1.4.3
esp-idf-monitor 1.5.0
esp-idf-panic-decoder 1.2.1
esp-idf-size 1.6.0
esptool 4.7.0
filelock 3.13.1
freertos-gdb 1.0.3
identify 2.5.36
idf-component-manager 1.5.2
idna 3.6
intelhex 2.3.0
jsonref 1.1.0
kconfiglib 14.1.0
markdown-it-py 3.0.0
mdurl 0.1.2
mpremote 1.23.0
msgpack 1.0.7
nodeenv 1.9.1
packaging 24.1
pip 24.2
platformdirs 4.2.2
pre-commit 3.7.1
pycparser 2.21
pydantic 2.8.2
pydantic_core 2.20.1
pydantic-settings 2.4.0
pyelftools 0.29
pygdbmi 0.9.0.2
Pygments 2.17.2
pyparsing 3.0.9
pyserial 3.5
python-dotenv 1.0.1
PyYAML 6.0.1
reedsolo 1.7.0
requests 2.32.3
requests-file 1.5.1
requests-toolbelt 1.0.0
rich 13.7.0
schema 0.7.5
setuptools 71.0.0
six 1.16.0
tqdm 4.66.1
typing_extensions 4.12.2
urllib3 1.26.18
virtualenv 20.26.2 ➜ blink git:(6f426e5d) idf.py set-target esp32s3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32s3, new sdkconfig will be created.
Running cmake in directory /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/yanke/.espressif/python_env/idf5.1_py3.10_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=0 /home/yanke/project/github/esp-iot-solution/examples/get-started/blink"...
CMake Warning at CMakeLists.txt:9 (message):
IOT_SOLUTION_PATH not set, using default
/home/yanke/project/github/esp-iot-solution
-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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
Dependencies lock doesn't exist, solving dependencies.
Using component placed at /home/yanke/project/github/esp-iot-solution/examples/common_components/boards for dependency boards(~0.0.1), specified in /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/main/idf_component.yml
............Updating lock file at /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/dependencies.lock
Processing 8 dependencies:
[1/8] boards (0.0.1)
[2/8] bus (*)
[3/8] espressif/button (2.5.6)
[4/8] espressif/cmake_utilities (0.5.3)
[5/8] espressif/led_strip (1.1.0-alpha)
[6/8] i2c_bus (1.0.0)
[7/8] idf (5.1.4)
[8/8] spi_bus (1.0.0)
-- Project sdkconfig file /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/sdkconfig
Loading defaults file /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/sdkconfig.defaults...
Compiler supported targets: xtensa-esp32s3-elf
-- 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/yanke/.espressif/python_env/idf5.1_py3.10_env/bin/python (found version "3.10.12") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "blink" version: 6f426e5d
-- Adding linker script /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- BUTTON: 2.5.6
-- I2C_BUS: 1.0.0
-- SPI_BUS: 1.0.0
-- -----------Board Info---------
-- IDF_TARGET = esp32s3
-- Board DIR = esp32s3_usb_otg_ev
-- ---------Board Info End---------
-- source files found for 'esp32s3_usb_otg_ev'.
-- Components: app_trace app_update boards bootloader bootloader_support bt bus cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_coex 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_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__button espressif__cmake_utilities espressif__led_strip esptool_py fatfs freertos hal heap http_parser i2c_bus idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_bus spi_flash spiffs tcp_transport touch_element ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/yanke/esp/esp-idf-51/esp-idf/components/app_trace /home/yanke/esp/esp-idf-51/esp-idf/components/app_update /home/yanke/project/github/esp-iot-solution/examples/common_components/boards /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader_support /home/yanke/esp/esp-idf-51/esp-idf/components/bt /home/yanke/project/github/esp-iot-solution/components/bus /home/yanke/esp/esp-idf-51/esp-idf/components/cmock /home/yanke/esp/esp-idf-51/esp-idf/components/console /home/yanke/esp/esp-idf-51/esp-idf/components/cxx /home/yanke/esp/esp-idf-51/esp-idf/components/driver /home/yanke/esp/esp-idf-51/esp-idf/components/efuse /home/yanke/esp/esp-idf-51/esp-idf/components/esp-tls /home/yanke/esp/esp-idf-51/esp-idf/components/esp_adc /home/yanke/esp/esp-idf-51/esp-idf/components/esp_app_format /home/yanke/esp/esp-idf-51/esp-idf/components/esp_coex /home/yanke/esp/esp-idf-51/esp-idf/components/esp_common /home/yanke/esp/esp-idf-51/esp-idf/components/esp_eth /home/yanke/esp/esp-idf-51/esp-idf/components/esp_event /home/yanke/esp/esp-idf-51/esp-idf/components/esp_gdbstub /home/yanke/esp/esp-idf-51/esp-idf/components/esp_hid /home/yanke/esp/esp-idf-51/esp-idf/components/esp_http_client /home/yanke/esp/esp-idf-51/esp-idf/components/esp_http_server /home/yanke/esp/esp-idf-51/esp-idf/components/esp_https_ota /home/yanke/esp/esp-idf-51/esp-idf/components/esp_https_server /home/yanke/esp/esp-idf-51/esp-idf/components/esp_hw_support /home/yanke/esp/esp-idf-51/esp-idf/components/esp_lcd /home/yanke/esp/esp-idf-51/esp-idf/components/esp_local_ctrl /home/yanke/esp/esp-idf-51/esp-idf/components/esp_mm /home/yanke/esp/esp-idf-51/esp-idf/components/esp_netif /home/yanke/esp/esp-idf-51/esp-idf/components/esp_netif_stack /home/yanke/esp/esp-idf-51/esp-idf/components/esp_partition /home/yanke/esp/esp-idf-51/esp-idf/components/esp_phy /home/yanke/esp/esp-idf-51/esp-idf/components/esp_pm /home/yanke/esp/esp-idf-51/esp-idf/components/esp_psram /home/yanke/esp/esp-idf-51/esp-idf/components/esp_ringbuf /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom /home/yanke/esp/esp-idf-51/esp-idf/components/esp_system /home/yanke/esp/esp-idf-51/esp-idf/components/esp_timer /home/yanke/esp/esp-idf-51/esp-idf/components/esp_wifi /home/yanke/esp/esp-idf-51/esp-idf/components/espcoredump /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__button /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__cmake_utilities /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__led_strip /home/yanke/esp/esp-idf-51/esp-idf/components/esptool_py /home/yanke/esp/esp-idf-51/esp-idf/components/fatfs /home/yanke/esp/esp-idf-51/esp-idf/components/freertos /home/yanke/esp/esp-idf-51/esp-idf/components/hal /home/yanke/esp/esp-idf-51/esp-idf/components/heap /home/yanke/esp/esp-idf-51/esp-idf/components/http_parser /home/yanke/project/github/esp-iot-solution/components/i2c_bus /home/yanke/esp/esp-idf-51/esp-idf/components/idf_test /home/yanke/esp/esp-idf-51/esp-idf/components/ieee802154 /home/yanke/esp/esp-idf-51/esp-idf/components/json /home/yanke/esp/esp-idf-51/esp-idf/components/log /home/yanke/esp/esp-idf-51/esp-idf/components/lwip /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/main /home/yanke/esp/esp-idf-51/esp-idf/components/mbedtls /home/yanke/esp/esp-idf-51/esp-idf/components/mqtt /home/yanke/esp/esp-idf-51/esp-idf/components/newlib /home/yanke/esp/esp-idf-51/esp-idf/components/nvs_flash /home/yanke/esp/esp-idf-51/esp-idf/components/openthread /home/yanke/esp/esp-idf-51/esp-idf/components/partition_table /home/yanke/esp/esp-idf-51/esp-idf/components/perfmon /home/yanke/esp/esp-idf-51/esp-idf/components/protobuf-c /home/yanke/esp/esp-idf-51/esp-idf/components/protocomm /home/yanke/esp/esp-idf-51/esp-idf/components/pthread /home/yanke/esp/esp-idf-51/esp-idf/components/sdmmc /home/yanke/esp/esp-idf-51/esp-idf/components/soc /home/yanke/project/github/esp-iot-solution/components/spi_bus /home/yanke/esp/esp-idf-51/esp-idf/components/spi_flash /home/yanke/esp/esp-idf-51/esp-idf/components/spiffs /home/yanke/esp/esp-idf-51/esp-idf/components/tcp_transport /home/yanke/esp/esp-idf-51/esp-idf/components/touch_element /home/yanke/esp/esp-idf-51/esp-idf/components/ulp /home/yanke/esp/esp-idf-51/esp-idf/components/unity /home/yanke/esp/esp-idf-51/esp-idf/components/usb /home/yanke/esp/esp-idf-51/esp-idf/components/vfs /home/yanke/esp/esp-idf-51/esp-idf/components/wear_levelling /home/yanke/esp/esp-idf-51/esp-idf/components/wifi_provisioning /home/yanke/esp/esp-idf-51/esp-idf/components/wpa_supplicant /home/yanke/esp/esp-idf-51/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build
➜ blink git:(6f426e5d)
➜ blink git:(6f426e5d)
➜ blink git:(6f426e5d)
➜ blink git:(6f426e5d) idf.py build
Executing action: all (aliases: build)
Running ninja in directory /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build
Executing "ninja all"...
[40/962] 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,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[682/962] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/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/yanke/project/github/esp-iot-solution/examples/get-started/blink/sdkconfig
Compiler supported targets: xtensa-esp32s3-elf
-- 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/yanke/esp/esp-idf-51/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- App "bootloader" version: v5.1.4
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script /home/yanke/esp/esp-idf-51/esp-idf/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/yanke/esp/esp-idf-51/esp-idf/components/bootloader /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader_support /home/yanke/esp/esp-idf-51/esp-idf/components/efuse /home/yanke/esp/esp-idf-51/esp-idf/components/esp_app_format /home/yanke/esp/esp-idf-51/esp-idf/components/esp_common /home/yanke/esp/esp-idf-51/esp-idf/components/esp_hw_support /home/yanke/esp/esp-idf-51/esp-idf/components/esp_rom /home/yanke/esp/esp-idf-51/esp-idf/components/esp_system /home/yanke/esp/esp-idf-51/esp-idf/components/esptool_py /home/yanke/esp/esp-idf-51/esp-idf/components/freertos /home/yanke/esp/esp-idf-51/esp-idf/components/hal /home/yanke/esp/esp-idf-51/esp-idf/components/log /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader/subproject/main /home/yanke/esp/esp-idf-51/esp-idf/components/bootloader/subproject/components/micro-ecc /home/yanke/esp/esp-idf-51/esp-idf/components/newlib /home/yanke/esp/esp-idf-51/esp-idf/components/partition_table /home/yanke/esp/esp-idf-51/esp-idf/components/soc /home/yanke/esp/esp-idf-51/esp-idf/components/spi_flash /home/yanke/esp/esp-idf-51/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/bootloader
[109/110] Generating binary image from built executableesptool.py v4.7.0
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Generated /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/bootloader/bootloader.bin
[110/110] cd /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/bootloader/esp-idf/esptool_py...0 bootloader 0x0 /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/bootloader/bootloader.binBootloader binary size 0x51c0 bytes. 0x2e40 bytes (36%) free.
[781/962] Building C object esp-idf/espressif__button/CMakeFiles/__idf_espressif__button.dir/button_adc.c.obj/home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__button/button_adc.c: In function 'button_adc_init':
/home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__button/button_adc.c:198:13: warning: 'ADC_ATTEN_DB_11' is deprecated [-Wdeprecated-declarations]
198 | .atten = ADC_BUTTON_ATTEN,
| ^
In file included from /home/yanke/esp/esp-idf-51/esp-idf/components/esp_adc/include/esp_adc/adc_oneshot.h:12,
from /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__button/button_adc.c:13:
/home/yanke/esp/esp-idf-51/esp-idf/components/hal/include/hal/adc_types.h:47:5: note: declared here
47 | ADC_ATTEN_DB_11 __attribute__((deprecated)) = ADC_ATTEN_DB_12, ///<This is deprecated, it behaves the same as `ADC_ATTEN_DB_12`
| ^~~~~~~~~~~~~~~
/home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__button/button_adc.c:203:9: warning: 'ADC_ATTEN_DB_11' is deprecated [-Wdeprecated-declarations]
203 | ret = adc_calibration_init(ADC_BUTTON_ADC_UNIT, ADC_BUTTON_ATTEN, &g_button.adc1_cali_handle);
| ^~~
/home/yanke/esp/esp-idf-51/esp-idf/components/hal/include/hal/adc_types.h:47:5: note: declared here
47 | ADC_ATTEN_DB_11 __attribute__((deprecated)) = ADC_ATTEN_DB_12, ///<This is deprecated, it behaves the same as `ADC_ATTEN_DB_12`
| ^~~~~~~~~~~~~~~
[935/962] Building C object esp-idf/espressif__led_strip/CMakeFiles/__idf_espressif__led_strip.dir/led_strip_rmt_ws2812.c.objIn file included from /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/managed_components/espressif__led_strip/led_strip_rmt_ws2812.c:20:
/home/yanke/esp/esp-idf-51/esp-idf/components/driver/deprecated/driver/rmt.h:18:2: warning: #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h" [-Wcpp]
18 | #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h"
| ^~~~~~~
[937/962] Building C object esp-idf/boards/CMakeFiles/__idf_boards.dir/esp32s3_usb_otg_ev/board_esp32s3_usb_otg_ev.c.objIn file included from /home/yanke/project/github/esp-iot-solution/examples/common_components/boards/esp32s3_usb_otg_ev/board_esp32s3_usb_otg_ev.c:9:
/home/yanke/esp/esp-idf-51/esp-idf/components/driver/deprecated/driver/adc.h:19:2: warning: #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-Wcpp]
19 | #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively"
| ^~~~~~~
In file included from /home/yanke/project/github/esp-iot-solution/examples/common_components/boards/esp32s3_usb_otg_ev/board_esp32s3_usb_otg_ev.c:10:
/home/yanke/esp/esp-idf-51/esp-idf/components/esp_adc/deprecated/include/esp_adc_cal.h:17:2: warning: #warning "legacy adc calibration driver is deprecated, please migrate to use esp_adc/adc_cali.h and esp_adc/adc_cali_scheme.h" [-Wcpp]
17 | #warning "legacy adc calibration driver is deprecated, please migrate to use esp_adc/adc_cali.h and esp_adc/adc_cali_scheme.h"
| ^~~~~~~
[949/962] Building C object esp-idf/bus/CMakeFiles/__idf_bus.dir/8080_lcd_esp32s3.c.objIn file included from /home/yanke/project/github/esp-iot-solution/components/bus/include/i2s_lcd_driver.h:10,
from /home/yanke/project/github/esp-iot-solution/components/bus/8080_lcd_esp32s3.c:29:
/home/yanke/esp/esp-idf-51/esp-idf/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress leagcy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-Wcpp]
27 | #warning "This set of I2S APIs has been deprecated, \
| ^~~~~~~
[961/962] Generating binary image from built executableesptool.py v4.7.0
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/blink.bin
[962/962] cd /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/esp-idf/esptool_py && /home/y...tition_table/partition-table.bin /home/yanke/project/github/esp-iot-solution/examples/get-started/blink/build/blink.binblink.bin binary size 0x39110 bytes. Smallest app partition is 0x100000 bytes. 0xc6ef0 bytes (78%) free.
Project build complete. To flash, run this command:
/home/yanke/.espressif/python_env/idf5.1_py3.10_env/bin/python ../../../../../../esp/esp-idf-51/esp-idf/components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/blink.bin
or run 'idf.py -p (PORT) flash' |
@yangjinyiyiyi 电脑没有联网?需要在网络环境下编译,因为包管理器会在编译过程中下载依赖的软件包 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answers checklist.
IDF version.
5.1.4
Espressif SoC revision.
ESP32S3
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
esp32s3模组
Steps to reproduce.
Build Logs.
No response
More Information.
idf-component-manager 1.5.2和1.4.2都尝试过,都不行,还是报错。esp-iot-solution里的例程编译都会报错
The text was updated successfully, but these errors were encountered: