Skip to content

Instantly share code, notes, and snippets.

View clee's full-sized avatar

Chris Lee clee

  • Denver
View GitHub Profile
@clee
clee / calibration.cfg
Created February 13, 2022 04:58
V0.755 klipper config
[idle_timeout]
timeout: 3600
[firmware_retraction]
retract_length: 0.40
retract_speed: 35
unretract_speed: 25
#unretract_extra_length: 0.05
# Tool to help adjust bed leveling screws. One may define a
@clee
clee / voron_sensorless.md
Last active February 12, 2024 11:45
how to sensorless XY on Vorons

Setting Up and Calibrating Sensorless XY Homing

When using the TMC2130 / TMC2209 / TMC2660 / TMC5160 drivers, the StallGuard feature makes it possible to set up sensorless homing on the X and Y axes for CoreXY machines. The Klipper project has a page with documentation and recommendations on getting it working.

Following are some more detailed instructions and suggestions to supplement the Klipper documentation specifically for Vorons.

Hardware Setup

@clee
clee / v0.1-clee.cfg
Last active September 8, 2021 09:41
Voron V0.1 config for fysetc cheetah v1.2b
# This file contains common pin mappings for the Fysetc Cheetah v1.2b
# board. To use this config, the firmware should be compiled for the
# STM32F103 with "No bootloader" and with "Use USB for communication"
# disabled.
# The "make flash" command does not work on the Cheetah. Instead,
# after running "make", run the following command to flash the board:
# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
# See docs/Config_Reference.md for a description of parameters.
@clee
clee / printer-lulzbot-taz6-aerostruder-2020.cfg
Created February 17, 2020 01:36
lulzbot taz6 aerostruder klipper config
# This file contains pin mappings for the Lulzbot TAZ 6 circa 2020. To
# use this config, the firmware should be compiled for the AVR
# atmega2560.
[stepper_x]
step_pin: PC0
dir_pin: PL1
enable_pin: !PA7
step_distance: .010000
endstop_pin: ^PB6
@clee
clee / prime-X470-pro.lsiommu.log
Last active February 4, 2020 01:12
Windows 10 guest on 3900X/Prime X470 Pro, with RTX 2080 VFIO PCIe passthrough
IOMMU Group 0:
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 1:
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 2:
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 3:
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 4:
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
@clee
clee / cpuinfo
Created February 13, 2019 02:54
Ryzen 1600X /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 23
model : 1
model name : AMD Ryzen 5 1600X Six-Core Processor
stepping : 1
microcode : 0x8001136
cpu MHz : 3570.951
cache size : 512 KB
physical id : 0
@clee
clee / YubiKey-GPG-SSH-guide.md
Last active November 26, 2018 21:03 — forked from ageis/YubiKey-GPG-SSH-guide.md
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

You'll probably be working with a single smartcard, so you'll want only one primary key (1. Sign & Certify) and two associated subkeys (2. Encrypt, 3. Authenticate).

@clee
clee / end.gcode
Created December 29, 2017 23:28
TAZ6 start/end gcode for klipper
;
M400 ; wait for moves to finish
M104 S0 ; hotend off
M107 ; fans off
G91 ; relative positioning
G1 E-1 F300 ; retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+20 E-5 X-20 Y-20 F3000 ; move Z up a bit and retract filament even more
M117 Cooling please wait ; progress indicator message
G90 ; absolute positioning
G1 Y0 F3000 ; move to cooling position
@clee
clee / lscpu
Created July 21, 2017 02:27
R7 1800X lscpu output
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
@clee
clee / .vimrc
Created April 13, 2017 16:45
vim configuration
" install with:
" mkdir -p ~/.vim/autoload ~/.vim/bundle && \
" curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
" `git clone` plugins into ~/.vim/bundle/
call pathogen#infect()
syntax on
set encoding=utf8
set noexpandtab tabstop=4 shiftwidth=4 smartindent