Skip to content

Commit

Permalink
Merge branch 'import-2.1.x' into pr/clarify_tjc_display_support
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored Dec 1, 2024
2 parents 029db09 + 3a47c01 commit e192f73
Show file tree
Hide file tree
Showing 765 changed files with 60,022 additions and 50,116 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Test Build
if: github.repository == 'MarlinFirmware/Configurations'

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out the PR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: PR Bad Target
if: github.repository == 'MarlinFirmware/Configurations'

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: superbrothers/close-pull-request@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
deploy:
if: github.repository == 'MarlinFirmware/Configurations'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Pre-tested Configurations for Marlin Firmware. Links below…

Version|File Tree|Download
---|---|---
2.1.2.5|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.5))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.5.zip))
2.1.2.4|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.4))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.4.zip))
2.1.2.3|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.3))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.3.zip))
2.1.2.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.2.zip))
Expand Down
4 changes: 2 additions & 2 deletions bin/mfconfig
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def git(etc):
def branch(): return git(["rev-parse", "--abbrev-ref", "HEAD"])

# git add . ; git commit -m ...
def commit(msg, who="."): git(["add", who]) ; return git(["commit", "-m", f'"{msg}"'])
def commit(msg, who="."): git(["add", who]) ; return git(["commit", "-m", msg])

# git checkout ...
def checkout(etc): return git(["checkout"] + ([etc] if isinstance(etc, str) else etc))
Expand Down Expand Up @@ -181,7 +181,7 @@ if ACTION == "init":
# Create a fresh 'WORK' as a copy of 'init-repo' (README, LICENSE, etc.)
if not CI: gitbd("WORK")
REMOTE = "origin" if CI else "upstream"
checkout([f"{REMOTE}/init-repo", "-b", "WORK"])
checkout(["--no-track", f"{REMOTE}/init-repo", "-b", "WORK"])

# Copy default configurations into the repo
info("Create configs in default state...")
Expand Down
105 changes: 75 additions & 30 deletions config/default/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
// @section info

// Author info of this build printed to the host during boot and M115
#define STRING_CONFIG_H_AUTHOR "(MarlinFirmware)" // Who made the changes.
#define STRING_CONFIG_H_AUTHOR "(MarlinFirmware)" // Original author or contributor.
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)

// @section machine
Expand All @@ -73,6 +73,8 @@
#define MOTHERBOARD BOARD_RAMPS_14_EFB
#endif

// @section serial

/**
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
Expand Down Expand Up @@ -124,6 +126,9 @@
//#define RS485_BUS_BUFFER_SIZE 128
#endif

// Enable CAN bus support and protocol
//#define CAN_MASTER

// Enable the Bluetooth serial interface on AT90USB devices
//#define BLUETOOTH

Expand Down Expand Up @@ -804,6 +809,40 @@
//#define BED_LIMIT_SWITCHING // Keep the bed temperature within BED_HYSTERESIS of the target
#endif

/**
* Peltier Bed - Heating and Cooling
*
* A Peltier device transfers heat from one side to the other in proportion to the amount of
* current flowing through the device and the direction of current flow. So the same device
* can both heat and cool.
*
* When "cooling" in addition to rejecting the heat transferred from the hot side to the cold
* side, the dissipated power (voltage * current) must also be rejected. Be sure to set up a
* fan that can be powered in sync with the Peltier unit.
*
* This feature is only set up to run in bang-bang mode because Peltiers don't handle PWM
* well without filter circuitry.
*
* Since existing 3D printers are made to handle relatively high current for the heated bed,
* we can use the heated bed power pins to control the Peltier power using the same G-codes
* as the heated bed (M140, M190, etc.).
*
* A second GPIO pin is required to control current direction.
* Two configurations are possible: Relay and H-Bridge
*
* (At this time only relay is supported. H-bridge requires 4 MOS switches configured in H-Bridge.)
*
* Power is handled by the bang-bang control loop: 0 or 255.
* Cooling applications are more common than heating, so the pin states are commonly:
* LOW = Heating = Relay Energized
* HIGH = Cooling = Relay in "Normal" state
*/
//#define PELTIER_BED
#if ENABLED(PELTIER_BED)
#define PELTIER_DIR_PIN -1 // Relay control pin for Peltier
#define PELTIER_DIR_HEAT_STATE LOW // The relay pin state that causes the Peltier to heat
#endif

// Add 'M190 R T' for more gradual M190 R bed cooling.
//#define BED_ANNEALING_GCODE

Expand Down Expand Up @@ -909,7 +948,7 @@
//============================= Mechanical Settings =========================
//===========================================================================

// @section machine
// @section kinematics

// Enable one of the options below for CoreXY, CoreXZ, or CoreYZ kinematics,
// either in the usual order or reversed
Expand All @@ -933,6 +972,15 @@
// Enable for a belt style printer with endless "Z" motion
//#define BELTPRINTER

// Articulated robot (arm). Joints are directly mapped to axes with no kinematics.
//#define ARTICULATED_ROBOT_ARM

// For a hot wire cutter with parallel horizontal axes (X, I) where the heights of the two wire
// ends are controlled by parallel axes (Y, J). Joints are directly mapped to axes (no kinematics).
//#define FOAMCUTTER_XYUV

// @section polargraph

// Enable for Polargraph Kinematics
//#define POLARGRAPH
#if ENABLED(POLARGRAPH)
Expand Down Expand Up @@ -1119,15 +1167,6 @@
#define FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly
#endif

// @section machine

// Articulated robot (arm). Joints are directly mapped to axes with no kinematics.
//#define ARTICULATED_ROBOT_ARM

// For a hot wire cutter with parallel horizontal axes (X, I) where the heights of the two wire
// ends are controlled by parallel axes (Y, J). Joints are directly mapped to axes (no kinematics).
//#define FOAMCUTTER_XYUV

//===========================================================================
//============================== Endstop Settings ===========================
//===========================================================================
Expand Down Expand Up @@ -1612,7 +1651,8 @@
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
#define PROBING_MARGIN 10

// X and Y axis travel speed (mm/min) between probes
// X and Y axis travel speed (mm/min) between probes.
// Leave undefined to use the average of the current XY homing feedrate.
#define XY_PROBE_FEEDRATE (133*60)

// Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2)
Expand Down Expand Up @@ -1736,17 +1776,17 @@
// @section stepper drivers

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
// :{ 0:'Low', 1:'High' }
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0 // For all extruders
//#define I_ENABLE_ON 0
//#define J_ENABLE_ON 0
//#define K_ENABLE_ON 0
//#define U_ENABLE_ON 0
//#define V_ENABLE_ON 0
//#define W_ENABLE_ON 0
// :['LOW', 'HIGH']
#define X_ENABLE_ON LOW
#define Y_ENABLE_ON LOW
#define Z_ENABLE_ON LOW
#define E_ENABLE_ON LOW // For all extruders
//#define I_ENABLE_ON LOW
//#define J_ENABLE_ON LOW
//#define K_ENABLE_ON LOW
//#define U_ENABLE_ON LOW
//#define V_ENABLE_ON LOW
//#define W_ENABLE_ON LOW

// Disable axis steppers immediately when they're not being stepped.
// WARNING: When motors turn off there is a chance of losing position accuracy!
Expand Down Expand Up @@ -2021,9 +2061,9 @@
//#define FIL_MOTION8_PULLUP
//#define FIL_MOTION8_PULLDOWN
#endif
#endif
#endif
#endif
#endif // FILAMENT_MOTION_SENSOR
#endif // FILAMENT_RUNOUT_DISTANCE_MM
#endif // FILAMENT_RUNOUT_SENSOR

//===========================================================================
//=============================== Bed Leveling ==============================
Expand Down Expand Up @@ -2312,6 +2352,9 @@
// Homing speeds (linear=mm/min, rotational=°/min)
#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (4*60) }

// Edit homing feedrates with M210 and MarlinUI menu items
//#define EDITABLE_HOMING_FEEDRATE

// Validate that endstops are triggered on homing moves
#define VALIDATE_HOMING_ENDSTOPS

Expand Down Expand Up @@ -3256,14 +3299,14 @@
//#define ANYCUBIC_LCD_VYPER

//
// 320x240 Nextion 2.8" serial TFT Resistive Touch Screen NX3224T028
// Sovol SV-06 Resistive Touch Screen
//
//#define NEXTION_TFT
//#define SOVOL_SV06_RTS

//
// Sovol SV-06 Resistive Touch Screen
// 320x240 Nextion 2.8" serial TFT Resistive Touch Screen NX3224T028
//
//#define SOVOL_SV06_RTS
//#define NEXTION_TFT

//
// PanelDue touch controller by Escher3D
Expand Down Expand Up @@ -3437,6 +3480,8 @@
* TFT_ROTATE_180, TFT_ROTATE_180_MIRROR_X, TFT_ROTATE_180_MIRROR_Y,
* TFT_ROTATE_270, TFT_ROTATE_270_MIRROR_X, TFT_ROTATE_270_MIRROR_Y,
* TFT_MIRROR_X, TFT_MIRROR_Y, TFT_NO_ROTATION
*
* :{ 'TFT_NO_ROTATION':'None', 'TFT_ROTATE_90':'90°', 'TFT_ROTATE_90_MIRROR_X':'90° (Mirror X)', 'TFT_ROTATE_90_MIRROR_Y':'90° (Mirror Y)', 'TFT_ROTATE_180':'180°', 'TFT_ROTATE_180_MIRROR_X':'180° (Mirror X)', 'TFT_ROTATE_180_MIRROR_Y':'180° (Mirror Y)', 'TFT_ROTATE_270':'270°', 'TFT_ROTATE_270_MIRROR_X':'270° (Mirror X)', 'TFT_ROTATE_270_MIRROR_Y':'270° (Mirror Y)', 'TFT_MIRROR_X':'Mirror X', 'TFT_MIRROR_Y':'Mirror Y' }
*/
//#define TFT_ROTATION TFT_NO_ROTATION

Expand Down
Loading

0 comments on commit e192f73

Please sign in to comment.