-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
✨ Add Dagoma D6 as found in DiscoUltimate v2 TMC #26874
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
Merged
sjasonsmith
merged 10 commits into
MarlinFirmware:bugfix-2.1.x
from
Sophist-UK:define_dagoma_d6_mb
Apr 14, 2024
Merged
Changes from 3 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f02d219
Add Dagoma D6 board as used in their DiscoUltimate v2 TMC.
Sophist-UK f1e2520
Update pins_DAGOMA_D6.h
Sophist-UK 9365c5d
Fix pins.h env for Dagoma D6
Sophist-UK e2ed70c
Address review comments.
Sophist-UK b76cee8
Revert "Address review comments."
Sophist-UK a2d86bf
Define TMC slave addresses in the pins file as requested
Sophist-UK 936dea2
Reapply "env:mega2560ext"
Sophist-UK 0dabe7b
Address @thisiskeithb review comments
Sophist-UK fe80535
Remove `#include env_validate.h`
Sophist-UK 1e4b476
Add header comments, allow pin overrides
thisiskeithb 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| /** | ||
| * Marlin 3D Printer Firmware | ||
| * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | ||
Sophist-UK marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * | ||
| * Based on Sprinter and grbl. | ||
| * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm | ||
| * | ||
| * This program is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License as published by | ||
| * the Free Software Foundation, either version 3 of the License, or | ||
| * (at your option) any later version. | ||
| * | ||
| * This program is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
| * | ||
| */ | ||
| #pragma once | ||
|
|
||
| #if HOTENDS > 2 || E_STEPPERS > 2 | ||
| #error "Dagoma3D D6 supports up to 2 hotends / E-steppers." | ||
| #endif | ||
|
|
||
| #define BOARD_INFO_NAME "Dagoma3D D6" | ||
|
|
||
| // | ||
| // Endstops | ||
| // | ||
| #define X_STOP_PIN 2 | ||
| #define Y_STOP_PIN 3 | ||
| #define Z_STOP_PIN 15 | ||
|
|
||
| #define FIL_RUNOUT_PIN 39 | ||
| #if EXTRUDERS > 1 | ||
| #define FIL_RUNOUT2_PIN 14 | ||
| #endif | ||
|
|
||
| // Alter timing for graphical display | ||
| #if IS_U8GLIB_ST7920 | ||
| #define BOARD_ST7920_DELAY_1 0 | ||
| #define BOARD_ST7920_DELAY_2 250 | ||
| #define BOARD_ST7920_DELAY_3 250 | ||
| #endif | ||
|
|
||
| #define KILL_PIN -1 // NC | ||
|
|
||
| #define LCD_CONTRAST_DEFAULT 255 | ||
|
|
||
| // | ||
| // Sensorless homing DIAG pin is not directly connected to the MCU. Close | ||
| // the jumper next to the limit switch socket when using sensorless homing. | ||
| // | ||
| #if HAS_TMC_UART | ||
| /** | ||
| * TMC2208/TMC2209 stepper drivers | ||
| */ | ||
| #define X_SERIAL_RX_PIN 73 | ||
| #define X_SERIAL_TX_PIN 73 | ||
| #define Y_SERIAL_RX_PIN 73 | ||
| #define Y_SERIAL_TX_PIN 73 | ||
| #define Z_SERIAL_RX_PIN 73 | ||
| #define Z_SERIAL_TX_PIN 73 | ||
| #define E0_SERIAL_RX_PIN 73 | ||
| #define E0_SERIAL_TX_PIN 73 | ||
| #define E1_SERIAL_RX_PIN 12 | ||
| #define E1_SERIAL_TX_PIN 12 | ||
|
|
||
| #define X_DIAG_PIN 43 | ||
| #define Y_DIAG_PIN 41 | ||
| #define Z_DIAG_PIN 47 | ||
| #define E0_DIAG_PIN 21 | ||
| #define E1_DIAG_PIN 20 | ||
Sophist-UK marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| #endif | ||
|
|
||
| // | ||
| // Import default RAMPS 1.4 pins | ||
| // | ||
| #include "pins_RAMPS.h" | ||
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.
Uh oh!
There was an error while loading. Please reload this page.