diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-04-11 12:49:12 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-04-11 12:49:12 -0400 |
commit | 050008f3c82733e4f047a33fc9e229cb53e21fff (patch) | |
tree | 7e1fb68f912c8e53017fef572912b1e107af709b | |
parent | 70e53cb0800c47bb75d3c11764cfb7c41e6cc801 (diff) | |
download | kutter-050008f3c82733e4f047a33fc9e229cb53e21fff.tar.gz kutter-050008f3c82733e4f047a33fc9e229cb53e21fff.tar.xz kutter-050008f3c82733e4f047a33fc9e229cb53e21fff.zip |
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 <kevin@koconnor.net>
-rw-r--r-- | docs/Debugging.md | 12 |
1 files 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 |