Commit Graph

17 Commits

Author SHA1 Message Date
teemuatlut a4c9f70878 Migrate to a new TMC library (#11943)
Backport commit c3229e1b3461b6da8373e7a24a7eeb131912a15b from Marlin 2.0
2019-12-28 09:35:34 +01:00
David Ramiro 57bb40edd3
Merge BLTOUCH_V3 updates from upstream 2019-04-24 14:58:31 +02:00
David Ramiro 425e10c29a
Fix stuttering issues on detailed models
- Optimize TFT code for state handling (pause, runout, ...)
- Remove multiple state booleans in favour of a single integer
- Remove obsolete filament runout code
- Increase jerk/accel
- Decrease TX buffer size
- Revert minimum segment time to factory default
2019-04-03 15:48:11 +02:00
David Ramiro 7e29a4d88a
Merge upstream
Merging upstream changes up to 35775395d9b5206e584b3734ab7e070e072603f8
2019-03-30 14:14:39 +01:00
David Ramiro 625e264dfc
Fix for Travis CI and adjust tests 2019-03-28 11:12:57 +01:00
David Ramiro 6deb88102b
Add optional endstop beeps
Enable ENDSTOP_BEEP in Configuration.h to enable a 2KHz beep when endstops are hit. Disabled by default.
2019-03-28 00:59:25 +01:00
David Ramiro 79f559e9af
Implement heatbed cooldown routine
- M888: Cooldown routine for the Anycubic Ultrabase (EXPERIMENTAL):
This is meant to be placed at the end Gcode of your slicer. It hovers over the print bed and does circular movements while running the fan. Works best with custom fan ducts.
- T<int>: Target bed temperature (min 15°C), 30°C if not specified
- S<int>: Fan speed between 0 and 255, full speed if not specified

Thanks to @kulfuerst for the suggestion!
2019-03-13 11:40:25 +01:00
David Ramiro 1a5804f260
Implement nozzle reheating on timeout via display
- Raise nozzle timeout to 10 minutes
- Use continue button as reheat trigger
- Manage nozzle_timed_out variable via display
- Add PausedByNozzleTimeout flag to enter correct routine on display
- Bump version to 1.4.3
2019-03-08 16:30:56 +01:00
David Ramiro 2c53c33d52
Tweak M600 display resume
- Add startFileprint(); call to M108 display routine to fix progress and ensure "printing done" gets shown
- Add SD printing check in marlin_main.cpp M600 routine to skip TFTstate if not necessary (e.g. USB printing)
- Move routine to the top again to ensure immediate execution
2019-02-24 15:48:03 +01:00
David Ramiro 8fc01144f1
Set SDPAUSE state on M600 regardless of prior TFTstate
Move the routine to a better position and set the state regardless of SDPRINT status.

This ensures that M600 makes the display show a continue button every time. Before, it was only behaving correctly for the first instance of M600.
2019-02-23 11:16:29 +01:00
David Ramiro 8448c67846
Streamline build identification 2019-02-23 00:31:25 +01:00
David Ramiro b447245ddd
Add screen state to gcode_M600()
- Allowing resume after M600 via on screen button:

- Adding check for TFT state status
- Setting flag when print was started via TFT
2019-02-18 19:34:59 +01:00
David Ramiro bfe39a342d
Fix buffer issue with S3D USB printing 2019-02-11 22:53:09 +01:00
David Ramiro 01e152b456
Bugfix
- Buffer flush added to the the end of M190 loop
- Inverted position polling when canceling print via display
2019-02-06 12:32:58 +01:00
David Ramiro 42f52d34b4
Flush serial buffer after heating
Some hosts like Pronterface use continuous M105 commands to poll temperature, this causes a software halt when the heating via M109 or M190 is finished. Flushing the rx buffer fixes this.

As reported in #15, thanks to @rug156 for the feedback!
2019-02-06 11:42:24 +01:00
David Ramiro f01ee75004
Merge upstream changes
from https://github.com/MarlinFirmware/Marlin/tree/bugfix-1.1.x
2019-01-28 23:30:14 +01:00
David Ramiro 6957194af3
Initial commit
Using TMC2208 in standalone mode, I've inverted the stepper direction to match Anycubics pin layout. M110 memory watcher was removed due to redundancy and - ironically - to save memory.
2018-11-16 10:32:01 +01:00