Skip to content
Snippets Groups Projects
Commit ea0a1f72 authored by q3k's avatar q3k
Browse files

nix: fix openocd/gdb integration

parent ca4929c8
No related branches found
No related tags found
No related merge requests found
...@@ -21,4 +21,10 @@ in with nixpkgs; pkgs.mkShell { ...@@ -21,4 +21,10 @@ in with nixpkgs; pkgs.mkShell {
ncurses5 ncurses5
]; ];
shellHook = ''
# For esp.py openocd integration.
export OPENOCD_SCRIPTS="${pkgs.openocd-esp32-bin}/share/openocd/scripts"
# For GDB to be able to find libpython2.7 (????).
export LD_LIBRARY_PATH="${pkgs.python2}/lib:$LD_LIBRARY_PATH"
'';
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment