Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f646499
[cron] Bump distribution date
thinkyhead Dec 4, 2019
7f8ca85
STM32F1 Flash-based EEPROM fixes (#16118)
randellhodges Dec 6, 2019
37df0c1
Disable PRINTCOUNTER in SKR Mini E3 examples (#16110)
sjasonsmith Dec 6, 2019
b65ab21
Fix compile error with disabled PIDTEMP (#16108)
anttix Dec 6, 2019
a087a65
Wanhao D6 uses TINYBOY2 (#16117)
thisiskeithb Dec 6, 2019
ab61c09
Improve touch buttons behavior (#16109)
tpruvot Dec 6, 2019
f3155af
Update AZSMZ LCD link (#16106)
shitcreek Dec 6, 2019
bb5717c
[cron] Bump distribution date
thinkyhead Dec 7, 2019
39fcb5b
Update 3DFabXYZ settings (#16139)
AJMartel Dec 8, 2019
07a6105
[cron] Bump distribution date
thinkyhead Dec 10, 2019
1465fc0
Fix controller and SD on Robin Nano (#16187)
anttix Dec 11, 2019
1bcd47e
Correct MKS Robin Mini pins (#16178)
AndersSahlman Dec 11, 2019
1c4f672
Formalize DAC percent strings (#16176)
0r31 Dec 11, 2019
5dfa152
Update Italian language (#16147)
GMagician Dec 11, 2019
5ebef42
Update french (objects, retract...)
tpruvot Dec 8, 2019
0d52eaa
Superscript 3 for mm3
thinkyhead Dec 11, 2019
1c48817
[cron] Bump distribution date
thinkyhead Dec 11, 2019
31fdaea
Add MKS Robin Pro, MKS Robin Lite3 (#16163)
MS1987 Dec 11, 2019
96cf556
Fix multiple servos with STM32 (#16151)
MangaValk Dec 11, 2019
c2342c3
Use error message !! hints (#16145)
AndKe Dec 11, 2019
23d1801
Update BTT comments for USB/SD Composite (#16130)
tpruvot Dec 11, 2019
98814e1
MKS 12864 OLED pins for SGEN-L (#16188)
thisiskeithb Dec 11, 2019
50688f0
Invert E dir of Geeetech A10 (#16149)
tobiasschuerg Dec 11, 2019
edc671e
Disable SD_CHECK_AND_RETRY in BTT E3 configs (#16143)
thisiskeithb Dec 11, 2019
ae35045
Add a CI test for RAMBo + CNC (#16126)
jeffeb3 Dec 11, 2019
b065a60
Onboard (always-on) pullups support (#16144)
ManuelMcLure Dec 12, 2019
7b51274
Tweak ExtUI Probeless Babystepping (#16177)
InsanityAutomation Dec 12, 2019
e45c4d6
Fix RAMBo CNC test
thinkyhead Dec 12, 2019
6b53431
Flsun QQ-S example config (#16204)
AndersSahlman Dec 12, 2019
3d4aa01
Add MKS Robin Mini EEPROM defines (#16203)
AndersSahlman Dec 12, 2019
2a7f109
Fix compile error (macro substitution typo) (#16194)
randellhodges Dec 12, 2019
629c039
Update M503 MBL G29 report (#16199)
dseven Dec 12, 2019
98382fc
Include Z in SCARA steps feedrate (#16193)
boelle Dec 12, 2019
f3d64b7
Cardreader read/write open methods
thinkyhead Dec 13, 2019
303ddb8
Tweak some config names
thinkyhead Dec 13, 2019
1ea78cd
Improve A20M config
thinkyhead Dec 13, 2019
6a514a1
Move status screen defines
thinkyhead Oct 9, 2019
e9dadac
Fix bad #ifdef (#16227)
shitcreek Dec 15, 2019
509e1ab
TOUCH_MI_DEPLOY_XPOS fallback to X_MIN_POS (#16226)
shitcreek Dec 15, 2019
dc8d8cb
Fix MKS SGen-L SD detect pin (#16224)
thisiskeithb Dec 15, 2019
9d6b2eb
Improve ESP32 HAL (EEPROM, watchdog) (#16228)
luc-github Dec 15, 2019
6e8dcba
Fix G28 debug line, M569 calls (#16213)
danym21 Dec 15, 2019
a358b72
Add SKR Mini E3 + Zonestar LCD warning (#16214)
thisiskeithb Dec 15, 2019
a0badf5
STM32 Touch UI timings, Longer onboard pullups (#16219)
tpruvot Dec 15, 2019
42a336f
Update BTT002 platform (fixing SD init) (#16217)
chzj333 Dec 15, 2019
e0c7134
Define more FAN pins for GT2560 (#16235)
Vertabreak Dec 16, 2019
4a6f625
Tweak E180 config
thinkyhead Dec 16, 2019
af4c62b
Update product links
thinkyhead Dec 16, 2019
262ff95
[cron] Bump distribution date
thinkyhead Dec 16, 2019
7f15968
Add dev-2.1.x to 'mfinfo' script
thinkyhead Dec 16, 2019
711fb26
Move AutoBuildMarlin to its own repo
thinkyhead Dec 16, 2019
768a1d2
[cron] Bump distribution date
thinkyhead Dec 19, 2019
0400783
Tweak G34, fix a declaration
thinkyhead Dec 19, 2019
dcdaa20
Sanity-check Z_STEPPER_AUTO_ALIGN coordinates (#16231)
MoshiBin Dec 19, 2019
329f5b4
Improve SKR mini E3 + Ender 3 settings (#16247)
salami738 Dec 19, 2019
865071a
Tweak code formatting
thinkyhead Dec 11, 2019
e5edbf9
Allow TMC2209 to save/restore spreadCycle (#16153)
elementfoundry Dec 19, 2019
5f06f42
Spindle/Laser pins for RADDS (#16119)
mjscosta Dec 19, 2019
1bad8f1
Improve pulse timing and step reliability (#16128)
sjasonsmith Dec 19, 2019
bbe0ffb
BigTreeTech SKR v1.4 support (#16236)
bigtreetech Dec 19, 2019
937dca4
Followup to TMC2209 spreadcycle patch
thinkyhead Dec 19, 2019
53f77df
Remove obsolete TMC2209 comment
thinkyhead Dec 19, 2019
b49a0e3
HOME_USING_SPREADCYCLE is obsolete
thinkyhead Dec 19, 2019
10f7bbe
Use MYSERIAL0 (not SerialUSB) for Malyan LCD
thinkyhead Dec 20, 2019
a9a78f2
Followup for step timing (#16128)
thinkyhead Dec 20, 2019
deff538
Fix broken M100_dump_routine
thinkyhead Dec 16, 2019
d81de7f
Tweak sanity checks
thinkyhead Dec 16, 2019
70325a6
Update test scripts to error on unknown (#16229)
jeffeb3 Dec 20, 2019
e3b0275
Kossel Clear configuration (#16198)
Vertabreak Dec 20, 2019
64ebec5
Move pins debug condition
thinkyhead Dec 20, 2019
87992f3
Use Github Actions for CI, date bump (#16269)
thinkyhead Dec 21, 2019
2e235af
Fix HAL_STM32 + Arduino IDE SoftwareSerial conflict (#16266)
sjasonsmith Dec 21, 2019
b6d857f
Improve Anet A6 config (#16280)
Vertabreak Dec 21, 2019
0b6c2d8
Fix G34 with Z_DUAL_STEPPER_DRIVERS compile (#16274)
randellhodges Dec 21, 2019
856013c
Fix planner compile error (#16272)
mtowara Dec 21, 2019
0d8c81b
Fix axis CS sanity check (#16271)
sjasonsmith Dec 21, 2019
c5179cf
Add Tevo Nereus (w/ Robin Nano) config (#16207)
thisiskeithb Dec 21, 2019
127fb98
Don't test certain changes
thinkyhead Dec 21, 2019
f8065da
Reset runout.ran_out on resume (#16230)
tpruvot Dec 22, 2019
d5bc554
Step timing cleanup and rounding fix (#16258)
sjasonsmith Dec 22, 2019
a3d88ae
Add MRR_ESPA/_ESPE (ESP32) boards (#16238)
luc-github Dec 22, 2019
f339a39
Add Ender-5 Pro config (#16221)
thisiskeithb Dec 22, 2019
59f9bb2
Add FLYBOARD (STM32F407ZG) (#16257)
FLYmaker Dec 22, 2019
ebdf8b6
Fix STM32 flush of TX (used by UBL) (#16197)
randellhodges Dec 22, 2019
f4196d3
Flash leveling (for some STM32) (#16174)
randellhodges Dec 22, 2019
24eaf2d
Some ESP32 patches (#16297)
luc-github Dec 22, 2019
2230ef6
MKS SGen-L pins EEBF or EFBF scheme (#16296)
ferengi82 Dec 22, 2019
ac7ee4b
Release version 2.0.0
thinkyhead Dec 1, 2019
a333bba
Add Rumba32 support for PIO (#16202)
thisiskeithb Dec 23, 2019
baa1012
MKS Robin 2 (STM32F407ZE) base support (#16270)
shitcreek Dec 23, 2019
254d352
Update Czech language (#16305)
petrzjunior Dec 24, 2019
9c02115
Sync SKR E3 configs (#16301)
thisiskeithb Dec 24, 2019
1c9ccce
Add NOZZLE_AS_PROBE (no probe offsets) (#15929)
InsanityAutomation Dec 24, 2019
0673f33
Merge remote-tracking branch 'upstream/bugfix-2.0.x' into 2.0.x
thinkyhead Dec 24, 2019
159a76f
Version 2.0.1
thinkyhead Dec 24, 2019
432decd
Update build status url
thinkyhead Dec 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug report
about: Report a bug in Marlin
title: "[BUG] (short description)"
labels: ''
assignees: ''

---

<!--

Have you read Marlin's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/MarlinFirmware/Marlin/blob/master/.github/code_of_conduct.md

Do you want to ask a question? Are you looking for support? Please don't post here. Instead please use one of the support links at https://github.com/MarlinFirmware/Marlin/issues/new/choose

Before filing an issue be sure to test the "bugfix" branches to see whether the issue has been resolved.

-->

### Bug Description

<!-- Description of the bug -->

### My Configurations

**Required:** Please include a ZIP file containing your `Configuration.h` and `Configuration_adv.h` files.

### Steps to Reproduce

<!-- Please describe the steps needed to reproduce the issue -->

1. [First Step]
2. [Second Step]
3. [and so on...]

**Expected behavior:** [What you expect to happen]

**Actual behavior:** [What actually happens]

#### Additional Information

* Provide pictures or links to videos that clearly demonstrate the issue.
* See [How Can I Contribute](#how-can-i-contribute) for additional guidelines.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
blank_issues_enabled: false
contact_links:
- name: Marlin Documentation
url: http://marlinfw.org/
about: Lots of documentation on installing and using Marlin.
- name: MarlinFirmware Facebook group
url: https://www.facebook.com/groups/1049718498464482
about: Please ask and answer questions here.
- name: Marlin on Discord
url: https://discord.gg/n5NJ59y
about: Join the Discord server for support and discussion.
- name: Marlin Discussion Forum
url: http://forums.reprap.org/list.php?415
about: A searchable web forum hosted by RepRap dot org.
- name: Marlin Videos on YouTube
url: https://www.youtube.com/results?search_query=marlin+firmware
about: Tutorials and more from Marlin users all around the world. Great for new users!
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Feature request
about: Request a Feature
title: "[FR] (feature request title)"
labels: ''
assignees: ''

---

<!--

Have you read Marlin's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/MarlinFirmware/Marlin/blob/master/.github/code_of_conduct.md

Do you want to ask a question? Are you looking for support? Please don't post here. Instead please use one of the support links at https://github.com/MarlinFirmware/Marlin/issues/new/choose

Before filing an issue be sure to test the "bugfix" branches to see whether the issue has been resolved.

-->

### Description

<!-- Description of the requested feature -->

### Feature Workflow

<!-- Please describe the feature's behavior, user interaction, etc. -->

1. [First Action]
2. [Second Action]
3. [and so on...]

#### Additional Information

* Provide pictures or links that demonstrate a similar feature or concept.
* See [How Can I Contribute](#how-can-i-contribute) for additional guidelines.
37 changes: 11 additions & 26 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
<!--
# NO SUPPORT REQUESTS PLEASE

Have you read Marlin's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/.github/code_of_conduct.md
Support Requests posted here will be automatically closed!

Do you want to ask a question? Are you looking for support? Please don't post here. Instead please use the Marlin Firmware forum at http://forums.reprap.org/list.php?415 or the Marlin Facebook Group https://www.facebook.com/groups/1049718498464482/ or the Marlin Discord Server https://discord.gg/n5NJ59y.
This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. See https://github.com/MarlinFirmware/Marlin/blob/1.1.x/.github/contributing.md#i-dont-want-to-read-this-whole-thing-i-just-have-a-question.

Before filing an issue be sure to test the 1.1 and/or 2.0 "bugfix" branches to see whether the issue is already addressed.
For best results getting help with configuration and troubleshooting, please use the following resources:

-->
- RepRap.org Marlin Forum http://forums.reprap.org/list.php?415
- Tom's 3D Forums https://discuss.toms3d.org/
- Facebook Group "Marlin Firmware" https://www.facebook.com/groups/1049718498464482/
- Facebook Group "Marlin Firmware for 3D Printers" https://www.facebook.com/groups/3Dtechtalk/
- Marlin Configuration https://www.youtube.com/results?search_query=marlin+configuration on YouTube
- Marlin Discord server. Join link: https://discord.gg/n5NJ59y

### Description

<!-- Description of the bug or requested feature -->

### Steps to Reproduce

<!-- If this is a Bug Report, please describe the steps needed to reproduce the issue -->

1. [First Step]
2. [Second Step]
3. [and so on...]

**Expected behavior:** [What you expect to happen]

**Actual behavior:** [What actually happens]

#### Additional Information

* Include a ZIP file containing your `Configuration.h` and `Configuration_adv.h` files.
* Provide pictures or links to videos that clearly demonstrate the issue.
* See [How Can I Contribute](#how-can-i-contribute) for additional guidelines.
After seeking help from the community, if the consensus points to to a bug in Marlin, then you should post a Bug Report at https://github.com/MarlinFirmware/Marlin/issues/new/choose).
84 changes: 0 additions & 84 deletions .travis.yml

This file was deleted.

12 changes: 9 additions & 3 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,12 @@
*/
//#define FIX_MOUNTED_PROBE

/**
* Use the nozzle as the probe, as with a conductive
* nozzle system or a piezo-electric smart effector.
*/
//#define NOZZLE_AS_PROBE

/**
* Z Servo Probe, such as an endstop switch on a rotating arm.
*/
Expand Down Expand Up @@ -1769,7 +1775,7 @@

//
// Makeboard 3D Printer Parts 3D Printer Mini Display 1602 Mini Controller
// https://www.aliexpress.com/item/Micromake-Makeboard-3D-Printer-Parts-3D-Printer-Mini-Display-1602-Mini-Controller-Compatible-with-Ramps-1/32765887917.html
// https://www.aliexpress.com/item/32765887917.html
//
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602

Expand Down Expand Up @@ -1943,7 +1949,7 @@

//
// Factory display for Creality CR-10
// https://www.aliexpress.com/item/Universal-LCD-12864-3D-Printer-Display-Screen-With-Encoder-For-CR-10-CR-7-Model/32833148327.html
// https://www.aliexpress.com/item/32833148327.html
//
// This is RAMPS-compatible using a single 10-pin connector.
// (For CR-10 owners who want to replace the Melzi Creality board but retain the display)
Expand All @@ -1961,7 +1967,7 @@

//
// AZSMZ 12864 LCD with SD
// https://www.aliexpress.com/store/product/3D-printer-smart-controller-SMART-RAMPS-OR-RAMPS-1-4-LCD-12864-LCD-control-panel-green/2179173_32213636460.html
// https://www.aliexpress.com/item/32837222770.html
//
//#define AZSMZ_12864

Expand Down
21 changes: 9 additions & 12 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@
//#define Z_STEPPER_AUTO_ALIGN
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
// Define probe X and Y positions for Z1, Z2 [, Z3]
#define Z_STEPPER_ALIGN_XY { { 10, 290 }, { 150, 10 }, { 290, 290 } }
#define Z_STEPPER_ALIGN_XY { { 10, 190 }, { 100, 10 }, { 190, 190 } }

// Provide Z stepper positions for more rapid convergence in bed alignment.
// Currently requires triple stepper drivers.
Expand Down Expand Up @@ -1548,12 +1548,12 @@
/**
* Maximum stepping rate (in Hz) the stepper driver allows
* If undefined, defaults to 1MHz / (2 * MINIMUM_STEPPER_PULSE)
* 500000 : Maximum for A4988 stepper driver
* 400000 : Maximum for TMC2xxx stepper drivers
* 250000 : Maximum for DRV8825 stepper driver
* 200000 : Maximum for LV8729 stepper driver
* 150000 : Maximum for TB6600 stepper driver
* 15000 : Maximum for TB6560 stepper driver
* 5000000 : Maximum for TMC2xxx stepper drivers
* 1000000 : Maximum for LV8729 stepper driver
* 500000 : Maximum for A4988 stepper driver
* 250000 : Maximum for DRV8825 stepper driver
* 150000 : Maximum for TB6600 stepper driver
* 15000 : Maximum for TB6560 stepper driver
*
* Override the default value based on the driver type set in Configuration.h.
*/
Expand Down Expand Up @@ -1751,8 +1751,8 @@
//#define ADVANCED_PAUSE_FANS_PAUSE // Turn off print-cooling fans while the machine is paused.

// Filament Unload does a Retract, Delay, and Purge first:
#define FILAMENT_UNLOAD_RETRACT_LENGTH 13 // (mm) Unload initial retract length.
#define FILAMENT_UNLOAD_DELAY 5000 // (ms) Delay for the filament to cool after retract.
#define FILAMENT_UNLOAD_PURGE_RETRACT 13 // (mm) Unload initial retract length.
#define FILAMENT_UNLOAD_PURGE_DELAY 5000 // (ms) Delay for the filament to cool after retract.
#define FILAMENT_UNLOAD_PURGE_LENGTH 8 // (mm) An unretract is done, then this length is purged.

#define PAUSE_PARK_NOZZLE_TIMEOUT 45 // (seconds) Time limit before the nozzle is turned off for safety.
Expand Down Expand Up @@ -2128,8 +2128,6 @@
*
* IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
* homing and adds a guard period for endstop triggering.
*
* TMC2209 requires STEALTHCHOP enabled for SENSORLESS_HOMING
*/
//#define SENSORLESS_HOMING // StallGuard capable drivers only

Expand All @@ -2148,7 +2146,6 @@
#define Y_STALL_SENSITIVITY 8
//#define Z_STALL_SENSITIVITY 8
//#define SPI_ENDSTOPS // TMC2130 only
//#define HOME_USING_SPREADCYCLE
//#define IMPROVE_HOMING_RELIABILITY
#endif

Expand Down
2 changes: 1 addition & 1 deletion Marlin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1109)
else ifeq ($(HARDWARE_MOTHERBOARD),1110)
# zrib V2.0 control board (Chinese knock off RAMPS replica)
else ifeq ($(HARDWARE_MOTHERBOARD),1111)
# Bigtreetech or BIQU KFB2.0
# BigTreeTech or BIQU KFB2.0
else ifeq ($(HARDWARE_MOTHERBOARD),1112)
# Felix 2.0+ Electronics Board (RAMPS like)
else ifeq ($(HARDWARE_MOTHERBOARD),1113)
Expand Down
2 changes: 1 addition & 1 deletion Marlin/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Marlin release version identifier
*/
//#define SHORT_BUILD_VERSION "bugfix-2.0.x"
//#define SHORT_BUILD_VERSION "2.0.x"

/**
* Verbose version identifier which should contain a reference to the location
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* Checks for FAST PWM
*/
#if ENABLED(FAST_PWM_FAN) && (ENABLED(USE_OCR2A_AS_TOP) && defined(TCCR2))
#error "USE_OCR2A_AS_TOP does not apply to devices with a single output TIMER2"
#error "USE_OCR2A_AS_TOP does not apply to devices with a single output TIMER2"
#endif

/**
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/HAL/HAL_AVR/pinsDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@

#define NUMBER_PINS_TOTAL NUM_DIGITAL_PINS

#define AVR_ATmega2560_FAMILY_PLUS_70 MB(BQ_ZUM_MEGA_3D, MIGHTYBOARD_REVE, MINIRAMBO, SCOOVO_X9H)

#if AVR_AT90USB1286_FAMILY

// Working with Teensyduino extension so need to re-define some things
#include "pinsDebug_Teensyduino.h"
// Can't use the "digitalPinToPort" function from the Teensyduino type IDEs
Expand All @@ -35,19 +38,23 @@
#define digitalPinToBitMask_DEBUG(p) digitalPinToBitMask(p)
#define digitalPinToPort_DEBUG(p) digitalPinToPort_Teensy(p)
#define GET_PINMODE(pin) (*portModeRegister(pin) & digitalPinToBitMask_DEBUG(pin))

#elif AVR_ATmega2560_FAMILY_PLUS_70 // So we can access/display all the pins on boards using more than 70

#include "pinsDebug_plus_70.h"
#define digitalPinToTimer_DEBUG(p) digitalPinToTimer_plus_70(p)
#define digitalPinToBitMask_DEBUG(p) digitalPinToBitMask_plus_70(p)
#define digitalPinToPort_DEBUG(p) digitalPinToPort_plus_70(p)
bool GET_PINMODE(int8_t pin) {return *portModeRegister(digitalPinToPort_DEBUG(pin)) & digitalPinToBitMask_DEBUG(pin); }

#else

#define digitalPinToTimer_DEBUG(p) digitalPinToTimer(p)
#define digitalPinToBitMask_DEBUG(p) digitalPinToBitMask(p)
#define digitalPinToPort_DEBUG(p) digitalPinToPort(p)
bool GET_PINMODE(int8_t pin) {return *portModeRegister(digitalPinToPort_DEBUG(pin)) & digitalPinToBitMask_DEBUG(pin); }
#define GET_ARRAY_PIN(p) pgm_read_byte(&pin_array[p].pin)

#endif

#define VALID_PIN(pin) (pin >= 0 && pin < NUM_DIGITAL_PINS ? 1 : 0)
Expand Down
Loading