nixpkgs-esp-dev icon indicating copy to clipboard operation
nixpkgs-esp-dev copied to clipboard

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

Open jr1221 opened this issue 1 year ago • 1 comments

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 avatar Aug 27 '24 23:08 jr1221

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

jr1221 avatar Aug 28 '24 00:08 jr1221

Probably the proper way to solve this and #62 is for tool export vars to be set by the ESP-IDF derivation setup hook, so they are set for everything in the ESP-IDF environment. I will see if I can do this sometime.

mirrexagon avatar Oct 23 '24 10:10 mirrexagon

I believe I've addressed this with #71

quentinmit avatar Dec 07 '24 05:12 quentinmit

Should be fixed by #71.

mirrexagon avatar Jan 29 '25 08:01 mirrexagon