Skip to content
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

Projects using ESP-IDF don't build with the 2024.12 betas #42

Open
rccoleman opened this issue Dec 15, 2024 · 19 comments
Open

Projects using ESP-IDF don't build with the 2024.12 betas #42

rccoleman opened this issue Dec 15, 2024 · 19 comments

Comments

@rccoleman
Copy link

rccoleman commented Dec 15, 2024

The problem

None of my Assist projects build with the ESPHome 2024.12 betas. They all fail with a build error in ESP-IDF related to the JSMN component.

Which version of ESPHome has the issue?

2024.12.0b0/b1/b2

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

2024.12.0b3

What platform are you using?

ESP32-IDF

Board

ESP32-S3-Box-3

Component causing the issue

jsnm

YAML Config

Top-level config:

substitutions:
  name: fr-esp32-s3
  friendly_name: Family Room ESP32-S3

esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}

packages:
  esp32-s3-box-3: !include wake-word-voice-assistants/esp32-s3-box-3/esp32-s3-box-3.yaml

# Enable logging
logger:

# Enable Home Assistant API
api:

audio:

ota:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:

captive_portal:

button:
  - platform: restart
    name: "Restart"

Using the stock MWW ESP32-S3-Box-3 config: https://github.com/esphome/wake-word-voice-assistants/blob/main/esp32-s3-box-3/esp32-s3-box-3.yaml

Anything in the logs that might be useful for us?

(venv) rcoleman@rcoleman-linux ~/esphome % esphome run --no-logs ./fr-esp32-s3-box-3.yaml
INFO ESPHome 2024.12.0b2
INFO Reading configuration ./fr-esp32-s3-box-3.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/jesserockz/esp32-s3-box-3-board.git@main
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing fr-esp32-s3 (board: esp32s3box; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
------------------------------------------------------------------------------------------------------------------------------
Library Manager: Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0
INFO Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0
Unpacking  [####################################]  100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
 - framework-espidf @ 3.50105.0 (5.1.5) 
 - tool-cmake @ 3.21.3 
 - tool-esptoolpy @ 4.8.1 
 - tool-mklittlefs @ 3.2.0 
 - tool-ninja @ 1.7.1 
 - tool-riscv32-esp-elf-gdb @ 12.1.0+20221002 
 - tool-xtensa-esp-elf-gdb @ 12.1.0+20221002 
 - toolchain-esp32ulp @ 2.35.0-20220830 
 - toolchain-riscv32-esp @ 12.2.0+20230208 
 - toolchain-xtensa-esp32s3 @ 12.2.0+20230208
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version "2.39.5") 
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- 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/rcoleman/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/rcoleman/.platformio/packages/toolchain-xtensa-esp32s3/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/rcoleman/.platformio/packages/toolchain-xtensa-esp32s3/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.
.....NOTICE: Updating lock file at /home/rcoleman/esphome/.esphome/build/fr-esp32-s3/dependencies.lock
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/home/rcoleman/esphome/.esphome/build/fr-esp32-s3/.pioenvs/fr-esp32-s3/CMakeFiles/CMakeOutput.log".

fatal: not a git repository (or any of the parent directories): .git
CMake Error at /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
  Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
  /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
  /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
  /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
  CMakeLists.txt:3 (project)



================================================= [FAILED] Took 4.56 seconds =================================================

If I delete platformio, it ends up checking out something in detached head:

(venv) rcoleman@rcoleman-linux ~/esphome % esphome run --no-logs ./fr-esp32-s3-box-3.yaml
INFO ESPHome 2024.12.0b1
INFO Reading configuration ./fr-esp32-s3-box-3.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/jesserockz/esp32-s3-box-3-board.git@main
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
******************************************************************************************************************************
If you like PlatformIO, please:
- star it on GitHub > https://github.com/platformio/platformio-core
- follow us on LinkedIn to stay up-to-date on the latest project news > https://www.linkedin.com/company/platformio/
- try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
******************************************************************************************************************************

Processing fr-esp32-s3 (board: esp32s3box; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
INFO Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
git version 2.39.5
Cloning into '/home/rcoleman/.platformio/.cache/tmp/pkg-installing-pu7ger9v'...
remote: Enumerating objects: 914, done.
remote: Counting objects: 100% (914/914), done.
remote: Compressing objects: 100% (714/714), done.
remote: Total 914 (delta 315), reused 707 (delta 166), pack-reused 0 (from 0)
Receiving objects: 100% (914/914), 1.11 MiB | 4.56 MiB/s, done.
Resolving deltas: 100% (315/315), done.
Note: switching to 'ec17486ffa451374e108b72be07e9c8fa83338e8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Platform Manager: [email protected]+sha.ec17486 has been installed!
INFO [email protected]+sha.ec17486 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
INFO Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/toolchain-xtensa-esp32s3 @ 12.2.0+20230208
INFO Installing espressif/toolchain-xtensa-esp32s3 @ 12.2.0+20230208
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected]+20230208 has been installed!
INFO [email protected]+20230208 has been installed!
Tool Manager: Installing espressif/toolchain-riscv32-esp @ 12.2.0+20230208
INFO Installing espressif/toolchain-riscv32-esp @ 12.2.0+20230208
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected]+20230208 has been installed!
INFO [email protected]+20230208 has been installed!
Tool Manager: Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
INFO Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/tool-xtensa-esp-elf-gdb @ ~12.1.0
INFO Installing espressif/tool-xtensa-esp-elf-gdb @ ~12.1.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%
Tool Manager: [email protected]+20221002 has been installed!
INFO [email protected]+20221002 has been installed!
Tool Manager: Installing espressif/tool-riscv32-esp-elf-gdb @ ~12.1.0
INFO Installing espressif/tool-riscv32-esp-elf-gdb @ ~12.1.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%
Tool Manager: [email protected]+20221002 has been installed!
INFO [email protected]+20221002 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esptool/releases/download/v4.8.1.1/esptool.zip
INFO Installing https://github.com/pioarduino/esptool/releases/download/v4.8.1.1/esptool.zip
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing tasmota/tool-mklittlefs @ ^3.2.0
INFO Installing tasmota/tool-mklittlefs @ ^3.2.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-cmake @ ~3.21.0
INFO Installing platformio/tool-cmake @ ~3.21.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-ninja @ ^1.7.0
INFO Installing platformio/tool-ninja @ ^1.7.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40801.0
INFO Installing platformio/tool-scons @ ~4.40801.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
/home/rcoleman/esphome/.esphome/build/fr-esp32-s3/esp_adf_patches/idf_v4.4_freertos.patch
patch -p1 -d /home/rcoleman/.platformio/packages/framework-espidf -i /home/rcoleman/esphome/.esphome/build/fr-esp32-s3/esp_adf_patches/idf_v4.4_freertos.patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 37f768cfbf6ec8857917afc2435dc33aa22448e4 Mon Sep 17 00:00:00 2001
|From: xutao <[email protected]>
|Date: Mon, 7 Mar 2022 18:12:56 +0800
|Subject: [PATCH] add task create API for allocated stack in
|
|---
| components/freertos/include/freertos/task.h | 11 +++++
| components/freertos/tasks.c                 | 48 +++++++++++++++++++++
| 2 files changed, 59 insertions(+)
|
|diff --git a/components/freertos/include/freertos/task.h b/components/freertos/include/freertos/task.h
|index 73fa040526..6a5a7ad0e7 100644
|--- a/components/freertos/include/freertos/task.h
|+++ b/components/freertos/include/freertos/task.h
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/components/freertos/tasks.c b/components/freertos/tasks.c
|index 8035025480..26d6b441b0 100644
|--- a/components/freertos/tasks.c
|+++ b/components/freertos/tasks.c
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
*** Error 1
<lambda>([], [])
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
 - framework-espidf @ 3.50105.0 (5.1.5) 
 - tool-cmake @ 3.21.3 
 - tool-esptoolpy @ 4.8.1 
 - tool-mklittlefs @ 3.2.0 
 - tool-ninja @ 1.7.1 
 - tool-riscv32-esp-elf-gdb @ 12.1.0+20221002 
 - tool-xtensa-esp-elf-gdb @ 12.1.0+20221002 
 - toolchain-esp32ulp @ 2.35.0-20220830 
 - toolchain-riscv32-esp @ 12.2.0+20230208 
 - toolchain-xtensa-esp32s3 @ 12.2.0+20230208
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF's Python dependencies
Collecting wheel>=0.35.1
  Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Collecting urllib3<2
  Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Collecting cryptography~=41.0.1
  Using cached cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB)
