Comments (11)
@mbo18 thank you for your report. What do you mean by ESP-IDF? Can you post an example yaml I can use to recreate that?
from esphome_samsung_ac.
ESP-IDF is the new framework from Espressif for ESP32. See ESPHome doc here: https://esphome.io/components/esp32#esp32-espidf-framework
By default, the current framework is 'arduino':
esp32:
board: m5stack-atom
framework:
type: arduino
but you can change it with esp-idf (which will become the default somewhere in the future):
esp32:
board: m5stack-atom
framework:
type: esp-idf
from esphome_samsung_ac.
See also "/config/.esphome/build/esp32-test-bug/.pioenvs/esp32-test-bug/CMakeFiles/CMakeOutput.log".
See also "/config/.esphome/build/esp32-test-bug/.pioenvs/esp32-test-bug/CMakeFiles/CMakeError.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 /config/.esphome/platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/config/.esphome/platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /config/.esphome/build/esp32-test-bug/.pioenvs/esp32-test-bug/CMakeFiles/CMakeTmp
Run Build Command(s):/config/.esphome/platformio/packages/tool-ninja/ninja cmTC_8a11e && [1/2] Building C object CMakeFiles/cmTC_8a11e.dir/testCCompiler.c.obj
[2/2] Linking C executable cmTC_8a11e
FAILED: cmTC_8a11e
: && /config/.esphome/platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc -mlongcalls -Wno-frame-address CMakeFiles/cmTC_8a11e.dir/testCCompiler.c.obj -o cmTC_8a11e && :
/config/.esphome/platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /config/.esphome/platformio/packages/toolchain-xtensa-esp32/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/liblto_plugin.so: error loading plugin: /config/.esphome/platformio/packages/toolchain-xtensa-esp32/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/liblto_plugin.so: cannot open shared object file: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
/config/.esphome/platformio/packages/framework-espidf/tools/cmake/project.cmake:298 (__project)
CMakeLists.txt:3 (project)
Can you please check that again? I get a different error when comping.
from esphome_samsung_ac.
Did you clean the build files before changing to esp-idf and click install ?
from esphome_samsung_ac.
Yes I did and it didnt change anything.
from esphome_samsung_ac.
Strange, redid all and still the same log here: logs_bureau-hvac_compile.txt
I'm using the ESPHome add-on from HAOS.
Yaml is:
esphome:
name: bureau-hvac
friendly_name: Bureau HVAC
comment: "Climatisation de gauche"
esp32:
board: m5stack-atom
framework:
type: esp-idf
uart:
tx_pin: GPIO19
rx_pin: GPIO22
baud_rate: 9600
parity: EVEN
external_components:
- source: github://lanwin/esphome_samsung_ac@main
components: [samsung_ac]
refresh: 0s
samsung_ac:
debug_log_messages_raw: false
debug_log_messages: false
devices:
- address: "20.00.00"
climate:
name: None
room_temperature:
name: "Temperature"
room_humidity:
name: "Humidity"
wifi:
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_password
- ssid: !secret wifi_ssid_live
password: !secret wifi_password_live
ap:
password: !secret api_ota_pwd
captive_portal:
web_server:
port: 80
auth:
username: admin
password: !secret api_ota_pwd
logger:
api:
encryption:
key: !secret esphome_enc_key
ota:
password: !secret api_ota_pwd
from esphome_samsung_ac.
Witch ESPHome version you are on? I am on 2023.12.5
from esphome_samsung_ac.
Same (first line in the log). I’m using HAOS 11.2 with HA 2023.12.3 and the stable release of the ESPHome addon (2023.12.5).
Maybe something on your side with dependencies?
from esphome_samsung_ac.
I just found this: "try to delete folder /home/xxxx/.platformio/packages/toolchain-xtensa32 and run your project again."
from https://community.platformio.org/t/cmake-error-while-building/15692/9
from esphome_samsung_ac.
I think I stumbled across this problem esphome/issues#3076 the suggestions is to switch over to type: arduino ^^
from esphome_samsung_ac.
Ah… not fun. Seems to be an issue on RPi. I’m running HAOS on a Nuc.
from esphome_samsung_ac.
Related Issues (20)
- A list of supported devices HOT 5
- [Non-NASA] Control of Unit No Longer Working With Recent Changes HOT 18
- Device EOL - M5STACK ATOM RS-485 Kit HOT 2
- A lot of CRC errors -- is this expected? HOT 1
- Random current temperature readouts HOT 1
- Did I fry my 485 unit? HOT 6
- file example.yaml is all in errors when you try to get the firmware HOT 2
- [NASA] Automatic Cleaning HOT 12
- [Non-NASA] Unable to control AC HOT 11
- Power Switch only works sometimes HOT 5
- Samsung heat pump
- How to: Use esphome as RS485 to Wifi bridge HOT 4
- [Non-NASA] F3 F4 serial bus HOT 4
- [Non-NASA] Blade Movement (AJ050NCJ2EG) HOT 18
- [Non-NASA] Test Beep - Not Important (AJ050NCJ2EG) HOT 7
- [NASA] Heat pump sensor for warm water HOT 1
- [Non-NASA] Unable to control AC since 7 Feb update HOT 30
- Error with idf framework HOT 1
- [NASA] [ESP-IDF] room temperature not working anymore HOT 3
- How to do versioning? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome_samsung_ac.