Repository navigation
Split C2 and CC2 config #381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
+208
−101
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9936f71
[unverified] split cc1 and cc2 cosmos.conf
suchmememanyskill 9c324b5
Merge canvas-toolhead.cfg with canvas.cfg on CC2
suchmememanyskill 250b563
Split C2 and CC2 config (untested)
suchmememanyskill d611fa8
Move canvas-toolhead.cfg from afc folder to klipper's folder
suchmememanyskill a7105df
Remove led from default cc2 cfg, remove stale cc1 camera led options
suchmememanyskill 30a5edf
Clean up configs a little
suchmememanyskill File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
51 changes: 51 additions & 0 deletions
51
meta-opencentauri/recipes-apps/klipper/files/centauri-carbon-2/enclosed.cfg
This file contains hidden or 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,51 @@ | ||
| # ----- | ||
| # PLEASE DO NOT EDIT THIS FILE. EDIT printer.cfg INSTEAD. | ||
| # UPDATES WILL RESET THIS FILE. YOUR EDITS WILL BE LOST WHEN UPDATING. | ||
| # ----- | ||
|
|
||
| [fan_generic aux_fan] | ||
| pin: PD15 | ||
| tachometer_pin: PD14 | ||
|
|
||
| [fan_generic case_fan] | ||
| pin: PD17 | ||
| tachometer_pin: PD16 | ||
|
|
||
| [servo case_servo] | ||
| pin: PB7 | ||
| initial_angle: 90.0 | ||
|
|
||
| [led case] | ||
| white_pin: PB5 | ||
| initial_WHITE: 1 | ||
|
|
||
| [gcode_button case_servo_sensor] | ||
| pin: PB2 | ||
| press_gcode: | ||
| UPDATE_DELAYED_GCODE ID=case_servo_timeout DURATION=0 | ||
| G4 P400 ; We have no way to detect when the fan cover is fully open. Instead, the sensor triggers somewhere halfway, and around 400ms is needed to fully open it. | ||
| SET_SERVO SERVO=case_servo ANGLE=90 | ||
| release_gcode: | ||
| UPDATE_DELAYED_GCODE ID=case_servo_timeout DURATION=0 | ||
| SET_SERVO SERVO=case_servo ANGLE=90 | ||
|
|
||
| [delayed_gcode case_servo_timeout] | ||
| gcode: | ||
| SET_SERVO SERVO=case_servo ANGLE=90 | ||
| RESPOND TYPE=error MSG="Servo timeout: sensor did not change" | ||
|
|
||
| [gcode_macro EXHAUST_OPEN] | ||
| gcode: | ||
| {% if printer["gcode_button case_servo_sensor"].state == "PRESSED" %} ; Currently closed | ||
| RESPOND MSG="Opening exhaust cover" | ||
| UPDATE_DELAYED_GCODE ID=case_servo_timeout DURATION=5 | ||
| SET_SERVO SERVO=case_servo ANGLE=135 | ||
| {% endif %} | ||
|
|
||
| [gcode_macro EXHAUST_CLOSE] | ||
| gcode: | ||
| {% if printer["gcode_button case_servo_sensor"].state == "RELEASED" %} ; Currently open | ||
| RESPOND MSG="Closing exhaust cover" | ||
| UPDATE_DELAYED_GCODE ID=case_servo_timeout DURATION=5 | ||
| SET_SERVO SERVO=case_servo ANGLE=45 | ||
| {% endif %} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
49 changes: 49 additions & 0 deletions
49
meta-opencentauri/recipes-data/config-manager/files/centauri-carbon-1/default-machine.conf
This file contains hidden or 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,49 @@ | ||
| # OpenCentauri COSMOS settings. | ||
| # Changes to these settings require rebooting the entire machine to apply. | ||
| # Power cycle the machine or run the REBOOT_MACHINE macro after editing. | ||
|
|
||
| [ui] | ||
| # User interface used on the built in screen. Options: grumpyscreen, none. | ||
| screen_ui = grumpyscreen | ||
| # User interface used for the webui. Options: mainsail, fluidd. | ||
| web_ui = mainsail | ||
| # Brightness of the built in screen. Range: 0-100. | ||
| screen_brightness = 100 | ||
|
|
||
| [update] | ||
| # Update channel used by the COSMOS updater. Options: stable, nightly. | ||
| release = stable | ||
| # Check for updates automatically on startup. Options: True, False. | ||
| check_for_updates = True | ||
|
|
||
| [extras] | ||
| # Enable support for the CANVAS unit. Also enables the AFC subsystem. | ||
| elegoo_canvas = False | ||
|
|
||
| [klipper] | ||
| # Keep the camera LED state in sync with the chamber LED. | ||
| sync_camera_led_to_chamber_led = False | ||
| # Turn the camera LED on automatically when Klipper starts. | ||
| camera_led_default_on = True | ||
| # Allow printing before the initial calibration checks have passed. | ||
| bypass_calibration = False | ||
| # Minutes to wait after the bed reaches temperature before starting a print. Range: 0-30 minutes. | ||
| heatsoak = 1 | ||
| # Probe only the print area for each print instead of loading the default bed mesh. Requires nozzle_z_homing to be enabled. | ||
| adaptive_mesh = False | ||
| # Prime the nozzle near the print area before each print. | ||
| adaptive_purge = True | ||
| # Unload filament automatically when a print finishes. | ||
| unload_after_print = False | ||
| # Clean the nozzle automatically when a print finishes. | ||
| clean_nozzle_after_print = True | ||
| # Use the nozzle and load cell probe for Z homing. | ||
| nozzle_z_homing = False | ||
| # Drop the bed to this height in millimeters when a print finishes. Range: 0-256. | ||
| z_ideal_lifting_distance = 170 | ||
| # Hotend temperature in Celsius used during the full calibration workflow. Range: 200-300. | ||
| full_calibrate_hotend_temperature = 250 | ||
| # Bed temperature in Celsius used during the full calibration workflow. Range: 40-100. | ||
| full_calibrate_bed_temperature = 60 | ||
| # Turn on Toolhead LED for printing and loading filament | ||
| toolhead_led = False |
45 changes: 45 additions & 0 deletions
45
meta-opencentauri/recipes-data/config-manager/files/centauri-carbon-2/default-machine.conf
This file contains hidden or 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,45 @@ | ||
| # OpenCentauri COSMOS settings. | ||
| # Changes to these settings require rebooting the entire machine to apply. | ||
| # Power cycle the machine or run the REBOOT_MACHINE macro after editing. | ||
|
|
||
| [ui] | ||
| # User interface used on the built in screen. Options: grumpyscreen, none. | ||
| screen_ui = grumpyscreen | ||
| # User interface used for the webui. Options: mainsail, fluidd. | ||
| web_ui = mainsail | ||
| # Brightness of the built in screen. Range: 0-100. | ||
| screen_brightness = 100 | ||
|
|
||
| [update] | ||
| # Update channel used by the COSMOS updater. Options: stable, nightly. | ||
| release = stable | ||
| # Check for updates automatically on startup. Options: True, False. | ||
| check_for_updates = True | ||
|
|
||
| [extras] | ||
| # Enable support for the CANVAS unit. Also enables the AFC subsystem. | ||
| elegoo_canvas = False | ||
| # Enable the aux fan, exhaust fan and chamber light. Available only on the CC2 and CC2C. | ||
| enclosed = False | ||
|
|
||
| [klipper] | ||
| # Allow printing before the initial calibration checks have passed. | ||
| bypass_calibration = False | ||
| # Minutes to wait after the bed reaches temperature before starting a print. Range: 0-30 minutes. | ||
| heatsoak = 1 | ||
| # Probe only the print area for each print instead of loading the default bed mesh. Requires nozzle_z_homing to be enabled. | ||
| adaptive_mesh = False | ||
| # Prime the nozzle near the print area before each print. | ||
| adaptive_purge = True | ||
| # Unload filament automatically when a print finishes. | ||
| unload_after_print = False | ||
| # Clean the nozzle automatically when a print finishes. | ||
| clean_nozzle_after_print = True | ||
| # Use the nozzle and load cell probe for Z homing. | ||
| nozzle_z_homing = False | ||
| # Drop the bed to this height in millimeters when a print finishes. Range: 0-256. | ||
| z_ideal_lifting_distance = 170 | ||
| # Hotend temperature in Celsius used during the full calibration workflow. Range: 200-300. | ||
| full_calibrate_hotend_temperature = 250 | ||
| # Bed temperature in Celsius used during the full calibration workflow. Range: 40-100. | ||
| full_calibrate_bed_temperature = 60 |
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would
carbon_versionmake it more obvious which machines this is relevant too?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, but i don't really like that they used 'carbon' for the name of the enclosed version