Skip to content

Commit 384af24

Browse files
committed
Merge branch 'main' into Benoit_tests
2 parents 99b5f6b + 621e0ea commit 384af24

File tree

19 files changed

+300
-79
lines changed

19 files changed

+300
-79
lines changed

.github/workflows/stale.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
name: Mark and Manage Stale Issues and Pull Requests
1+
# name: Mark and Manage Stale Issues and Pull Requests
22

3-
on:
4-
schedule:
5-
- cron: '30 7 * * *'
3+
# on:
4+
# schedule:
5+
# - cron: '30 7 * * *'
66

7-
jobs:
8-
stale:
9-
runs-on: ubuntu-latest
10-
permissions:
11-
issues: write
12-
pull-requests: write
7+
# jobs:
8+
# stale:
9+
# runs-on: ubuntu-latest
10+
# permissions:
11+
# issues: write
12+
# pull-requests: write
1313

14-
steps:
15-
- uses: actions/[email protected]
16-
with:
17-
repo-token: ${{ secrets.GITHUB_TOKEN }}
18-
days-before-stale: 30
19-
days-before-close: 14
20-
stale-issue-message: >
21-
📌 **This issue has been marked as stale because it has not had activity in the past 30 days.**
14+
# steps:
15+
# - uses: actions/[email protected]
16+
# with:
17+
# repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
# days-before-stale: 30
19+
# days-before-close: 14
20+
# stale-issue-message: >
21+
# 📌 **This issue has been marked as stale because it has not had activity in the past 30 days.**
2222

23-
To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days.
23+
# To keep it open, please respond to this message or add new information. Otherwise, this will be closed in 14 days.
2424

25-
Thank you for your contributions!
26-
stale-pr-message: >
27-
📌 **This pull request has been marked as stale because it has not had activity in the past 30 days.**
25+
# Thank you for your contributions!
26+
# stale-pr-message: >
27+
# 📌 **This pull request has been marked as stale because it has not had activity in the past 30 days.**
2828

29-
Please update the PR or comment to keep it active. Otherwise, this will be closed in 14 days.
29+
# Please update the PR or comment to keep it active. Otherwise, this will be closed in 14 days.
3030

31-
We appreciate your contribution!
32-
stale-issue-label: 'stale'
33-
stale-pr-label: 'stale, reviewer-needed'
34-
exempt-issue-labels: 'tracking'
35-
exempt-pr-labels: 'tracking'
36-
close-issue-message: 'This issue was closed due to inactivity for 14 days. Feel free to reopen it if you think it was an error or if you have new information or progress to share'
37-
close-pr-message: 'This pull request was closed due to inactivity for 14 days. Please reopen it if you think it was an error or if you wish to continue the contribution.'
38-
exempt-all-milestones: true
39-
exempt-all-assignees: true
40-
exempt-draft-prs: true
31+
# We appreciate your contribution!
32+
# stale-issue-label: 'stale'
33+
# stale-pr-label: 'stale, reviewer-needed'
34+
# exempt-issue-labels: 'tracking'
35+
# exempt-pr-labels: 'tracking'
36+
# close-issue-message: 'This issue was closed due to inactivity for 14 days. Feel free to reopen it if you think it was an error or if you have new information or progress to share'
37+
# close-pr-message: 'This pull request was closed due to inactivity for 14 days. Please reopen it if you think it was an error or if you wish to continue the contribution.'
38+
# exempt-all-milestones: true
39+
# exempt-all-assignees: true
40+
# exempt-draft-prs: true
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This LIS2DW file is dedicated to be used with LIS2DW boards
2+
# connected over the software SPI bus of the MCU boards
3+
4+
# This include toolhead boards such as Mellow SHTv3 boards
5+
# If using a toolhead board, be sure to have the pin override in your mcu.cfg (toolhead:LIS2DW_CS)
6+
7+
[lis2dw]
8+
cs_pin: LIS2DW_CS
9+
spi_software_sclk_pin: LIS2DW_SCLK
10+
spi_software_mosi_pin: LIS2DW_MOSI
11+
spi_software_miso_pin: LIS2DW_MISO
12+
axes_map: x,y,z
13+
14+
[resonance_tester]
15+
accel_chip: lis2dw
16+
probe_points:
17+
-1,-1,-1
18+
19+
20+
# Include the IS calibration macros to unlock them when
21+
# an accelerometer is installed on the machine
22+
[include ../../../../macros/helpers/resonance_override.cfg]
23+
[include ../../../../scripts/K-ShakeTune/K-SnT_*.cfg]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[include generics/lis2dw_software_spi.cfg]
2+
3+
[lis2dw]
4+
cs_pin: toolhead:LIS2DW
5+
spi_software_sclk_pin: toolhead:SCK
6+
spi_software_mosi_pin: toolhead:MOSI
7+
spi_software_miso_pin: toolhead:MISO
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[board_pins mcu_manufacturer]
2+
aliases:
3+
MCU_M1_STEP=PA14, MCU_M1_DIR=PA10, MCU_M1_EN=PA13, MCU_M1_CS=PB8,
4+
MCU_M2_STEP=PC8, MCU_M2_DIR=PA15, MCU_M2_EN=PC14, MCU_M2_CS=PC9,
5+
MCU_M3_STEP=PD2, MCU_M3_DIR=PD4, MCU_M3_EN=PD3, MCU_M3_CS=PD0,
6+
MCU_M4_STEP=PD5, MCU_M4_DIR=PD6, MCU_M4_EN=PB3, MCU_M4_CS=PD1,
7+
MCU_M5_STEP=PB7, MCU_M5_DIR=PB6, MCU_M5_EN=PB4, MCU_M5_CS=PB5,
8+
9+
MCU_M1_STOP=PC4, MCU_M2_STOP=PB0, MCU_M3_STOP=PC6, MCU_M4_STOP=PC5, MCU_M5_STOP=PB1,
10+
11+
MCU_HE0=PB11 , MCU_HE1=PB10 ,
12+
13+
MCU_BED_OUT=PB2 ,
14+
15+
MCU_THB=PA3 , MCU_TH0=PA4 , MCU_TH1=PA5 ,
16+
17+
MCU_FAN0=PA8 , MCU_FAN1=PB15 , MCU_FAN2=PB14 ,
18+
19+
MCU_RGB1=PC7 ,
20+
21+
MCU_PROBE1=PA6 , MCU_PROBE2=PA7 ,
22+
23+
MCU_PS_ON=PA9 ,
24+
MCU_POWER_DET=PB9 ,
25+
26+
27+
MCU_SPI3_MOSI=PC12 , MCU_SPI3_MISO=PC11 , MCU_SPI3_SCK=PC10 , MCU_SPI3_CS=PC15 ,
28+
29+
30+
# EXP1 header
31+
EXP1_1=PC1 , EXP1_2=PC2 ,
32+
EXP1_3=PC3 , EXP1_4=RST ,
33+
EXP1_5=PC0 , EXP1_6=PA0 , # Slot in the socket on this side
34+
EXP1_7=PA2 , EXP1_8=PA1 ,
35+
EXP1_9=<GND> , EXP1_10=<5V> ,
36+
37+

config/mcu_definitions/main/BTT_Manta_M8P_v2.0.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ aliases:
1818

1919
MCU_THB=PB1 , MCU_TH0=PB0 , MCU_TH1=PC5 , MCU_TH2=PC4 , MCU_TH3=PA7 ,
2020

21-
MCU_FAN0=PF7 , MCU_FAN1=PF9 , MCU_FAN2=PF6 , MCU_FAN3=PA8 , MCU_FAN4=PA4 ,
21+
MCU_FAN0=PF7 , MCU_FAN1=PF9 , MCU_FAN2=PF6 , MCU_FAN3=PF8 , MCU_FAN4=PA4 ,
2222
MCU_FAN5=PA6 , MCU_FAN5_TACH=PC2 ,
2323
MCU_FAN6=PA2 , MCU_FAN6_TACH=PC1 ,
2424

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[board_pins toolhead_manufacturer]
2+
mcu: toolhead
3+
aliases:
4+
MCU_EXT_EN=gpio14 , MCU_EXT_STEP=gpio7 , MCU_EXT_DIR=gpio6 , MCU_EXT_UART=gpio15 , MCU_EXT_DIAG= ,
5+
6+
MCU_LIMIT_0=gpio20 , MCU_LIMIT_1=gpio16 ,
7+
8+
MCU_PROBE_1=gpio22 , MCU_PROBE_2=gpio24 ,
9+
10+
MCU_FAN0=gpio13 , MCU_FAN1=gpio21 ,
11+
12+
MCU_TH0=gpio27 , MCU_PT100=gpio17 , MCU_TC0= ,
13+
14+
MCU_HE0=gpio23 ,
15+
16+
MCU_RGBLED=gpio26 ,
17+
18+
MCU_SW_SCK=gpio2 , MCU_SW_MISO=gpio4 , MCU_SW_MOSI=gpio3 ,
19+
MCU_LIS2DW_CS=gpio12 ,
20+
MCU_MAX31865_CS=gpio17 ,

docs/mmu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ If you want to print without using the MMU features, you can use the MMU bypass
9797
1. Select the bypass mode with `MMU_SELECT_BYPASS`.
9898
1. Finally, manually insert the filament into the bowden tube up to the extruder gears and load the filament with the `MMU_LOAD` command or start the print (the `START_PRINT` sequence will automatically try to load the filament into the toolhead).
9999

100-
At the end of the print, you can use the `MMU_EJECT` command (if `variable_mmu_unload_on_end_print` is set to False in Klippain `variables.cfg`, otherwise it is ejected automatically) to unload the filament from the extruder and then manually pull it out of the bowden tube.
100+
At the end of the print, you can use the `MMU_UNLOAD` command (if `variable_mmu_unload_on_end_print` is set to False in Klippain `variables.cfg`, otherwise it is unloaded automatically) to unload the filament from the extruder and then manually pull it out of the bowden tube.
101101

102102
### Spoolman support with MMU
103103

macros/base/cancel_print.cfg

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ gcode:
2222
_MMU_CLEAR_POSITION
2323
{% elif printer.mmu.enabled and mmu_unload_on_cancel_print and printer.mmu.tool|int != -2 %}
2424
# Unload filament and park the MMU
25-
MMU_EJECT
26-
{% elif printer.extruder.can_extrude %}
27-
# Pull back the filament a little bit
28-
G92 E0
29-
G1 E-10 F2100
25+
MMU_UNLOAD
3026
{% endif %}
3127
{% elif printer.extruder.can_extrude %}
3228
# Pull back the filament a little bit

macros/base/end_print.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ gcode:
2929
_MMU_RUN_MARKERS
3030
{% elif printer.mmu.enabled and mmu_unload %}
3131
# unload filament and park into MMU. Or just unload filament out of extruder if using bypass.
32-
MMU_EJECT
32+
MMU_UNLOAD
3333
{% endif %}
3434
{% elif printer.extruder.can_extrude %}
3535
# pull back the filament a little bit

macros/base/homing/homing_override.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ gcode:
8989
{% endif %}
9090
G91
9191
G0 Z{homing_zhop} F{z_drop_speed}
92+
M400
9293
G90
9394
{% else %}
9495
{% if verbose %}

0 commit comments

Comments
 (0)