Collecting future>=0.18.3
  Using cached future-1.0.0-py3-none-any.whl (491 kB)
Collecting pyparsing<4,>=3.1.0
  Using cached pyparsing-3.2.0-py3-none-any.whl (106 kB)
Collecting kconfiglib~=14.1.0
  Using cached kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
Collecting idf-component-manager~=2.0.1
  Using cached idf_component_manager-2.0.4-py3-none-any.whl (151 kB)
Collecting esp-idf-kconfig<2.0.0,>=1.4.2
  Using cached esp_idf_kconfig-1.5.0-py3-none-any.whl (44 kB)
Collecting cffi>=1.12
  Using cached cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (467 kB)
Collecting click
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting colorama
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting pyyaml
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Collecting requests
  Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Collecting requests-file
  Using cached requests_file-2.1.0-py2.py3-none-any.whl (4.2 kB)
Collecting requests-toolbelt
  Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Collecting tqdm
  Using cached tqdm-4.67.1-py3-none-any.whl (78 kB)
Collecting jsonref
  Using cached jsonref-1.1.0-py3-none-any.whl (9.4 kB)
Collecting pydantic
  Using cached pydantic-2.10.3-py3-none-any.whl (456 kB)
Collecting pydantic-core
  Using cached pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Collecting pydantic-settings
  Using cached pydantic_settings-2.7.0-py3-none-any.whl (29 kB)
Collecting typing-extensions
  Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting pycparser
  Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Collecting annotated-types>=0.6.0
  Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Collecting python-dotenv>=0.21.0
  Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.10-py3-none-any.whl (70 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)
Installing collected packages: wheel, urllib3, typing-extensions, tqdm, pyyaml, python-dotenv, pyparsing, pycparser, kconfiglib, jsonref, idna, future, colorama, click, charset-normalizer, certifi, annotated-types, requests, pydantic-core, esp-idf-kconfig, cffi, requests-toolbelt, requests-file, pydantic, cryptography, pydantic-settings, idf-component-manager
Successfully installed annotated-types-0.7.0 certifi-2024.12.14 cffi-1.17.1 charset-normalizer-3.4.0 click-8.1.7 colorama-0.4.6 cryptography-41.0.7 esp-idf-kconfig-1.5.0 future-1.0.0 idf-component-manager-2.0.4 idna-3.10 jsonref-1.1.0 kconfiglib-14.1.0 pycparser-2.22 pydantic-2.10.3 pydantic-core-2.27.1 pydantic-settings-2.7.0 pyparsing-3.2.0 python-dotenv-1.0.1 pyyaml-6.0.2 requests-2.32.3 requests-file-2.1.0 requests-toolbelt-1.0.0 tqdm-4.67.1 typing-extensions-4.12.2 urllib3-1.26.20 wheel-0.45.1
Reading CMake configuration...
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Building ESP-IDF components for target esp32s3
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/home/rcoleman/esphome/.esphome/build/fr-esp32-s3/.pioenvs/fr-esp32-s3/CMakeFiles/CMakeOutput.log".

fatal: not a git repository (or any of the parent directories): .git
CMake Error at /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
  Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
  /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
  /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
  /home/rcoleman/.platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
  CMakeLists.txt:3 (project)



================================================ [FAILED] Took 86.56 seconds ===============================================

Additional information

If I install ESPHome 2024.11.3, the same projects build and install just fine. I get the same failure if I just try to build exactly the released config from https://github.com/esphome/wake-word-voice-assistants/blob/main/esp32-s3-box-3/esp32-s3-box-3.yaml as is.

