From 050008f3c82733e4f047a33fc9e229cb53e21fff Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 11 Apr 2017 12:49:12 -0400 Subject: [PATCH] docs: Update Debugging.md file with python virtual env setup Direct readers to the main Installation file to setup the python virtual environment and remove the outdated instructions in the Debugging file. Signed-off-by: Kevin O'Connor --- docs/Debugging.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/Debugging.md b/docs/Debugging.md index 89ffddc1..5b730e03 100644 --- a/docs/Debugging.md +++ b/docs/Debugging.md @@ -82,17 +82,11 @@ compile Klipper (run `make`) and then start the simulation with: PYTHONPATH=/path/to/simulavr/src/python/ ./scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 out/klipper.elf ``` -It may be necessary to create a python virtual environment to run -Klippy on the target machine. To do so, run: - -``` -virtualenv ~/klippy-env -~/klippy-env/bin/pip install cffi==1.6.0 pyserial==2.7 -``` - Then, with simulavr running in another window, one can run the following to read gcode from a file (eg, "test.gcode"), process it -with Klippy, and send it to Klipper running in simulavr: +with Klippy, and send it to Klipper running in simulavr (see +[installation](Installation.md) for the steps necessary to build the +python virtual environment): ``` ~/klippy-env/bin/python ./klippy/klippy.py config/avrsim.cfg -i test.gcode -v