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

Drop Arduino dependency #255

Open
6 of 14 tasks
lptr opened this issue Dec 4, 2024 · 0 comments
Open
6 of 14 tasks

Drop Arduino dependency #255

lptr opened this issue Dec 4, 2024 · 0 comments
Labels
internal Internal change

Comments

@lptr
Copy link
Member

lptr commented Dec 4, 2024

Context

Arduino has been amazing to get this project started, but is holding us back now. Let's migrate away from it. This will take several steps.

We've started depending on ESP-IDF a while ago, back when we've built with PlatformIO. But PlatformIO still does not support Arduino 3 for ESP32 (see platformio/platform-espressif32#1225), so we switched to using ESP-IDF as the build system/IDE, and are using Arduino as a component. This complicates the build and uses unnecessary resources and adds complexity to the codebase. The final straw, though, was a memory leak for repeated WiFi connections: espressif/arduino-esp32#10664.

Moving to ESP-IDF exclusively can also help prepare for a potential future migration to Rust's https://github.com/esp-rs/esp-idf-svc.

Networking

  • WiFi (incl. softAP provisioning)
  • mDNS
  • NTP
  • MQTT
  • Firmware update

Fixed via #253

Core

Sensor libraries

  • TSL2591 light sensor
  • BH1750 light sensor
  • Dallas temperature
  • SHT2x
  • SHT31
@lptr lptr added the internal Internal change label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal change
Projects
None yet
Development

No branches or pull requests

1 participant