aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-05-28 11:04:59 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-05-28 11:04:59 -0400
commit3af87e1c42ece2a36773520daa06612888cb9e29 (patch)
tree023b05405286829e8cc183ae996789372d476ace /docs
parentd2547ce6b08965ea940e1690807e812841a38b8f (diff)
downloadkutter-3af87e1c42ece2a36773520daa06612888cb9e29.tar.gz
kutter-3af87e1c42ece2a36773520daa06612888cb9e29.tar.xz
kutter-3af87e1c42ece2a36773520daa06612888cb9e29.zip
avr: Add SIMULAVR build option; don't show WATCHDOG or SERIAL_BAUD_U2X
Add a CONFIG_SIMULAVR option to the Kbuild menus and don't directly prompt users for CONFIG_WATCHDOG or CONFIG_SERIAL_BAUD_U2X. The only reason to disable these options would be if one were running on simulavr. This simplifies the user visible menu options. Also, only show CONFIG_CLEAR_PRESCALER for at90usb1286 chips. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs')
-rw-r--r--docs/Debugging.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/Debugging.md b/docs/Debugging.md
index 51f1ac53..da0fba16 100644
--- a/docs/Debugging.md
+++ b/docs/Debugging.md
@@ -75,10 +75,10 @@ cd /patch/to/klipper
make menuconfig
```
-and compile the micro-controller software for an AVR atmega644p,
-disable the AVR watchdog timer, and set the MCU frequency
-to 20000000. Then one can compile Klipper (run `make`) and then start
-the simulation with:
+and compile the micro-controller software for an AVR atmega644p, set
+the MCU frequency to 20Mhz, and select SIMULAVR software emulation
+support. Then one can 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