ESP 32 Einrichtung schlägt fehl

Hallo zusammen. ich bin grad bissel am verzweifeln. Ich schaffe es nicht mehr einen neuen esp einzurichten.

Ich starte espweb, ich verbinde per usb, ich drücke boot und erstelle eine neue Konfiguration. Dann sagt er er kann keine wlan Verbindung herstellen. Ich gehe als zum esphome builder und schreibe die wlan confis separat und speichere, dann gehe ich auf installieren. Aber dann sagt er folgendes:

INFO ESPHome 2024.12.4
INFO Reading configuration /config/esphome/esphome-web-7f51f0.yaml...
INFO Generating C++ source...
INFO Updating https://github.com/espressif/esp-protocols.git@mdns-v1.3.2
INFO Compiling app...
Processing esphome-web-7f51f0 (board: esp32-s3-devkitc-1; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
--------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB 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...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Configuring incomplete, errors occurred!
See also "/data/build/esphome-web-7f51f0/.pioenvs/esphome-web-7f51f0/CMakeFiles/CMakeOutput.log".
See also "/data/build/esphome-web-7f51f0/.pioenvs/esphome-web-7f51f0/CMakeFiles/CMakeError.log".

CMake Error at CMakeLists.txt:2 (include):
  include could not find requested file:

    /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake


CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.



========================== [FAILED] Took 4.42 seconds ==========================

Die config die ich schreiben möchte ist eigentlich ganz einfach:

esphome:
  name: esphome-web-7f51f0
  friendly_name: ESPHome Web 7f51f0
  min_version: 2024.11.0
  name_add_mac_suffix: false

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "HpfFygpzwITp1MZ4wdGw38uesnK6NWJaAdQcSsw0QMM="

# Allow Over-The-Air updates
ota:
- platform: esphome

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

aber geht nicht. Hat jemand ne Idee? Hab schon 3 verschiedene bords und 2 usb kabel verscuht und diverse Neustarts hingelegt. Die anderen “alten” esp Komponenten laufen ohne Probleme.

Steht doch da was Dir fehlt :wink:

ja. Danke.
Und wie bekomme ich den wieder rein installiert/geladen? Ich hab ja am esphome builder keine Änderungen vorgenommen und netzte den ganz normal weiter. Also wenn der Compiler fehlt, muss der ja auch irgendwie wieder aktivierbar sein. Nur wie? Und warum ist er weg…

übrigens, wenn bei einem bereits vorhanden esp die Firmware neu schreibe funktioniert es und der Fehler kommt nicht.

:pencil2: by tarag: Beiträge zusammengeführt

https://community.home-assistant.io/t/esphome-install-to-board-fails-with-cmake-error/544504/13

Das hinzufügen von:

esp32:
  framework:
    type: esp-idf
    version: 5.2.2
    platform_version: 6.7.0

hat das Problem gelöst. Danke.