mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 13:31:16 +00:00
Add screws_tilt_adjust, axis_twist_compensation sections.
This commit is contained in:
43
misc/compile-how-to.md
Normal file
43
misc/compile-how-to.md
Normal file
@@ -0,0 +1,43 @@
|
||||
${\small{\textcolor{green}{\texttt{2 minute read}}}}$
|
||||
|
||||
#### Do I need to re-flash the motherboard?
|
||||
|
||||
You will _almost never_ need to re-flash `klipper.bin`. When this is needed, your dashboard will explicitly tell you that you need to re-flash.
|
||||
|
||||
#### Where does Klipper live?
|
||||
|
||||
1. On the motherboard.
|
||||
2. On the host device (Raspberry Pi, etc.).
|
||||
|
||||
🗒️ These 2 versions of klipper can rightly differ.
|
||||
|
||||
#### Should I update Klipper, moonraker, etc.?
|
||||
|
||||
I always update everything on the host device via the dashboard. I don't want to miss out on improvements, especially those that improve safety. What this means is that on some occasions, there will be breaking changes: you will need to change a few things in your config **before you can print**. I would suggest that if you absolutely have to get something printed immediately and there's an update, perhaps wait till after the print completes to do the update.
|
||||
|
||||
Others will argue that 'if it ain't broke, don't fix it'.
|
||||
|
||||
You have to decide what camp you want to be apart off.
|
||||
|
||||
#### How-To
|
||||
|
||||
##### Update Klipper repo first
|
||||
|
||||
It's always best to update the Klipper repository that lives on the host before compiling. This ensures that your `klipper.bin` will be as 'fresh' as possible.
|
||||
|
||||
- In `Fluidd`, you can do this from `Settings` > `Software Updates`.
|
||||
- In `Mainsail`, you can do this from `Machine` > `Update Manager`.
|
||||
|
||||
##### Compile `klipper.bin`
|
||||
|
||||
🗒️ The `compilation settings` you see in the image below apply only the the `SV06/Plus` boards, but the steps for compilation apply to any board.
|
||||
|
||||
1. `ssh` into the Klipper host (i.e., RPi, OrangePi, etc.).
|
||||
2. `cd ~/klipper`
|
||||
3. `make menuconfig`
|
||||
4. Set things up to look as follows:
|
||||

|
||||
5. `make clean`
|
||||
- Clears `~/klipper/out/`
|
||||
6. `make`
|
||||
- Compiles `klipper.bin` and puts it in `~/klipper/out/`
|
||||
27
printer.cfg
27
printer.cfg
@@ -164,6 +164,11 @@ fade_start: 1
|
||||
fade_end: 10
|
||||
fade_target: 0
|
||||
|
||||
[axis_twist_compensation]
|
||||
calibrate_start_x: 27 # probe x coor at furthest left
|
||||
calibrate_end_x: 272 # probe x coor at furthest right ; (x.position_max - abs(x_offset) - 1)
|
||||
calibrate_y: 154
|
||||
|
||||
#####################################################################
|
||||
# Fans
|
||||
#####################################################################
|
||||
@@ -175,7 +180,7 @@ pin: PA0
|
||||
# Misc
|
||||
#####################################################################
|
||||
|
||||
# NOTE Apparently the screen is not Klipper friendly
|
||||
# NOTE The screen is not Klipper friendly
|
||||
# [display]
|
||||
# lcd_type: st7920
|
||||
# cs_pin: PB12
|
||||
@@ -184,6 +189,26 @@ pin: PA0
|
||||
# encoder_pins: ^PB14, ^PB10
|
||||
# click_pin: ^!PB2
|
||||
|
||||
[screws_tilt_adjust]
|
||||
screw1_name: front center left base
|
||||
screw1: 84, 136
|
||||
screw2_name: front left
|
||||
screw2: 5, 55
|
||||
screw3_name: front right
|
||||
screw3: 244, 55
|
||||
screw4_name: front center right
|
||||
screw4: 164, 136
|
||||
screw5_name: back center left
|
||||
screw5: 84, 216
|
||||
screw6_name: back center right
|
||||
screw6: 164, 216
|
||||
screw7_name: back left
|
||||
screw7: 5, 295
|
||||
screw8_name: back right
|
||||
screw8: 244, 295
|
||||
horizontal_move_z: 10
|
||||
screw_thread: CCW-M4
|
||||
|
||||
# NOTE The speaker will not work, since the screen doesn't
|
||||
# [output_pin beeper]
|
||||
# pin: PC6
|
||||
|
||||
Reference in New Issue
Block a user