mirrexagon / nixpkgs-esp-dev

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

`idf.py openocd` does not work becuase OPENOCD_SCRIPTS is not set #61

Open jr1221 opened 2 weeks ago

jr1221 commented 2 weeks ago

They seem to have their own check in place, so idf.py should have access to this environment variable, not just the openocd binary.

jr1221 commented 2 weeks ago

For reference export OPENOCD_SCRIPTS='/nix/store/3yxz49an26m4hh8h6jzvplq481l4g380-openocd-esp32-esp-idf-v5.3/openocd-esp32/share/openocd/scripts'