Finally i got #Embassy working on my #ESP32c6 in #NixOS. By now it should be over 95% reproducible. The last parts have to wait until i finished my day job.
The litte bugger now runs #EmbeddedRust #RustLang.
I will share the flake, which is mostly the oxilica/rust-overlay flake with the corrected toolchain and stuff like #RustAnalyzer and `cargo espflash`.
I mean, i have been struggling with the tooling for #EmbeddedRust with the #ESP32c6 a bit lately (some of it was #NixOS) mostly to the still fast moving development and changes.
But overall the experience is quite nice compared to #Arduino and #ArduinoIDE.
In regards to tooling i think only #CircuitPython or #MicroPython came close.
I hope that i can get #Embassy working by the end of the week, then i should have a reproducible environment across my devices.
#RustLang #MicroControllers #IOT
Update to my esp-wifi problem:
It seems to be that #NixOS is the culprit here. Or rather how rustup and cargo work on NixOS.
On #PostmarketOS i could build just fine. Why it is always this dependency that fails to build is puzzling me.
I am struggling to compile #ESP32C6 #ESPHAL in #RustLang when i am using the esp-generate template provided [here](https://github.com/esp-rs/esp-template).
Errors mostly seem to be about the CONFIG not found (i guess it is the config-toml crate?).
I also set the opt-level to 3 for esp-wifi, but that just removes a warning.
I tried different versions but that does not seem to be of use. Can anyone confirm it is working on their end?
#embedded #IOT #ESP32 #microcontroller
I wrote about the arrival of #SwiftLang on embedded hardware for @hackster_io during #WWDC24, https://www.hackster.io/news/apple-embeds-swift-into-hardware-125131557514. So it's nice to see some guides on getting started with #EmbeddedSwift starting to appear. This one for the #ESP32C6 from @seeedstudio, https://wiki.seeedstudio.com/xiao-esp32-swift/.
As a hobby project i am building a little helper for my girlfriend's aquarium.
I hooked up an #ESP32c6 with a water temperature sensor, a display and some CPU fans for regulation.
Those parts more or less work now (needs some tweaking only), but as a bonus i want to have the MCU post the data to my homelab so she can see the values on her phone when out of town.
Ah i just roasted my sole #ESP32c6 board while measuring something with my voltmeter.
And almost no shop has a replacement in under 20 days.
I was so close prototyping the aquarium temperature regulator for my girlfriend.
Endlich! #Zigbee #ESP32C6.Light zeigt sich in #Zigbee2Mqtt