mirrexagon / nixpkgs-esp-dev

Nix flake and overlay for ESP8266 and ESP32 development.
Creative Commons Zero v1.0 Universal
115 stars 52 forks source link

patched esp_rfc2217_server imports to load the correct esptool.py file #57

Open mksafavi opened 2 weeks ago

mksafavi commented 2 weeks ago

Added a patch for esp_rfc2217_server.py to fix the esptool.py import issue. I'm not sure if there's a better way to do this. The patch takes the esptool.py wrapped path and adds it to sys.modules instead of esptool.

I explained the problem more in https://github.com/mirrexagon/nixpkgs-esp-dev/issues/51#issuecomment-2206797848

closes https://github.com/mirrexagon/nixpkgs-esp-dev/issues/51