From 982567a69a8b3a03306deb5bbf0d03d36b998737 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 24 Nov 2019 20:15:57 -0500 Subject: [PATCH] config: Rename avrsim.cfg to generic-simulavr.cfg Rename the file to be more similar to the naming of other files. Signed-off-by: Kevin O'Connor --- config/{avrsim.cfg => generic-simulavr.cfg} | 11 +++++++---- docs/Debugging.md | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) rename config/{avrsim.cfg => generic-simulavr.cfg} (76%) diff --git a/config/avrsim.cfg b/config/generic-simulavr.cfg similarity index 76% rename from config/avrsim.cfg rename to config/generic-simulavr.cfg index 043595a9..db6e05e5 100644 --- a/config/avrsim.cfg +++ b/config/generic-simulavr.cfg @@ -1,7 +1,10 @@ -# Support for internal testing with the "simulavr" program. To use -# this config, compile the firmware for an AVR atmega644p, disable the -# AVR watchdog timer, set the MCU frequency to 20000000, and set the -# serial baud rate to 250000. +# This file contains example pin mappings for testing with the +# "simulavr" program. To use this config, compile the firmware for an +# AVR atmega644p, enable "low-level configuration options", and enable +# "simulavr software emulation". Further details are in +# docs/Debugging.md. + +# See the example.cfg file for a description of available parameters. [stepper_x] # Pins: PA5, PA4, PA1 diff --git a/docs/Debugging.md b/docs/Debugging.md index 605c288b..dfd04add 100644 --- a/docs/Debugging.md +++ b/docs/Debugging.md @@ -91,7 +91,7 @@ with Klippy, and send it to Klipper running in simulavr (see python virtual environment): ``` -~/klippy-env/bin/python ./klippy/klippy.py config/avrsim.cfg -i test.gcode -v +~/klippy-env/bin/python ./klippy/klippy.py config/generic-simulavr.cfg -i test.gcode -v ``` Using simulavr with gtkwave