hacdc-wiki/Old Pages/3D Printing/Klipper.md
2024-07-07 13:53:31 -04:00

49 lines
2.1 KiB
Markdown
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2018.01.25
Hack-a-day offered a project
\[<https://hackaday.com/2017/12/26/fast-3d-printing-with-raspberry-pi-but-not-how-you-think/>,
Fast 3D Printing with Raspberry Pi ??? But Not How You Think\]. However,
it describes how to do stuff via OctoPi (child of OctoPrint), which we
don't want to use. This led to the question ["Any way to divorce Klipper
from Octo\*?"](https://github.com/KevinOConnor/klipper/issues/138) and
also ["Klipper as
daemon"](https://www.freelists.org/post/klipper/Klipper-as-daemon,1)
## [Installation](https://github.com/KevinOConnor/klipper/blob/master/docs/Installation.md)
Most of our machines use the [Atmega
AVR](https://en.wikipedia.org/wiki/Atmel_AVR)
[2560](http://www.microchip.com/wwwproducts/en/atmega2560) Rambo board.
But we'll start with the Aden rebuild which uses the [Atmega
AVR](https://en.wikipedia.org/wiki/Atmel_AVR)
[644p](http://www.microchip.com/wwwproducts/en/atmega644p). Both are 16
MHz. So, select the proper microprocessor and speed in the
**menuconfig** step below.
`   $ make menuconfig`
`   $ make`
`     Build Kconfig config file`
`     Creating symbolic link out/board`
`     Compiling out/src/sched.o`
`     Compiling out/src/command.o`
`     Compiling out/src/basecmd.o`
`     Compiling out/src/debugcmds.o`
`     Compiling out/src/gpiocmds.o`
`     Compiling out/src/stepper.o`
`     Compiling out/src/endstop.o`
`     Compiling out/src/adccmds.o`
`     Compiling out/src/spicmds.o`
`     Compiling out/src/pwmcmds.o`
`     Compiling out/src/avr/main.o`
`     Compiling out/src/avr/timer.o`
`     Compiling out/src/avr/gpio.o`
`     Compiling out/src/avr/watchdog.o`
`     Compiling out/src/avr/serial.o`
`     Building out/compile_time_request.o`
`   Version: v0.5.0-108-g1b3ef8a-20180125_195156-hostname`
`     Linking out/klipper.elf`
`     Creating hex file out/klipper.elf.hex`
It has been suggested that socat may help debug stuff...
`   $ sudo apt install socat`