Is it possible to embed PlatformIO into Tauri? #7693
ccamacho-d
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a project involving NFC card integration with ESP32 microcontroller connected to an RC522. The main goal is to write a key onto an NFC card and have the same key persisted within the ESP32, allowing the user to unlock a door. The key is essentially a string, since we're in the prototyping phase at the moment.
For the ESP32 in read mode, we've successfully developed a project using PlatformIO that accepts the key during build time and stores it in memory.
On the NFC side, we have another ESP32 operating in write mode. Our Tauri desktop app comes into play here, as it needs to facilitate writing to the ESP32 and guide the user through the process of enrolling an NFC card via the ESP32 in write mode.
I attempted to set
platformio.exe
as a sidecar to persist the key in the ESP32 in read mode. However, I encountered a roadblock - this approach only works if PlatformIO is installed on the computer. When I tried executing the release afternpx tauri build
, it failed to run on another computer because platform.exe lacks the necessary dependencies.I've been actively searching for a solution to this hitch, but haven't quite cracked it yet. If anyone has experience with a similar setup, your insights would be greatly appreciated.
I'm relatively new to Tauri (around 3 months of usage). Thanks for taking the time to read this post.
Any thoughts, suggestions and ideas are welcome. Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions