Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
a7a76f1
[cron] Bump distribution date (2020-04-13)
thinkyhead Apr 13, 2020
22da1b2
Rename some "kill" messages
thinkyhead Apr 13, 2020
e6ccec1
Expose SD_PROCEDURE_DEPTH in config
thinkyhead Apr 13, 2020
4218252
Shorter M32 error message
thinkyhead Apr 13, 2020
e9c8da3
Subcall overflow error message
thinkyhead Apr 13, 2020
6ce0c94
Fix bad comparison (#17470)
InsanityAutomation Apr 13, 2020
f59c0ab
[cron] Bump distribution date (2020-04-14)
thinkyhead Apr 14, 2020
9038278
Galician language corrections (#17454)
fortes23 Apr 14, 2020
c834b31
Fix Mightyboard build (#17537)
chepo92 Apr 14, 2020
3cdc9b8
[cron] Bump distribution date (2020-04-15)
thinkyhead Apr 15, 2020
cae2b7b
SKR Pro V1.1 StallGuard pins (#17550)
AlexanderAmelkin Apr 15, 2020
cdbc7cc
Define En DIAG pins for auto-assigns
thinkyhead Apr 15, 2020
4edaffe
[cron] Bump distribution date (2020-04-16)
thinkyhead Apr 16, 2020
808f632
Update print job timer with Chamber temp (#17552)
randellhodges Apr 16, 2020
791873b
Fix ExtUI compile errors (#17544)
marciot Apr 16, 2020
e990a98
FYSETC TFT81050 LCD support (#17568)
GerogeFu Apr 16, 2020
089a0af
More info on E3D, Keenovo, and Wanhao thermistors (#17561)
thisiskeithb Apr 16, 2020
2824e67
Add ExtUI::onStatusChanged_P (#17543)
Desuuuu Apr 16, 2020
bc856fd
MKS Robin E3 / E3D support (#17569)
mks-viva Apr 16, 2020
880f63b
It looks like HAS_ONBOARD_SD is obsolete
thinkyhead Apr 16, 2020
3a9f8a0
Fix SD connection for some boards
thinkyhead Apr 16, 2020
03020dd
Use the common pattern for auto fan pins
thinkyhead Apr 16, 2020
1c43870
Add chamber to sensitive pins
thinkyhead Apr 16, 2020
d8b8d88
Move setup logging to the top
thinkyhead Apr 16, 2020
0ce5325
Update Polish language (#17525)
Apr 16, 2020
0f0b1af
Update GLCD Silvergate display timing (#17518)
Apr 16, 2020
7d0ea3e
Fix framework-arduinoststm32 minimum version (#17512)
sjasonsmith Apr 16, 2020
d194688
Define EEPROM, SD type for MKS Robin nano (#17498)
dandantsui Apr 16, 2020
f5d809f
SKR Pro 1.1 WiFi and LCD SD card support (#17531)
Bob-the-Kuhn Apr 16, 2020
aca2e14
Silence E3 DIP build warning (#17492)
sl1pkn07 Apr 16, 2020
78a5079
Add Hungarian language (#17491)
AntoszHUN Apr 16, 2020
c16818b
Fix SAMD51 timer usage (#17471)
GMagician Apr 16, 2020
f5577b3
Update Italian language (#17467)
GMagician Apr 16, 2020
d353d67
SD detect override for older Creality3D RAMPS (#17469)
InsanityAutomation Apr 16, 2020
847ea58
STM32F103VE has 512K Flash EEPROM (#17565)
thinkyhead Apr 16, 2020
720795a
More verbose probing error (#17482)
unixb0y Apr 16, 2020
fd4c025
More features in SAMD51 test (#17572)
GMagician Apr 16, 2020
9110f75
AUTOTEMP default proportions (#17560)
studiodyne Apr 17, 2020
3210155
Update French language (#17577)
tpruvot Apr 17, 2020
927e29b
[cron] Bump distribution date (2020-04-17)
thinkyhead Apr 17, 2020
bbe2cb7
More accurate Junction Deviation fast-acos (#17575)
XDA-Bam Apr 17, 2020
3fcb36d
M200/M300 LCD comment
thinkyhead Apr 17, 2020
880f73d
Minor cleanup
thinkyhead Apr 17, 2020
e7f3b62
Use 'melzi' envs for MELZI_CREALITY (#17578)
sl1pkn07 Apr 17, 2020
cbf349b
Fix some DGUS bugs
GerogeFu Mar 25, 2020
a794538
Homing backoff enhancements
GerogeFu Mar 25, 2020
360e07c
Add USE_PROBE_FOR_Z_HOMING option (#17359)
djessup Apr 17, 2020
f94ab84
Malyan M300 support (#17421)
thinkyhead Apr 17, 2020
3a42b6c
Patch M425 for CAN_CALIBRATE
thinkyhead Apr 17, 2020
d78ce58
Update a (c) date (#17584)
Apr 17, 2020
50fa87f
Proportional Autotemp followup (#17585)
studiodyne Apr 17, 2020
a12b021
[cron] Bump distribution date (2020-04-18)
thinkyhead Apr 18, 2020
8ad0560
Define "resolution" in bits
thinkyhead Apr 18, 2020
8e8ba46
[cron] Bump distribution date (2020-04-19)
thinkyhead Apr 19, 2020
4a5a3d2
Option to use raw digipot values (#17536)
grauerfuchs Apr 19, 2020
b420fda
Digipots followup
thinkyhead Apr 19, 2020
ad7a6e1
Fix no-bed compile error
thinkyhead Apr 19, 2020
87875e0
Fix mixing with "unload all" compile
thinkyhead Apr 19, 2020
1bbd776
Clean up language files
thinkyhead Apr 19, 2020
776d776
[cron] Bump distribution date (2020-04-20)
thinkyhead Apr 20, 2020
78fe411
Include swt_init in log
thinkyhead Apr 20, 2020
5d0deba
Longer default power-up delay
thinkyhead Apr 20, 2020
15f6f53
Add HAS_HOTEND, etc.
thinkyhead Apr 20, 2020
a0d0ce4
Sanity-check nozzle park point (#17621)
onovy Apr 20, 2020
1af6a6d
Update Language fonts (#17620)
onovy Apr 20, 2020
27f0f10
Ensure brightness > 0 in ExtUI (#17611)
RudolphRiedel Apr 20, 2020
f779d1b
HD44780 mapping for Czech accents (#17603)
onovy Apr 20, 2020
b55dd2c
Fix low contrast on Minipanel display (#17601)
Tho85 Apr 20, 2020
9338fb8
Update Hungarian language (#17593)
AntoszHUN Apr 20, 2020
90a4322
Update Slovak language (#17588)
rmoravcik Apr 20, 2020
cba58b1
Fix "possible buffer overrun" warning (#17513)
sjasonsmith Apr 20, 2020
ccfd5c1
Trinamic steppers Homing Phase (#17299)
Fabi0San Apr 20, 2020
875cd4e
Remove 'Media Released' message (#17272)
mathiasvr Apr 20, 2020
000ec9f
Ensure language.h include order
thinkyhead Apr 20, 2020
abd42e5
Fix M125 unretract length (#17623)
onovy Apr 20, 2020
eb91dbc
[cron] Bump distribution date (2020-04-21)
thinkyhead Apr 21, 2020
a5b2e3e
Fix Mixer::reset_vtools bug
thinkyhead Apr 21, 2020
2ae00db
Move G26 heading up
thinkyhead Apr 21, 2020
d96c769
Move Power Loss Recovery check
thinkyhead Apr 19, 2020
5de8736
Call first_load from manage_media
thinkyhead Apr 14, 2020
c3946dd
Add a warning on LA + S-Curve
thinkyhead Apr 21, 2020
d34c22a
Skip redundant file/dir tests
thinkyhead Apr 13, 2020
1563d12
[cron] Bump distribution date (2020-04-22)
thinkyhead Apr 22, 2020
d666ef0
Prevent 'I2C_EEPROM' on LPC176x
thinkyhead Apr 21, 2020
0fec478
Wrangle HAL EEPROM types
thinkyhead Apr 22, 2020
5a5be7e
Reorder setup, with serial early
thinkyhead Apr 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
- mks_robin
- ARMED
- FYSETC_S6
- malyan_M300

# Put lengthy tests last

Expand Down
26 changes: 14 additions & 12 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
#define PSU_ACTIVE_HIGH false // Set 'false' for ATX, 'true' for X-Box

//#define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80
//#define PSU_POWERUP_DELAY 100 // (ms) Delay for the PSU to warm up to full power
//#define PSU_POWERUP_DELAY 250 // (ms) Delay for the PSU to warm up to full power

//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
#if ENABLED(AUTO_POWER_CONTROL)
Expand Down Expand Up @@ -364,7 +364,7 @@
* 202 : 200k thermistor - Copymaster 3D
* 3 : Mendel-parts thermistor (4.7k pullup)
* 4 : 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
* 5 : 100K thermistor - ATC Semitec 104GT-2/104NT-4-R025H42G (Used in ParCan & J-Head) (4.7k pullup)
* 5 : 100K thermistor - ATC Semitec 104GT-2/104NT-4-R025H42G (Used in ParCan, J-Head, and E3D) (4.7k pullup)
* 501 : 100K Zonestar (Tronxy X3A) Thermistor
* 512 : 100k RPW-Ultra hotend thermistor (4.7k pullup)
* 6 : 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)
Expand All @@ -373,7 +373,7 @@
* 8 : 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
* 9 : 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
* 10 : 100k RS thermistor 198-961 (4.7k pullup)
* 11 : 100k beta 3950 1% thermistor (4.7k pullup)
* 11 : 100k beta 3950 1% thermistor (Used in Keenovo AC silicone mats and most Wanhao i3 machines) (4.7k pullup)
* 12 : 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
* 13 : 100k Hisens 3950 1% up to 300°C for hotend "Simple ONE " & "Hotend "All In ONE"
* 15 : 100k thermistor calibration for JGAurora A5 hotend
Expand All @@ -395,7 +395,7 @@
* 52 : 200k thermistor - ATC Semitec 204GT-2 (1k pullup)
* 55 : 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (1k pullup)
*
* 1047 : Pt1000 with 4k7 pullup
* 1047 : Pt1000 with 4k7 pullup (E3D)
* 1010 : Pt1000 with 1k pullup (non standard)
* 147 : Pt100 with 4k7 pullup
* 110 : Pt100 with 1k pullup (non standard)
Expand Down Expand Up @@ -824,12 +824,15 @@
//

/**
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
*
* Enable this option for a probe connected to the Z Min endstop pin.
* Enable this option for a probe connected to the Z-MIN pin.
* The probe replaces the Z-MIN endstop and is used for Z homing.
* (Automatically enables USE_PROBE_FOR_Z_HOMING.)
*/
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

// Force the use of the probe for Z-axis homing
//#define USE_PROBE_FOR_Z_HOMING

/**
* Z_MIN_PROBE_PIN
*
Expand Down Expand Up @@ -1335,7 +1338,6 @@
*/
//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10"


// @section homing

// The center of the bed is at (X=0, Y=0)
Expand Down Expand Up @@ -1611,10 +1613,10 @@
*
* Select the language to display on the LCD. These languages are available:
*
* en, an, bg, ca, cz, da, de, el, el_gr, es, eu, fi, fr, gl, hr, it, jp_kana,
* ko_KR, nl, pl, pt, pt_br, ru, sk, tr, uk, vi, zh_CN, zh_TW, test
* en, an, bg, ca, cz, da, de, el, el_gr, es, eu, fi, fr, gl, hr, hu, it,
* jp_kana, ko_KR, nl, pl, pt, pt_br, ru, sk, tr, uk, vi, zh_CN, zh_TW, test
*
* :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cz':'Czech', 'da':'Danish', 'de':'German', 'el':'Greek', 'el_gr':'Greek (Greece)', 'es':'Spanish', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'gl':'Galician', 'hr':'Croatian', 'it':'Italian', 'jp_kana':'Japanese', 'ko_KR':'Korean (South Korea)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt_br':'Portuguese (Brazilian)', 'ru':'Russian', 'sk':'Slovak', 'tr':'Turkish', 'uk':'Ukrainian', 'vi':'Vietnamese', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Traditional)', 'test':'TEST' }
* :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cz':'Czech', 'da':'Danish', 'de':'German', 'el':'Greek', 'el_gr':'Greek (Greece)', 'es':'Spanish', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'gl':'Galician', 'hr':'Croatian', 'hu':'Hungarian', 'it':'Italian', 'jp_kana':'Japanese', 'ko_KR':'Korean (South Korea)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt_br':'Portuguese (Brazilian)', 'ru':'Russian', 'sk':'Slovak', 'tr':'Turkish', 'uk':'Ukrainian', 'vi':'Vietnamese', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Traditional)', 'test':'TEST' }
*/
#define LCD_LANGUAGE en

Expand Down Expand Up @@ -2069,7 +2071,7 @@
//#define DGUS_LCD_UI_HIPRECY

//
// Touch-screen LCD for Malyan M200 printers
// Touch-screen LCD for Malyan M200/M300 printers
//
//#define MALYAN_LCD

Expand Down
115 changes: 77 additions & 38 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
// A well-chosen Kc value should add just enough power to melt the increased material volume.
//#define PID_EXTRUSION_SCALING
#if ENABLED(PID_EXTRUSION_SCALING)
#define DEFAULT_Kc (100) //heating power=Kc*(e_speed)
#define DEFAULT_Kc (100) // heating power = Kc * e_speed
#define LPQ_MAX_LEN 50
#endif

Expand Down Expand Up @@ -262,18 +262,28 @@
#endif

/**
* Automatic Temperature:
* The hotend target temperature is calculated by all the buffered lines of gcode.
* The maximum buffered steps/sec of the extruder motor is called "se".
* Start autotemp mode with M109 S<mintemp> B<maxtemp> F<factor>
* The target temperature is set to mintemp+factor*se[steps/sec] and is limited by
* mintemp and maxtemp. Turn this off by executing M109 without F*
* Also, if the temperature is set to a value below mintemp, it will not be changed by autotemp.
* On an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode
* Automatic Temperature Mode
*
* Dynamically adjust the hotend target temperature based on planned E moves.
*
* (Contrast with PID_EXTRUSION_SCALING, which tracks E movement and adjusts PID
* behavior using an additional kC value.)
*
* Autotemp is calculated by (mintemp + factor * mm_per_sec), capped to maxtemp.
*
* Enable Autotemp Mode with M104/M109 F<factor> S<mintemp> B<maxtemp>.
* Disable by sending M104/M109 with no F parameter (or F0 with AUTOTEMP_PROPORTIONAL).
*/
#define AUTOTEMP
#if ENABLED(AUTOTEMP)
#define AUTOTEMP_OLDWEIGHT 0.98
#define AUTOTEMP_OLDWEIGHT 0.98
// Turn on AUTOTEMP on M104/M109 by default using proportions set here
//#define AUTOTEMP_PROPORTIONAL
#if ENABLED(AUTOTEMP_PROPORTIONAL)
#define AUTOTEMP_MIN_P 0 // (°C) Added to the target temperature
#define AUTOTEMP_MAX_P 5 // (°C) Added to the target temperature
#define AUTOTEMP_FACTOR_P 1 // Apply this F parameter by default (overridden by M104/M109 F)
#endif
#endif

// Extra options for the M114 "Current Position" report
Expand Down Expand Up @@ -425,6 +435,8 @@
#define E3_AUTO_FAN_PIN -1
#define E4_AUTO_FAN_PIN -1
#define E5_AUTO_FAN_PIN -1
#define E6_AUTO_FAN_PIN -1
#define E7_AUTO_FAN_PIN -1
#define CHAMBER_AUTO_FAN_PIN -1

#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
Expand Down Expand Up @@ -580,28 +592,32 @@

// Default x offset in duplication mode (typically set to half print bed width)
#define DEFAULT_DUPLICATION_X_OFFSET 100

#endif // DUAL_X_CARRIAGE
#endif

// Activate a solenoid on the active extruder with M380. Disable all with M381.
// Define SOL0_PIN, SOL1_PIN, etc., for each extruder that has a solenoid.
//#define EXT_SOLENOID

// @section homing

// Homing hits each endstop, retracts by these distances, then does a slower bump.
#define X_HOME_BUMP_MM 5
#define Y_HOME_BUMP_MM 5
#define Z_HOME_BUMP_MM 2
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
//#define QUICK_HOME // If homing includes X and Y, do a diagonal move initially
//#define HOMING_BACKOFF_MM { 2, 2, 2 } // (mm) Move away from the endstops after homing
/**
* Homing Procedure
* Homing (G28) does an indefinite move towards the endstops to establish
* the position of the toolhead relative to the workspace.
*/

//#define SENSORLESS_BACKOFF_MM { 2, 2 } // (mm) Backoff from endstops before sensorless homing

// When G28 is called, this option will make Y home before X
//#define HOME_Y_BEFORE_X
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)

// Enable this if X or Y can't home without homing the other axis first.
//#define CODEPENDENT_XY_HOMING
//#define HOMING_BACKOFF_POST_MM { 2, 2, 2 } // (mm) Backoff from endstops after homing

//#define QUICK_HOME // If G28 contains XY do a diagonal move first
//#define HOME_Y_BEFORE_X // If G28 contains XY home Y before X
//#define CODEPENDENT_XY_HOMING // If X/Y can't home without homing Y/X first

// @section bltouch

#if ENABLED(BLTOUCH)
/**
Expand Down Expand Up @@ -670,6 +686,8 @@

#endif // BLTOUCH

// @section extras

/**
* Z Steppers Auto-Alignment
* Add the G34 command to align multiple Z steppers using a bed probe.
Expand Down Expand Up @@ -908,9 +926,20 @@
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
//#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis

// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro)
//#define DIGIPOT_I2C
#if ENABLED(DIGIPOT_I2C) && !defined(DIGIPOT_I2C_ADDRESS_A)
/**
* I2C-based DIGIPOTs (e.g., Azteeg X3 Pro)
*/
//#define DIGIPOT_MCP4018 // Requires https://github.com/stawel/SlowSoftI2CMaster
//#define DIGIPOT_MCP4451
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5

// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
// These correspond to the physical drivers, so be mindful if the order is changed.
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO

//#define DIGIPOT_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)

/**
* Common slave addresses:
*
Expand All @@ -921,16 +950,10 @@
* AZTEEG_X5_MINI_WIFI 0x58 0x5C MCP4451
* MIGHTYBOARD_REVE 0x2F (0x5E) MCP4018
*/
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
#define DIGIPOT_I2C_ADDRESS_B 0x2D // unshifted slave address for second DIGIPOT
//#define DIGIPOT_I2C_ADDRESS_A 0x2C // Unshifted slave address for first DIGIPOT
//#define DIGIPOT_I2C_ADDRESS_B 0x2D // Unshifted slave address for second DIGIPOT
#endif

//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4 AZTEEG_X3_PRO: 8 MKS SBASE: 5
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
// These correspond to the physical drivers, so be mindful if the order is changed.
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO

//===========================================================================
//=============================Additional Features===========================
//===========================================================================
Expand Down Expand Up @@ -1035,6 +1058,8 @@
// Enable this option and set to HIGH if your SD cards are incorrectly detected.
//#define SD_DETECT_STATE HIGH

#define SD_PROCEDURE_DEPTH 1 // Increase if you need more nested M32 calls

#define SD_FINISHED_STEPPERRELEASE true // Disable steppers when SD Print is finished
#define SD_FINISHED_RELEASECOMMAND "M84" // Use "M84XYE" to keep Z enabled so your bed stays in place

Expand Down Expand Up @@ -1342,6 +1367,7 @@
//#define LCD_HAOYU_FT800CB // Haoyu with 4.3" or 5" (480x272)
//#define LCD_HAOYU_FT810CB // Haoyu with 5" (800x480)
//#define LCD_ALEPHOBJECTS_CLCD_UI // Aleph Objects Color LCD UI
//#define LCD_FYSETC_TFT81050 // FYSETC with 5" (800x480)

// Correct the resolution if not using the stock TFT panel.
//#define TOUCH_UI_320x240
Expand Down Expand Up @@ -1516,6 +1542,7 @@
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
//#define EXPERIMENTAL_SCURVE // Enable this option to permit S-Curve Acceleration
#endif

// @section leveling
Expand Down Expand Up @@ -2246,9 +2273,9 @@
#define CHOPPER_TIMING CHOPPER_DEFAULT_12V

/**
* Monitor Trinamic drivers for error conditions,
* like overtemperature and short to ground.
* In the case of overtemperature Marlin can decrease the driver current until error condition clears.
* Monitor Trinamic drivers
* for error conditions like overtemperature and short to ground.
* To manage over-temp Marlin can decrease the driver current until the error condition clears.
* Other detected conditions can be used to stop the current print.
* Relevant g-codes:
* M906 - Set or get motor current in milliamps using axis codes X, Y, Z, E. Report values if no axis codes given.
Expand Down Expand Up @@ -2304,7 +2331,7 @@
* HIGHEST 255 -64 (Too sensitive => False positive)
* LOWEST 0 63 (Too insensitive => No trigger)
*
* It is recommended to set [XYZ]_HOME_BUMP_MM to 0.
* It is recommended to set HOMING_BUMP_MM to { 0, 0, 0 }.
*
* SPI_ENDSTOPS *** Beta feature! *** TMC2130 Only ***
* Poll the driver through SPI to determine load when homing.
Expand All @@ -2325,6 +2352,18 @@
//#define IMPROVE_HOMING_RELIABILITY
#endif

/**
* TMC Homing stepper phase.
*
* Improve homing repeatability by homing to stepper coil's nearest absolute
* phase position. Trinamic drivers use a stepper phase table with 1024 values
* spanning 4 full steps with 256 positions each (ergo, 1024 positions).
* Full step positions (128, 384, 640, 896) have the highest holding torque.
*
* Values from 0..1023, -1 to disable homing phase for that axis.
*/
//#define TMC_HOME_PHASE { 896, 896, 896 }

/**
* Beta feature!
* Create a 50/50 square wave step pulse optimal for stepper drivers.
Expand Down
2 changes: 1 addition & 1 deletion Marlin/Marlin.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Marlin Firmware

(c) 2011-2019 MarlinFirmware
(c) 2011-2020 MarlinFirmware
Portions of Marlin are (c) by their respective authors.
All code complies with GPLv2 and/or GPLv3

Expand Down
10 changes: 0 additions & 10 deletions Marlin/src/HAL/AVR/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@
* Test AVR-specific configuration values for errors at compile-time.
*/

/**
* Digipot requirement
*/
#if ENABLED(DIGIPOT_MCP4018)
#if !defined(DIGIPOTS_I2C_SDA_X) || !defined(DIGIPOTS_I2C_SDA_Y) || !defined(DIGIPOTS_I2C_SDA_Z) \
|| !defined(DIGIPOTS_I2C_SDA_E0) || !defined(DIGIPOTS_I2C_SDA_E1)
#error "DIGIPOT_MCP4018 requires DIGIPOTS_I2C_SDA_* pins to be defined."
#endif
#endif

/**
* Checks for FAST PWM
*/
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/HAL_SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@

}

#endif // ENABLED(LPC_SOFTWARE_SPI)
#endif // LPC_SOFTWARE_SPI

void SPIClass::begin() { spiBegin(); }

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/eeprom_flash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#if ENABLED(FLASH_EEPROM_EMULATION)

#include "eeprom_api.h"
#include "../shared/eeprom_api.h"

extern "C" {
#include <lpc17xx_iap.h>
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/eeprom_sdcard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#if ENABLED(SDCARD_EEPROM_EMULATION)

#include "eeprom_api.h"
#include "../shared/eeprom_api.h"

#include <chanfs/diskio.h>
#include <chanfs/ff.h>
Expand Down
4 changes: 3 additions & 1 deletion Marlin/src/HAL/LPC1768/inc/Conditionals_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
*/
#pragma once

#if USE_FALLBACK_EEPROM && NONE(SDCARD_EEPROM_EMULATION, SRAM_EEPROM_EMULATION)
#undef I2C_EEPROM // Arduino framework provides code for I2C

#if USE_FALLBACK_EEPROM
#define FLASH_EEPROM_EMULATION
#endif
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static_assert(DISABLED(BAUD_RATE_GCODE), "BAUD_RATE_GCODE is not yet supported o
//
// Flag any i2c pin conflicts
//
#if ANY(DIGIPOT_I2C, DIGIPOT_MCP4018, DAC_STEPPER_CURRENT, EXPERIMENTAL_I2CBUS, I2C_POSITION_ENCODERS, PCA9632, I2C_EEPROM)
#if ANY(HAS_I2C_DIGIPOT, DAC_STEPPER_CURRENT, EXPERIMENTAL_I2CBUS, I2C_POSITION_ENCODERS, PCA9632, I2C_EEPROM)
#define USEDI2CDEV_M 1 // <Arduino>/Wire.cpp

#if USEDI2CDEV_M == 0 // P0_27 [D57] (AUX-1) .......... P0_28 [D58] (AUX-1)
Expand Down
Loading