@jesserockz jesserockz transferred this issue from esphome/issues Dec 16, 2024
@jesserockz
Copy link
Member

To use the s3 boxes with ESPHome 2024.12 or above will require some reworking of the audio drivers due to the craziness of esp-adf and esp-idf. Work has begun on this to remove the esp-adf dependency but is not complete yet. There is no timeline available.

Jesse

@rccoleman
Copy link
Author

I see the same behavior with the M5Stack Atom Echo clean build (not an ESP32-S3). Is that expected? My Onju devices fail the same way, but that's another ESP32-S3. Basically, all of my assist devices fail in the same way now with the beta.

rcoleman@rcoleman-linux ...docker/esphome/config % ./install office-assist.yaml     
INFO ESPHome 2024.12.0b2
INFO Reading configuration office-assist.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
INFO Generating C++ source...
INFO Core config, version or integrations changed, cleaning build files...
INFO Cloning https://github.com/espressif/[email protected]
INFO Fetching mdns-v1.3.2
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing office-assist (board: m5stack-atom; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
---------------------------------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
INFO Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
git version 2.39.5
Cloning into '/root/.platformio/.cache/tmp/pkg-installing-ivunrjin'...
remote: Enumerating objects: 914, done.
remote: Counting objects: 100% (914/914), done.
remote: Compressing objects: 100% (719/719), done.
remote: Total 914 (delta 315), reused 702 (delta 161), pack-reused 0 (from 0)
Receiving objects: 100% (914/914), 1.11 MiB | 4.69 MiB/s, done.
Resolving deltas: 100% (315/315), done.
Note: switching to 'ec17486ffa451374e108b72be07e9c8fa83338e8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Platform Manager: [email protected]+sha.ec17486 has been installed!
INFO [email protected]+sha.ec17486 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
INFO Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/toolchain-xtensa-esp32 @ 12.2.0+20230208
INFO Installing espressif/toolchain-xtensa-esp32 @ 12.2.0+20230208
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected]+20230208 has been installed!
INFO [email protected]+20230208 has been installed!
Tool Manager: Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
INFO Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/tool-xtensa-esp-elf-gdb @ ~12.1.0
INFO Installing espressif/tool-xtensa-esp-elf-gdb @ ~12.1.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%          
Tool Manager: [email protected]+20221002 has been installed!
INFO [email protected]+20221002 has been installed!
Tool Manager: Installing espressif/tool-riscv32-esp-elf-gdb @ ~12.1.0
INFO Installing espressif/tool-riscv32-esp-elf-gdb @ ~12.1.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected]+20221002 has been installed!
INFO [email protected]+20221002 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esptool/releases/download/v4.8.1.1/esptool.zip
INFO Installing https://github.com/pioarduino/esptool/releases/download/v4.8.1.1/esptool.zip
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing tasmota/tool-mklittlefs @ ^3.2.0
INFO Installing tasmota/tool-mklittlefs @ ^3.2.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-cmake @ ~3.21.0
INFO Installing platformio/tool-cmake @ ~3.21.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%          
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-ninja @ ^1.7.0
INFO Installing platformio/tool-ninja @ ^1.7.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40801.0
INFO Installing platformio/tool-scons @ ~4.40801.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0
INFO Installing kahrendt/ESPMicroSpeechFeatures @ 1.1.0
Unpacking  [####################################]  100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - framework-espidf @ 3.50105.0 (5.1.5) 
 - tool-cmake @ 3.21.3 
 - tool-esptoolpy @ 4.8.1 
 - tool-mklittlefs @ 3.2.0 
 - tool-ninja @ 1.7.1 
 - tool-riscv32-esp-elf-gdb @ 12.1.0+20221002 
 - tool-xtensa-esp-elf-gdb @ 12.1.0+20221002 
 - toolchain-esp32ulp @ 2.35.0-20220830 
 - toolchain-xtensa-esp32 @ 12.2.0+20230208
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF's Python dependencies
Collecting wheel>=0.35.1
  Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 kB 2.5 MB/s eta 0:00:00
Collecting urllib3<2
  Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.2/144.2 kB 8.6 MB/s eta 0:00:00
Collecting cryptography~=41.0.1
  Downloading cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 36.2 MB/s eta 0:00:00
Collecting future>=0.18.3
  Downloading future-1.0.0-py3-none-any.whl (491 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 26.4 MB/s eta 0:00:00
Collecting pyparsing<4,>=3.1.0
  Downloading pyparsing-3.2.0-py3-none-any.whl (106 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.9/106.9 kB 19.9 MB/s eta 0:00:00
Collecting kconfiglib~=14.1.0
  Downloading kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.9/145.9 kB 19.5 MB/s eta 0:00:00
Collecting idf-component-manager~=2.0.1
  Downloading idf_component_manager-2.0.4-py3-none-any.whl (151 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.3/151.3 kB 17.8 MB/s eta 0:00:00
Collecting esp-idf-kconfig<2.0.0,>=1.4.2
  Downloading esp_idf_kconfig-1.5.0-py3-none-any.whl (44 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.9/44.9 kB 4.5 MB/s eta 0:00:00
Collecting cffi>=1.12
  Downloading cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (467 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 467.2/467.2 kB 27.2 MB/s eta 0:00:00
Collecting click
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 15.0 MB/s eta 0:00:00
Collecting colorama
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting pyyaml
  Downloading PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 763.0/763.0 kB 32.0 MB/s eta 0:00:00
Collecting requests
  Downloading requests-2.32.3-py3-none-any.whl (64 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 9.6 MB/s eta 0:00:00
Collecting requests-file
  Downloading requests_file-2.1.0-py2.py3-none-any.whl (4.2 kB)
Collecting requests-toolbelt
  Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 kB 10.3 MB/s eta 0:00:00
Collecting tqdm
  Downloading tqdm-4.67.1-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 11.1 MB/s eta 0:00:00
Collecting jsonref
  Downloading jsonref-1.1.0-py3-none-any.whl (9.4 kB)
Collecting pydantic
  Downloading pydantic-2.10.3-py3-none-any.whl (456 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 457.0/457.0 kB 34.5 MB/s eta 0:00:00
Collecting pydantic-core
  Downloading pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 39.9 MB/s eta 0:00:00
Collecting pydantic-settings
  Downloading pydantic_settings-2.7.0-py3-none-any.whl (29 kB)
Collecting typing-extensions
  Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Collecting pycparser
  Downloading pycparser-2.22-py3-none-any.whl (117 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 23.0 MB/s eta 0:00:00
Collecting annotated-types>=0.6.0
  Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)
Collecting python-dotenv>=0.21.0
  Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.6/142.6 kB 17.3 MB/s eta 0:00:00
Collecting idna<4,>=2.5
  Downloading idna-3.10-py3-none-any.whl (70 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 13.1 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
  Downloading certifi-2024.12.14-py3-none-any.whl (164 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.9/164.9 kB 24.1 MB/s eta 0:00:00
Installing collected packages: wheel, urllib3, typing-extensions, tqdm, pyyaml, python-dotenv, pyparsing, pycparser, kconfiglib, jsonref, idna, future, colorama, click, charset-normalizer, certifi, annotated-types, requests, pydantic-core, esp-idf-kconfig, cffi, requests-toolbelt, requests-file, pydantic, cryptography, pydantic-settings, idf-component-manager
Successfully installed annotated-types-0.7.0 certifi-2024.12.14 cffi-1.17.1 charset-normalizer-3.4.0 click-8.1.7 colorama-0.4.6 cryptography-41.0.7 esp-idf-kconfig-1.5.0 future-1.0.0 idf-component-manager-2.0.4 idna-3.10 jsonref-1.1.0 kconfiglib-14.1.0 pycparser-2.22 pydantic-2.10.3 pydantic-core-2.27.1 pydantic-settings-2.7.0 pyparsing-3.2.0 python-dotenv-1.0.1 pyyaml-6.0.2 requests-2.32.3 requests-file-2.1.0 requests-toolbelt-1.0.0 tqdm-4.67.1 typing-extensions-4.12.2 urllib3-1.26.20 wheel-0.45.1
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version "2.39.5") 
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- 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: /root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-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: /root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
.....NOTICE: Updating lock file at /config/.esphome/build/office-assist/dependencies.lock
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/config/.esphome/build/office-assist/.pioenvs/office-assist/CMakeFiles/CMakeOutput.log".

fatal: not a git repository (or any of the parent directories): .git
CMake Error at /root/.platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
  Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
  /root/.platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
  /root/.platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
  /root/.platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
  CMakeLists.txt:3 (project)



============================================================== [FAILED] Took 82.34 seconds ==============================================================

@BigBobbas
Copy link
Contributor

BigBobbas commented Dec 17, 2024

defining

  framework:
    type: esp-idf
    version: 4.4.8
    platform_version: 5.4.0
will compile on the S3-Box-3 Project firmware - not tested on Echo but assume it's the same deal
** edit also applies to M5 Stack Atom Echo

@sejnub
Copy link

sejnub commented Dec 18, 2024

  framework:
    type: esp-idf
    version: 4.4.8
    platform_version: 5.4.0

That fixed it for me on the Atom echo.
Thanks!

@sla004
Copy link

sla004 commented Dec 18, 2024

  framework:
    type: esp-idf
    version: 4.4.8
    platform_version: 5.4.0

That fixed it for me on the Atom echo. Thanks!

Where did you set this?

@daxy01
Copy link

daxy01 commented Dec 18, 2024

In your .yaml config file.
Right here:

esp32:
  board: m5stack-atom
  framework:
    type: esp-idf
    version: 4.4.8
    platform_version: 5.4.0

@Mariusthvdb
Copy link

Mariusthvdb commented Dec 18, 2024

my Echo suffers this too I am afraid, and I am discussing this in Discord, but not been able to solve it yet (clean build files from Esphome dashboard ).

my yaml is

substitutions:
  name: m5stack-atom-echo-a82d10
  friendly_name: M5Stack Atom Echo a82d10
packages:
  m5stack.atom-echo-voice-assistant:
    url: https://github.com/esphome/firmware.git
    file: voice-assistant/m5stack-atom-echo.adopted.yaml
    ref: main
    refresh: 0s
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: jCb/oWvredacted

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

sensor:
  # Uptime sensor.
  - platform: uptime
    id: sensor_uptime_echo_library
    name: ${name} wifi uptime
  - platform: template
    id: sensor_free_memory_echo_library
    name: ${name} Free Memory
    lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
    unit_of_measurement: B
    state_class: measurement

so where do I add the esp32: key, given it is not there at all yet? should I just add it to the top level?

@BigBobbas
Copy link
Contributor

BigBobbas commented Dec 18, 2024

if using the adopted firmware from a project install and don't have the esp32: block, you can add the following

esp32:
  board: m5stack-atom
  framework:
    type: esp-idf
    version: 4.4.8
    platform_version: 5.4.0

also for reference the full device config can be found here (without edited framework) -> https://github.com/esphome/wake-word-voice-assistants/blob/main/m5stack-atom-echo/m5stack-atom-echo.yaml

@Mariusthvdb
Copy link

Mariusthvdb commented Dec 18, 2024

thanks BB, for now I have removed and reinstalled the Add-on, as I was instructed that should clean the build files (and probably downloads them again?)

I had been relocated to https://github.com/esphome/firmware/tree/main/voice-assistant/ under the link to GitHub, so that seems to be not the same as your link above.

all in all this seems way more involved, than simply hitting the update button, I hope this process will get some love. Not a tinkerer myself at all, not a complete noob either..

@eamonnsullivan
Copy link

Pinning the idf version, as suggested in this comment, does work for me, but I then get a warning in the logs.

WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.

@BigBobbas
Copy link
Contributor

@eamonnsullivan the warning can be ignored it is just pointing out that the version you have defined is not the same as the one used by default.

@Mariusthvdb
Copy link

Mariusthvdb commented Dec 19, 2024

fwiw, I didnt manage to update the Atom Echo and ignored the repair in Home Assistant for now.
hope there will be a fix for this in the future updates

so, today, after updating Esphome (why on earth was that renamed to 'ESPHome device builder' .....) I tried it once more and at first got this again

WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.

but somehow it didnt abort, and finished after all with

Scherm­afbeelding 2024-12-19 om 12 14 50

device seems to be working alright, and can even command the assist

got to say I am glad its working again, but all in all a mixed user experience (understatement)

@Clasper101
Copy link

This:
framework:
type: esp-idf
version: 4.4.8
platform_version: 5.4.0
worked for my Atom Echo's but not my S3Box3.
I get this error:
Reading CMake configuration...
-- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'
-- Building ESP-IDF components for target esp32s3
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/data/build/voice-lounge/.pioenvs/voice-lounge/CMakeFiles/CMakeOutput.log".

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /data/cache/platformio/packages/framework-espidf@src-6e6cd5244a43bdfe453daac50cfe73b6/tools/cmake/build.cmake:266 (message):
Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
/data/cache/platformio/packages/framework-espidf@src-6e6cd5244a43bdfe453daac50cfe73b6/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
/data/cache/platformio/packages/framework-espidf@src-6e6cd5244a43bdfe453daac50cfe73b6/tools/cmake/build.cmake:603 (__build_expand_requirements)
/data/cache/platformio/packages/framework-espidf@src-6e6cd5244a43bdfe453daac50cfe73b6/tools/cmake/project.cmake:604 (idf_build_process)
CMakeLists.txt:3 (project)

This applies to both 2024.12.1 and 2024.12.2 updates

@Clasper101
Copy link

I've just re-tried to install on my S3Box3 and got an error again, although a different one, it got a lot further into the compiling before it failed. The log is below.
INFO ESPHome 2024.12.2
INFO Reading configuration /config/esphome/voice-lounge.yaml...
INFO Updating https://github.com/esphome/esphome.git@pull/5230/head
INFO Updating https://github.com/jesserockz/esphome-components.git@None
WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
WARNING The selected ESP-IDF framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Updating https://github.com/jesserockz/esp32-s3-box-3-board.git@main
INFO Updating https://github.com/espressif/[email protected]
INFO Updating submodules (components/esp-sr, components/esp-adf-libs) for https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing voice-lounge (board: esp32s3box; framework: espidf; platform: platformio/[email protected])

HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash

  • framework-espidf @ 3.40408.0 (4.4.8)
  • tool-cmake @ 3.16.4
  • tool-ninja @ 1.7.1
  • toolchain-esp32ulp @ 2.35.0-20220830
  • toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
  • toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
    Reading CMake configuration...
    Generating assembly for certificate bundle...
    Dependency Graph
    |-- noise-c @ 0.1.6
    |-- ESPMicroSpeechFeatures @ 1.1.0
    Generating assembly for .pioenvs/voice-lounge/duer_profile.S
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/api_connection.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/api_frame_helper.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/api_pb2.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/api_pb2_service.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/api_server.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/list_entities.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/proto.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/subscribe_state.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/api/user_services.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/binary_sensor/automation.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/binary_sensor/binary_sensor.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/binary_sensor/filter.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/button/button.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/captive_portal/captive_portal.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/display/display.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/display/display_buffer.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/display/rect.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/esp32/core.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/esp32/gpio.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/esp32/preferences.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/esp_adf/esp_adf.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/esp_adf/microphone/esp_adf_microphone.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/esp_adf/speaker/esp_adf_speaker.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/esphome/ota/ota_esphome.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/factory_reset/button/factory_reset_button.o
    src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp: In static member function 'static void esphome::esp_adf::ESPADFMicrophone::read_task(void*)':
    src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:110:3: warning: missing initializer for member 'i2s_driver_config_t::chan_mask' [-Wmissing-field-initializers]
    };
    ^
    src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:110:3: warning: missing initializer for member 'i2s_driver_config_t::total_chan' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:110:3: warning: missing initializer for member 'i2s_driver_config_t::left_align' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:110:3: warning: missing initializer for member 'i2s_driver_config_t::big_edin' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:110:3: warning: missing initializer for member 'i2s_driver_config_t::bit_order_msb' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:110:3: warning: missing initializer for member 'i2s_driver_config_t::skip_msk' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp: In static member function 'static void esphome::esp_adf::ESPADFSpeaker::player_task(void*)':
    src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:77:3: warning: missing initializer for member 'i2s_driver_config_t::chan_mask' [-Wmissing-field-initializers]
    };
    ^
    src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:77:3: warning: missing initializer for member 'i2s_driver_config_t::total_chan' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:77:3: warning: missing initializer for member 'i2s_driver_config_t::left_align' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:77:3: warning: missing initializer for member 'i2s_driver_config_t::big_edin' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:77:3: warning: missing initializer for member 'i2s_driver_config_t::bit_order_msb' [-Wmissing-field-initializers]
    src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:77:3: warning: missing initializer for member 'i2s_driver_config_t::skip_msk' [-Wmissing-field-initializers]
    Compiling .pioenvs/voice-lounge/src/esphome/components/font/font.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/gpio/binary_sensor/gpio_binary_sensor.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ili9xxx/ili9xxx_display.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/image/image.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ledc/ledc_output.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/addressable_light.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/automation.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/esp_color_correction.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/esp_hsv_color.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/esp_range_view.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/light_call.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/light_json_schema.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/light_output.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/light/light_state.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/logger/logger.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/logger/logger_esp32.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/logger/logger_esp8266.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/logger/logger_host.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/logger/logger_libretiny.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/logger/logger_rp2040.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/md5/md5.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/mdns/mdns_component.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/mdns/mdns_esp32.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/mdns/mdns_esp8266.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/mdns/mdns_host.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/mdns/mdns_libretiny.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/mdns/mdns_rp2040.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/micro_wake_word/micro_wake_word.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/micro_wake_word/streaming_model.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/network/util.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ota/ota_backend.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ota/ota_backend_arduino_esp32.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ota/ota_backend_arduino_esp8266.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ota/ota_backend_arduino_libretiny.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ota/ota_backend_arduino_rp2040.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/ota/ota_backend_esp_idf.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/output/automation.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/output/float_output.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/psram/psram.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/safe_mode/safe_mode.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/script/script.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/select/select.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/select/select_call.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/select/select_traits.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/socket/bsd_sockets_impl.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/socket/lwip_raw_tcp_impl.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/socket/lwip_sockets_impl.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/socket/socket.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/spi/spi.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/spi/spi_arduino.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/spi/spi_esp_idf.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/switch/automation.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/switch/switch.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/template/select/template_select.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/template/switch/template_switch.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/template/text_sensor/template_text_sensor.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/text_sensor/filter.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/text_sensor/text_sensor.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/voice_assistant/voice_assistant.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/web_server_base/web_server_base.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/web_server_idf/utils.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/web_server_idf/web_server_idf.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/wifi/wifi_component.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/wifi/wifi_component_esp32_arduino.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/wifi/wifi_component_esp8266.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/wifi/wifi_component_esp_idf.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/wifi/wifi_component_libretiny.o
    Compiling .pioenvs/voice-lounge/src/esphome/components/wifi/wifi_component_pico_w.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/application.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/color.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/component.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/component_iterator.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/controller.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/entity_base.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/helpers.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/log.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/ring_buffer.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/scheduler.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/string_ref.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/time.o
    Compiling .pioenvs/voice-lounge/src/esphome/core/util.o
    Compiling .pioenvs/voice-lounge/src/main.o
    Generating LD script .pioenvs/voice-lounge/memory.ld
    Compiling .pioenvs/voice-lounge/components/adf_utils/json_utils.o
    Compiling .pioenvs/voice-lounge/components/adf_utils/cloud_services/aws_sig_v4_signing.o
    Compiling .pioenvs/voice-lounge/components/adf_utils/cloud_services/baidu_access_token.o
    Compiling .pioenvs/voice-lounge/app_trace/app_trace.o
    Archiving .pioenvs/voice-lounge/esp-idf/adf_utils/libadf_utils.a
    Compiling .pioenvs/voice-lounge/app_trace/app_trace_util.o
    Compiling .pioenvs/voice-lounge/app_trace/host_file_io.o
    Compiling .pioenvs/voice-lounge/app_trace/gcov/gcov_rtio.o
    Compiling .pioenvs/voice-lounge/app_update/esp_ota_ops.o
    Archiving .pioenvs/voice-lounge/esp-idf/app_trace/libapp_trace.a
    Compiling .pioenvs/voice-lounge/app_update/esp_app_desc.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/audio_hal.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/audio_volume.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es8388/es8388.o
    Archiving .pioenvs/voice-lounge/esp-idf/app_update/libapp_update.a
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es8388/headphone_detect.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es8374/es8374.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es8311/es8311.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es8156/es8156.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es7243/es7243.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es7148/es7148.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es7210/es7210.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/es7243e/es7243e.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/tas5805m/tas5805m.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/zl38063.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/api_lib/vprocTwolf_access.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/api_lib/vproc_common.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/example_apps/tw_hal_verify.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/example_apps/tw_ldcfg.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/example_apps/tw_ldfw.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/example_apps/tw_ldfwcfg.o
    Compiling .pioenvs/voice-lounge/components/audio_hal/driver/zl38063/example_apps/tw_spi_access.o
    Compiling .pioenvs/voice-lounge/components/audio_pipeline/audio_element.o
    Compiling .pioenvs/voice-lounge/components/audio_pipeline/audio_event_iface.o
    Archiving .pioenvs/voice-lounge/esp-idf/audio_hal/libaudio_hal.a
    Compiling .pioenvs/voice-lounge/components/audio_pipeline/audio_pipeline.o
    Compiling .pioenvs/voice-lounge/components/audio_pipeline/ringbuf.o
    Compiling .pioenvs/voice-lounge/components/audio_recorder/recorder_encoder.o
    Compiling .pioenvs/voice-lounge/components/audio_recorder/audio_recorder.o
    Archiving .pioenvs/voice-lounge/esp-idf/audio_pipeline/libaudio_pipeline.a
    Compiling .pioenvs/voice-lounge/components/audio_recorder/recorder_sr.o
    Compiling .pioenvs/voice-lounge/components/audio_sal/audio_mem.o
    Compiling .pioenvs/voice-lounge/components/audio_sal/audio_sys.o
    Compiling .pioenvs/voice-lounge/components/audio_sal/audio_thread.o
    Archiving .pioenvs/voice-lounge/esp-idf/audio_recorder/libaudio_recorder.a
    Compiling .pioenvs/voice-lounge/components/audio_sal/audio_url.o
    Compiling .pioenvs/voice-lounge/components/audio_sal/audio_mutex.o
    Compiling .pioenvs/voice-lounge/components/audio_sal/audio_queue.o
    Compiling .pioenvs/voice-lounge/components/audio_sal/media_os_ctype.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/fatfs_stream.o
    Archiving .pioenvs/voice-lounge/esp-idf/audio_sal/libaudio_sal.a
    Compiling .pioenvs/voice-lounge/components/audio_stream/i2s_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/http_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/http_playlist.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/raw_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/spiffs_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/tone_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/tcp_client_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/embed_flash_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/pwm_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/lib/hls/hls_parse.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/lib/hls/hls_playlist.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/lib/hls/line_reader.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/lib/hls/join_path.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/lib/gzip/gzip_miniz.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/algorithm_stream.o
    Compiling .pioenvs/voice-lounge/components/audio_stream/tts_stream.o
    Compiling .pioenvs/voice-lounge/components/battery_service/battery_service.o
    Compiling .pioenvs/voice-lounge/components/battery_service/monitors/voltage_monitor.o
    Archiving .pioenvs/voice-lounge/esp-idf/audio_stream/libaudio_stream.a
    Compiling .pioenvs/voice-lounge/components/bluetooth_service/bluetooth_service.o
    Compiling .pioenvs/voice-lounge/components/bluetooth_service/bt_keycontrol.o
    Compiling .pioenvs/voice-lounge/components/bluetooth_service/a2dp_stream.o
    Archiving .pioenvs/voice-lounge/esp-idf/battery_service/libbattery_service.a
    Compiling .pioenvs/voice-lounge/components/bluetooth_service/hfp_stream.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_common.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_common_loader.o
    Archiving .pioenvs/voice-lounge/esp-idf/bluetooth_service/libbluetooth_service.a
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_clock_init.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_flash.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_mem.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_random.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_random_esp32s3.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_utility.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/esp_image_format.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/flash_encrypt.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/secure_boot.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/flash_partitions.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/flash_qio_mode.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_flash_config_esp32s3.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/bootloader_efuse.o
    Compiling .pioenvs/voice-lounge/bootloader_support/src/idf/bootloader_sha.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborencoder_close_container_checked.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborencoder.o
    Archiving .pioenvs/voice-lounge/esp-idf/bootloader_support/libbootloader_support.a
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborerrorstrings.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborparser_dup_string.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborparser.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborpretty_stdio.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborpretty.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cbortojson.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/cborvalidation.o
    Compiling .pioenvs/voice-lounge/cbor/tinycbor/src/open_memstream.o
    Compiling .pioenvs/voice-lounge/cmock/CMock/src/cmock.o
    Compiling .pioenvs/voice-lounge/console/commands.o
    Archiving .pioenvs/voice-lounge/esp-idf/cmock/libcmock.a
    Compiling .pioenvs/voice-lounge/console/esp_console_repl.o
    Archiving .pioenvs/voice-lounge/esp-idf/cbor/libcbor.a
    Compiling .pioenvs/voice-lounge/console/split_argv.o
    Compiling .pioenvs/voice-lounge/console/linenoise/linenoise.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_cmd.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_date.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_dbl.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_dstr.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_end.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_file.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_hashtable.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_int.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_lit.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_rem.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_rex.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_str.o
    Compiling .pioenvs/voice-lounge/console/argtable3/arg_utils.o
    Compiling .pioenvs/voice-lounge/console/argtable3/argtable3.o
    Compiling .pioenvs/voice-lounge/components/coredump_upload_service/coredump_upload_service.o
    Compiling .pioenvs/voice-lounge/cxx/cxx_exception_stubs.o
    Archiving .pioenvs/voice-lounge/esp-idf/console/libconsole.a
    Compiling .pioenvs/voice-lounge/cxx/cxx_guards.o
    Compiling .pioenvs/voice-lounge/components/display_service/display_service.o
    Archiving .pioenvs/voice-lounge/esp-idf/coredump_upload_service/libcoredump_upload_service.a
    Compiling .pioenvs/voice-lounge/components/display_service/led_indicator/led_indicator.o
    Archiving .pioenvs/voice-lounge/esp-idf/cxx/libcxx.a
    Compiling .pioenvs/voice-lounge/components/display_service/led_bar/led_bar_is31x.o
    Compiling .pioenvs/voice-lounge/components/display_service/led_bar/led_bar_aw2013.o
    Compiling .pioenvs/voice-lounge/components/display_service/led_bar/led_bar_ws2812.o
    Compiling .pioenvs/voice-lounge/driver/gpio.o
    Compiling .pioenvs/voice-lounge/driver/i2c.o
    Archiving .pioenvs/voice-lounge/esp-idf/display_service/libdisplay_service.a
    Compiling .pioenvs/voice-lounge/driver/i2s.o
    Compiling .pioenvs/voice-lounge/driver/ledc.o
    Compiling .pioenvs/voice-lounge/driver/pcnt.o
    Compiling .pioenvs/voice-lounge/driver/periph_ctrl.o
    Compiling .pioenvs/voice-lounge/driver/rmt.o
    Compiling .pioenvs/voice-lounge/driver/rtc_io.o
    Compiling .pioenvs/voice-lounge/driver/rtc_module.o
    Compiling .pioenvs/voice-lounge/driver/sdspi_crc.o
    Compiling .pioenvs/voice-lounge/driver/sdspi_host.o
    Compiling .pioenvs/voice-lounge/driver/sdspi_transaction.o
    Compiling .pioenvs/voice-lounge/driver/sigmadelta.o
    Compiling .pioenvs/voice-lounge/driver/spi_common.o
    Compiling .pioenvs/voice-lounge/driver/spi_master.o
    Compiling .pioenvs/voice-lounge/driver/spi_slave.o
    Compiling .pioenvs/voice-lounge/driver/spi_bus_lock.o
    Compiling .pioenvs/voice-lounge/driver/timer.o
    Compiling .pioenvs/voice-lounge/driver/twai.o
    Compiling .pioenvs/voice-lounge/driver/uart.o
    Compiling .pioenvs/voice-lounge/driver/adc_common.o
    Compiling .pioenvs/voice-lounge/driver/adc.o
    Compiling .pioenvs/voice-lounge/driver/dedic_gpio.o
    Compiling .pioenvs/voice-lounge/driver/gdma.o
    Compiling .pioenvs/voice-lounge/driver/sdmmc_host.o
    Compiling .pioenvs/voice-lounge/driver/sdmmc_transaction.o
    Compiling .pioenvs/voice-lounge/driver/mcpwm.o
    Compiling .pioenvs/voice-lounge/driver/usb_serial_jtag.o
    Compiling .pioenvs/voice-lounge/driver/spi_slave_hd.o
    Compiling .pioenvs/voice-lounge/driver/touch_sensor_common.o
    Compiling .pioenvs/voice-lounge/driver/esp32s3/touch_sensor.o
    Compiling .pioenvs/voice-lounge/driver/esp32s3/rtc_tempsensor.o
    Compiling .pioenvs/voice-lounge/components/dueros_service/dueros_service.o
    Compiling .pioenvs/voice-lounge/components/dueros_service/esp_audio_device_info.o
    Archiving .pioenvs/voice-lounge/esp-idf/driver/libdriver.a
    Compiling .pioenvs/voice-lounge/.pioenvs/voice-lounge/duer_profile.o
    Compiling .pioenvs/voice-lounge/efuse/esp32s3/esp_efuse_table.o
    Compiling .pioenvs/voice-lounge/efuse/esp32s3/esp_efuse_fields.o
    Compiling .pioenvs/voice-lounge/efuse/esp32s3/esp_efuse_rtc_calib.o
    Compiling .pioenvs/voice-lounge/efuse/esp32s3/esp_efuse_utility.o
    Archiving .pioenvs/voice-lounge/esp-idf/dueros_service/libdueros_service.a
    Compiling .pioenvs/voice-lounge/efuse/src/esp_efuse_api.o
    Compiling .pioenvs/voice-lounge/efuse/src/esp_efuse_fields.o
    Compiling .pioenvs/voice-lounge/efuse/src/esp_efuse_utility.o
    Compiling .pioenvs/voice-lounge/efuse/src/esp_efuse_api_key_esp32xx.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/esp_codec/audio_alc.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/esp_codec/audio_sonic.o
    Archiving .pioenvs/voice-lounge/esp-idf/efuse/libefuse.a
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/esp_codec/audio_forge.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/esp_codec/downmix.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/esp_codec/equalizer.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/esp_codec/filter_resample.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/esp_codec/wav_encoder.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/media_lib_common.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/media_lib_os.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/port/media_lib_os_freertos.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/media_lib_adapter.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/media_lib_crypt.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/port/media_lib_crypt_default.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/media_lib_socket.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/port/media_lib_socket_default.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/media_lib_tls.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/media_lib_sal/port/media_lib_tls_default.o
    Compiling .pioenvs/voice-lounge/components/esp-adf-libs/audio_misc/rec_eng_helper.o
    Compiling .pioenvs/voice-lounge/components/esp-dsp/modules/common/misc/dsps_pwroftwo.o
    Compiling .pioenvs/voice-lounge/components/esp-dsp/modules/dotprod/float/dsps_dotprod_f32_ae32.o
    Compiling .pioenvs/voice-lounge/components/esp-dsp/modules/dotprod/float/dsps_dotprod_f32_m_ae32.o
    xtensa-esp32s3-elf-g++: fatal error: Killed signal terminated program cc1plus
    compilation terminated.
    *** [.pioenvs/voice-lounge/src/main.o] Error 1
    ========================= [FAILED] Took 128.90 seconds =========================

@BigBobbas
Copy link
Contributor

@Clasper101 try doing a clean build files - from the 3 dot menu of the device card in the ESPHome dashboard and then try to recompile

@Mis1ify
Copy link

Mis1ify commented Dec 21, 2024

Nope, cleaning build files does not work. I'm also experiencing the problem on newest 2024.12.2 release, cleaned build files and restarted the add-on, host os, etc.

Here are my logs:

Installing collected packages: wheel, urllib3, typing-extensions, tqdm, pyyaml, python-dotenv, pyparsing, pycparser, kconfiglib, jsonref, idna, future, colorama, click, charset-normalizer, certifi, annotated-types, requests, pydantic-core, esp-idf-kconfig, cffi, requests-toolbelt, requests-file, pydantic, cryptography, pydantic-settings, idf-component-manager
Successfully installed annotated-types-0.7.0 certifi-2024.12.14 cffi-1.17.1 charset-normalizer-3.4.0 click-8.1.7 colorama-0.4.6 cryptography-41.0.7 esp-idf-kconfig-1.5.0 future-1.0.0 idf-component-manager-2.0.4 idna-3.10 jsonref-1.1.0 kconfiglib-14.1.0 pycparser-2.22 pydantic-2.10.4 pydantic-core-2.27.2 pydantic-settings-2.7.0 pyparsing-3.2.0 python-dotenv-1.0.1 pyyaml-6.0.2 requests-2.32.3 requests-file-2.1.0 requests-toolbelt-1.0.0 tqdm-4.67.1 typing-extensions-4.12.2 urllib3-1.26.20 wheel-0.45.1
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version "2.39.5") 
-- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'
-- 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: /data/cache/platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/cache/platformio/packages/toolchain-xtensa-esp32s3/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: /data/cache/platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Processing 1 dependencies:
[1/1] idf (5.1.5)
-- Configuring incomplete, errors occurred!
See also "/data/build/esp32-s3-box-3-2d9380/.pioenvs/esp32-s3-box-3-2d9380/CMakeFiles/CMakeOutput.log".

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:266 (message):
  Failed to resolve component 'jsmn'.
Call Stack (most recent call first):
  /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:308 (__build_resolve_and_add_req)
  /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:603 (__build_expand_requirements)
  /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:604 (idf_build_process)
  CMakeLists.txt:3 (project)



========================= [FAILED] Took 18.25 seconds =========================

@Clasper101
Copy link

With the extra yaml code from above and a reboot I have managed to update my Atom Echoes and S3 Box 3.

@fortuna
Copy link

fortuna commented Dec 24, 2024

The proposed YAML in #42 (comment) did not fix it for me.

I'm getting the same error as @Mis1ify in #42 (comment), and also have the latest esphome 2024.12.2.

No workaround yet. I wanted to revert to an older version, but unfortunately there doesn't seem to be a way to install a previous version of esphome with brew:

$ brew install [email protected]
Warning: No available formula with the name "[email protected]".
==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for [email protected].
$ brew search esphome@
==> Formulae
esphome ✔

==> Casks
epichrome

@fortuna
Copy link

fortuna commented Dec 24, 2024

Reverting back to 2024.11.3 fixed the issue for me.

I figured out how to revert to a previous version on Homebrew. I had to create a tap and extract the old version:

brew uninstall esphome
brew tap-new fortuna/esphome-versions
brew extract --version 2024.11.3 esphome fortuna/esphome-versions
brew install fortuna/esphome-versions/[email protected]

Credit: https://stackoverflow.com/a/64125796/1234111

@jesserockz would it make sense to revert 2024.12?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests