forked from Frix-x/klippain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Frix-x:main' into main
- Loading branch information
Showing
82 changed files
with
2,868 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,175 @@ | ||
# ------------------------------------------------------------------- | ||
# This gitignore is configured to not track user defined files at the root of the config | ||
# And thus allowing a full update of the repo while keeping user files untouched | ||
# ------------------------------------------------------------------- | ||
|
||
|
||
/*.cfg | ||
/*.conf | ||
/.VERSION | ||
|
||
|
||
# ------------------------------------------------------------------- | ||
# Python specifics added here as well to avoid pycache folder, etc... | ||
# ------------------------------------------------------------------- | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
cover/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
.pybuilder/ | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
# For a library or package, you might want to ignore these files since the code is | ||
# intended to run in multiple environments; otherwise, check them in: | ||
# .python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# poetry | ||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. | ||
# This is especially recommended for binary packages to ensure reproducibility, and is more | ||
# commonly ignored for libraries. | ||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control | ||
#poetry.lock | ||
|
||
# pdm | ||
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. | ||
#pdm.lock | ||
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it | ||
# in version control. | ||
# https://pdm.fming.dev/#use-with-ide | ||
.pdm.toml | ||
|
||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm | ||
__pypackages__/ | ||
|
||
# Celery stuff | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# pytype static type analyzer | ||
.pytype/ | ||
|
||
# Cython debug symbols | ||
cython_debug/ | ||
|
||
# PyCharm | ||
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can | ||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore | ||
# and can be added to the global gitignore or merged into this file. For a more nuclear | ||
# option (not recommended) you can uncomment the following to ignore the entire idea folder. | ||
#.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[include generics/adxl345_hardware_spi1.cfg] | ||
|
||
# As it's a toolhead ADXL, we add some default pins overrides from here | ||
[adxl345] | ||
cs_pin: toolhead:ADXL_CS | ||
# Supplied config from Mellow is wrong - it states spi1, but at least for a 072 based unit is it on spi2 | ||
spi_bus: spi2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This ADXL file is dedicated to be used with ADXL boards | ||
# connected over USB to the pi as dedicated and standalone ADXL-MCU boards | ||
|
||
# This include KUSBA, ... | ||
|
||
|
||
# You need to override the following to be able to set the proper serial in your overrides.cfg file | ||
[mcu adxl] | ||
serial: /dev/serial/by-id/xxx | ||
|
||
[adxl345] | ||
cs_pin: adxl:CS | ||
axes_map: x,y,z | ||
|
||
[resonance_tester] | ||
accel_chip: adxl345 | ||
probe_points: | ||
-1,-1,-1 | ||
|
||
|
||
# Include the IS calibration macros to unlock them when | ||
# an accelerometer is installed on the machine | ||
[include ../../../macros/helpers/resonance_override.cfg] | ||
[include ../../../macros/calibration/IS_shaper_calibrate.cfg] | ||
[include ../../../macros/calibration/IS_vibrations_measurement.cfg] |
29 changes: 29 additions & 0 deletions
29
config/hardware/accelerometers/adxl345_usb_rp2040_spi1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This ADXL file is dedicated to be used with USB RP2040 boards where the ADXL | ||
# is connected to SPI1 | ||
|
||
# This include FYSTEC PortableInputShaper, ... | ||
|
||
|
||
# You need to set the proper serial in your overrides.cfg file | ||
[mcu adxl] | ||
serial: /dev/serial/by-id/xxx | ||
|
||
[adxl345] | ||
cs_pin: adxl:gpio13 | ||
spi_software_sclk_pin: adxl:gpio10 | ||
spi_software_mosi_pin: adxl:gpio11 | ||
spi_software_miso_pin: adxl:gpio12 | ||
axes_map: x,y,z | ||
# FYSTEC POS: x,-z,y | ||
|
||
[resonance_tester] | ||
accel_chip: adxl345 | ||
probe_points: | ||
-1,-1,-1 | ||
|
||
|
||
# Include the IS calibration macros to unlock them when | ||
# an accelerometer is installed on the machine | ||
[include ../../../macros/helpers/resonance_override.cfg] | ||
[include ../../../macros/calibration/IS_shaper_calibrate.cfg] | ||
[include ../../../macros/calibration/IS_vibrations_measurement.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[stepper_z] | ||
rotation_distance: 40 | ||
gear_ratio: 9:1 | ||
microsteps: 32 | ||
full_steps_per_rotation: 200 | ||
|
||
[stepper_z1] | ||
rotation_distance: 40 | ||
gear_ratio: 9:1 | ||
microsteps: 32 | ||
full_steps_per_rotation: 200 | ||
|
||
[stepper_z2] | ||
rotation_distance: 40 | ||
gear_ratio: 9:1 | ||
microsteps: 32 | ||
full_steps_per_rotation: 200 | ||
|
||
[stepper_z3] | ||
rotation_distance: 40 | ||
gear_ratio: 9:1 | ||
microsteps: 32 | ||
full_steps_per_rotation: 200 | ||
|
||
# We also include the default wiring and speeds from here to avoid duplicating | ||
[include default_wiring_4M.cfg] | ||
[include default_speed.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[stepper_x] | ||
position_min: 0 | ||
position_endstop: 180 | ||
position_max: 180 | ||
|
||
[stepper_y] | ||
position_min: 0 | ||
position_endstop: 180 | ||
position_max: 180 | ||
|
||
[stepper_z] | ||
position_max: 165 | ||
position_min: -5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[gcode_macro _USER_VARIABLES] | ||
variable_heaterbed_enabled: True | ||
gcode: | ||
|
||
|
||
[heater_bed] | ||
heater_pin: BED_HEATER | ||
sensor_type: EPCOS 100K B57560G104F | ||
sensor_pin: BED_TEMPERATURE | ||
max_power: 1 | ||
min_temp: 0 | ||
max_temp: 150 | ||
|
||
# We also include the "no wait too much for temperature" patch | ||
[include ../../../macros/helpers/bed_heater_ctrl.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[gcode_macro _USER_VARIABLES] | ||
variable_heaterbed_enabled: True | ||
gcode: | ||
|
||
|
||
[heater_bed] | ||
heater_pin: BED_HEATER | ||
sensor_type: NTC 100K MGB18-104F39050L32 | ||
sensor_pin: BED_TEMPERATURE | ||
max_power: 1 | ||
min_temp: 0 | ||
max_temp: 120 | ||
|
||
# We also include the "no wait too much for temperature" patch | ||
[include ../../../macros/helpers/bed_heater_ctrl.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[gcode_macro _USER_VARIABLES] | ||
variable_extruder_enabled: True | ||
gcode: | ||
|
||
|
||
[extruder] | ||
# Galileo 2 Gear Ratio | ||
# new_rd = previous_rd * mesured_distance / requested_distance | ||
rotation_distance: 47.088 | ||
gear_ratio: 9:1 | ||
microsteps: 16 | ||
full_steps_per_rotation: 200 | ||
|
||
nozzle_diameter: 0.400 | ||
filament_diameter: 1.75 | ||
max_extrude_only_distance: 110 | ||
max_extrude_cross_section: 5 | ||
sensor_type: ATC Semitec 104GT-2 | ||
min_temp: 10 | ||
max_temp: 270 | ||
max_power: 1.0 | ||
min_extrude_temp: 172 | ||
pressure_advance: 0.0475 | ||
pressure_advance_smooth_time: 0.040 | ||
|
||
# We also include the default wiring and low thermal hotend patch | ||
[include default_wiring.cfg] | ||
[include ../../../macros/helpers/hotend_heater_ctrl.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
[gcode_macro _USER_VARIABLES] | ||
variable_heaterbed_enabled: True | ||
gcode: | ||
## This file is deprecated in favor of the included file. | ||
|
||
|
||
[heater_bed] | ||
heater_pin: BED_HEATER | ||
sensor_type: NTC 100K MGB18-104F39050L32 | ||
sensor_pin: BED_TEMPERATURE | ||
max_power: 1 | ||
min_temp: 0 | ||
max_temp: 120 | ||
|
||
# We also include the "no wait too much for temperature" patch | ||
[include ../../macros/helpers/bed_heater_ctrl.cfg] | ||
[include bed_heaters/keenovo.cfg] |
Oops, something went wrong.