Open maedball opened 2 years ago
+1 from me - I have a bunch of ESP32-S2 and I cannot use them with ESPHome that is on Raspberry Pi
the same problem affects esp32-c3
+1 for me - also running HASS on Odroid hardware.
Hi Same problem for me; Same configuration: Homme assistant running on a raspberry Pi 4 with Home assistant add on. It is really a fantastic tool. alas, I cannot use my ESP32-S2 as the platform is missing:( I hope the implementation arrives soon ;)
Hi Same problem for me; Same configuration: Homme assistant running on a raspberry Pi 4 with Home assistant add on. It is really a fantastic tool. alas, I cannot use my ESP32-S2 as the platform is missing:( I hope the implementation arrives soon ;)
I "solved" this problem by programming in Arduino for the boards that are not supported But pain is there, and instead of native ESPHome protocol I am using MQTT of course At least I can learn more about C and MQTT while waiting for ESPHome supporting new boards on arm64 ;-)
Hi Same problem for me; Same configuration: Homme assistant running on a raspberry Pi 4 with Home assistant add on. It is really a fantastic tool. alas, I cannot use my ESP32-S2 as the platform is missing:( I hope the implementation arrives soon ;)
I "solved" this problem by programming in Arduino for the boards that are not supported But pain is there, and instead of native ESPHome protocol I am using MQTT of course At least I can learn more about C and MQTT while waiting for ESPHome supporting new boards on arm64 ;-)
You can also use ESPHOME installed on a normal x64 linux as a workaround.
You can also use ESPHOME installed on a normal x64 linux as a workaround.
I thought about it but I have at home only arm based computers: RPi and Macbooks So not even VM will help
Same. Been running on a docker instance on an x86 -64 machine to get around this. With RPI4 being aarch64, you'd think this would be more urgent.
Toolchains are directly provided (since a while) from espressif to the Platformio Registry. The feature request is better placed in the corresponding espressif github. https://registry.platformio.org/tools/espressif/toolchain-xtensa-esp32/compatibility https://github.com/espressif/crosstool-NG.git
Toolchains are directly provided (since a while) from espressif to the Platformio Registry. The feature request is better placed in the corresponding espressif github. https://registry.platformio.org/tools/espressif/toolchain-xtensa-esp32/compatibility https://github.com/espressif/crosstool-NG.git
you are saying: there is not toolchain for arm64? so how is this working on Arduino?
I just say if you want to use a toolchain from espressif for platformio you have to ask espressif. Not more not less. Idk if there is a toolchain or not.
As a workaround you can invoke platformio or esphome with linux32
, which will cause platformio to think it's running in 32-bit mode:
# If not already enabled on your system
sudo dpkg --add-architecture armel
sudo apt update
sudo apt install libc6:armel libstdc++6:armel
# Now build hello world
mkdir /tmp/test
cd /tmp/test
pio project init --board esp32-c3-devkitm-1
linux32 pio run
I have builded a aarch64 toolchain set for Linux aarch64 useable with Platformio https://github.com/Jason2866/crosstool-NG/releases
I have builded a aarch64 toolchain set for Linux aarch64 useable with Platformio https://github.com/Jason2866/crosstool-NG/releases
You are an amazing person <3
Brilliant! A million thanks!
On Wed, 4 May 2022, 00:22 platima, @.***> wrote:
I have builded a aarch64 toolchain set for Linux aarch64 useable with Platformio https://github.com/Jason2866/crosstool-NG/releases
You are an amazing person <3
— Reply to this email directly, view it on GitHub https://github.com/platformio/platform-espressif32/issues/699#issuecomment-1116751704, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIIHBYHFDPV3LKOJFXPEU3VIGYK3ANCNFSM5LHESXAQ . You are receiving this because you commented.Message ID: @.***>
Note had to set
platformio_options:
board_build.flash_mode: dio
@platima Option is in no way related to the toolchain. "Just" the board
@platima Option is in no way related to the toolchain. "Just" the board
Oh, would not all esp32s2's be flashed that same way then? I thought it was a chip specification, not board!
Cheers
No, since it is a option for the flash chip and how it is connected to the esp32s2 There are different options for the flash chip and how it is connected.
Good to know! Thanks mate
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.
Supported. Use latest Platform-espressif32 release.
Sweet! Thansk
Hiho,
i would be super helpful for all Homeassistant Blue users with ESP home to have the toolchain-xtensa-esp32s2 available in linux_aarch64.
Would it be possible to make this available?
Thanks