1560 Commits (744bcaee61a1e9cc7777561a8d1b4611cd36b5c4)

Author SHA1 Message Date
Roxy-3D 1628a9e864
make data declarations consistent 7 years ago
etagle b210bdf032 Now the Crash reporter uses the configured BAUDRATE to send the report through the Programming port. And also shows the traceback of functions as discussed. For that latest feature to work, you need to compile the project with -funwind-tables and -mpoke-function-name compiler flags 7 years ago
etagle c5730cf711 As Bob-The-Khun suggested, resetting the USB peripheral solves the huge startup delays that happen when a WDT reset happens and we are connected through the native port 7 years ago
Scott Lahteine 1cb810ff1c
[2.0.x] Automatically reset stepper timeout (#10179)
* Automatically reset stepper timeout in manage_inactivity

Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.

* blocks_queued => has_blocks_queued
7 years ago
Eduardo José Tagle 97e8a6ebd9 Various fixes for DUE... (#10152)
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
7 years ago
Roxy-3D c3c264978f
correct truncated comment 7 years ago
Scott Lahteine 9fd1016bb1 Trust the bootloader to clear globals 7 years ago
Scott Lahteine 045ee28c50 Tweaks to M915 7 years ago
Scott Lahteine 987597532c For MK2_MULTIPLEXER undef DISABLE_INACTIVE_EXTRUDER
Fix #10098
7 years ago
Scott Lahteine ff304d3767 Allow G53 to go back to native space 7 years ago
Scott Lahteine bc45fb6b13 Tweak use of move_z_after_probing 7 years ago
Scott Lahteine c352954882 Allow no raise after run_z_probe in probe_pt 7 years ago
Scott Lahteine ae39fbd646 Also suppress keepalive with suspend_auto_report 7 years ago
Scott Lahteine 8dfaf1539e
Merge pull request #10102 from thinkyhead/bf2_eeprom_M913
[2.0.x] More complete Trinamic driver options
7 years ago
AnHardt 837ac2fdbd [2.0.x] Fix_Autotune_THERMAL_PROTECTION_BED_off (#10166)
- Fix Autotune Thermal Protection
- Make 2 constants in autotune configurable
7 years ago
Bob-the-Kuhn 785dbfc72d [2.0.x] FASTIO consistency (#10164) 7 years ago
Bob-the-Kuhn 7308ef7809 Add conditional, give DUE SPI a unique name, fix compiler warnings (#10168) 7 years ago
teemuatlut b5b39af531 [2.0.x] TMC: Fix CURRENT_STEP_DOWN (#10170) 7 years ago
Scott Lahteine a5c6d3c7b8 Prevent null pointer crash in Endstops::update
Thanks to Evgeny Kotsuba!
7 years ago
Scott Lahteine a46bac3100 Add 'I' parameter to M906/M913/M914; 'T' to M906/M913 7 years ago
Scott Lahteine cfc13ed7f3 Quiet M906/M913/M914 with axes. Patch for DISTINCT_E_FACTORS. 7 years ago
Scott Lahteine c95450016b Improve Trinamic support in the EEPROM 7 years ago
Scott Lahteine 48d7036874 Consolidate smart stepper driver initialization 7 years ago
Bob-the-Kuhn 53362b81cc Tone fixes/changes (#10151) 7 years ago
Scott Lahteine dd2949922b Consolidate 3-point leveling point options 7 years ago
Scott Lahteine 1d22609473 MIN_PROBE_EDGE replaces DELTA_PROBEABLE_RADIUS 7 years ago
Scott Lahteine eaefc1e410
Add CorePQ support for BABYSTEPPING (#10155) 7 years ago
Scott Lahteine 72281c4ff9 Turn power off in `kill` instead of setting PS_ON to input 7 years ago
Scott Lahteine 9d99360912 Fix matrix.debug output 7 years ago
Eduardo José Tagle bbfbf90797 Fix for DUE - no host support on native USB if SD card not enabled (#10148) 7 years ago
Scott Lahteine 772810fb24 Followup to PORTVAR patch 7 years ago
Scott Lahteine 978f342392 Reduce some tmc_util strings 7 years ago
Scott Lahteine fbdc5ad962 Prevent lcd_update stack overflow on SD Card change 7 years ago
Scott Lahteine c0d694d5d3 Squash UBL postscript comment 7 years ago
Scott Lahteine 93af8aa157
Fix home_delta for SENSORLESS_HOMING (#10145) 7 years ago
Scott Lahteine 0543362b34 Don't init the tone timer if no BEEPER_PIN 7 years ago
Scott Lahteine c6ff39cc14 Spacing cleanup 7 years ago
Scott Lahteine 9e9e29ddf8 Einsy: Regular endstops and BLTOUCH pins
Based on #10131
7 years ago
Bob-the-Kuhn c79b53d406
Merge pull request #10140 from Bob-the-Kuhn/DUE-full-speed
[2.0.x] DUE - add full speed USB native port option
7 years ago
Bob-the-Kuhn 7f1afbfd60 can't type 7 years ago
Bob-the-Kuhn 23760d6c14 add full speed option 7 years ago
Bob-the-Kuhn cbcd1ed42d full speed 7 years ago
Scott Lahteine 6689884910 Easier override of ST7920 LCD timing 7 years ago
Scott Lahteine d603e655d3 Fix SWITCHING_EXTRUDER manual movement 7 years ago
Scott Lahteine 5f77816772 Reduce size of "only one" sanity checks 7 years ago
Scott Lahteine 8922b56b58 Fix some spelingz 7 years ago
Scott Lahteine a6feb58837
Delta support for multiple hotends with offsets (#10118) 7 years ago
TheSFReader 2e43438e0c Add C parameter to M27 to include the long filename
In answer to #10001

Add an option to retrieve the currently open file name (long filename if possible).
7 years ago
Scott Lahteine 2168d6ac25 Allow NULL prepend in lsDive 7 years ago
Scott Lahteine 1e946d681d Update Marlin for newest TMC libraries
- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
7 years ago
shaktee 63fc4a8521 BIBO2 default update and Cyclops config (#10108) 7 years ago
etagle 404fc94705 DUE USB CDC: Do not send any character if no program on the PC is listening to them. This avoids Marlin waiting until the user actually opens a program that is able to consume the output of Marlin 7 years ago
Scott Lahteine 4aebe3d82e Pretty up EEPROM port args 7 years ago
Scott Lahteine 51bf3c9503 Fix E direction for MK2_MULTIPLEXER with LIN_ADVANCE 7 years ago
teemuatlut e6dcfa64b0 Cast SERIAL_CHAR to void in M122 (#10086) 7 years ago
Marcio Teixeira c24dbcbfe1 When STATUS_EXPIRE_SECONDS is 0, hide the position. (#10081)
Some users may prefer to hide the position updates on the `LIGHTWEIGHT_UI` altogether. This leads to an even less cluttered display (it also saves on SPI traffic and one byte of RAM).
7 years ago
Studiodyne e7a61de8af [2.0] FWRetract Reset (Best way) (#10083) 7 years ago
Scott Lahteine f894209de2
Merge pull request #10093 from thinkyhead/bf2_trinamic_config
[2.0.x] Clean up Trinamic config options, sanity check
7 years ago
Scott Lahteine f1327fd5f9 Use lcd_goto_previous_menu_no_defer more 7 years ago
Scott Lahteine e7570f3195 Improve TMC config organization, naming 7 years ago
Scott Lahteine 374ea49be9 Revert marlinAnalogInputToDigitalPin 7 years ago
Scott Lahteine 34f656decd Add TMC2208 include in tmc_util.h 7 years ago
Scott Lahteine 07cf2cd9c4 Fix sensorless_homing_per_axis compile warning 7 years ago
Scott Lahteine b858c638ad Fix compiler warning for HAL_ANALOG_SELECT 7 years ago
Bob-the-Kuhn c4467da53a
Merge pull request #10063 from ejtagle/bugfix-2.0.x
[2.0.x] DUE - add programming capability to native port
7 years ago
Scott Lahteine 65ce0303f8 Fix MKS_12864_OLED blank issue
Fixes #10071
7 years ago
Scott Lahteine 36452b4d6e Fix filename HAL/DUE/servotimers.h => ServoTimers.h 7 years ago
Scott Lahteine 14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) (#10069)
Some probes don't work near the edges of the bed. This change promotes MIN_PROBE_EDGE to a general setting that applies to all probing functions.
7 years ago
Scott Lahteine 5dec828abc Add MKS_12864OLED to lcd_implementation_init
Followup to #7914
7 years ago
Scott Lahteine 468f34104b Patch do_blocking_move_to so 'destination' can be used 7 years ago
Scott Lahteine 5b45aab262 M218: report with no parameters 7 years ago
Scott Lahteine 18de11c1ea Followup to auto-assign of dual axis CS pins 7 years ago
ejtagle 703c8ac0ef Added Arduino-compatible kludge to the (ATMEL supplied) SAM3X USB stack we are now using so the Native port is also usable as a programming port on Arduino DUE and derived designs 7 years ago
Scott Lahteine 28f1276286
[2.0.x] Add Z_AFTER_PROBING option (#10058)
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
7 years ago
Scott Lahteine dd19e74476 Cleanup trailing whitespace
@Bob-the-Kuhn — Please set your git options to remove trailing whitespace on commit.
7 years ago
Scott Lahteine d0ac0151b6 Fix typo in ubl.prepare_segmented_line_to 7 years ago
Scott Lahteine d385b9aac7
Auto-assign CS pins for X2, Y2, Z2 (#10057)
Fixes #9211
7 years ago
Scott Lahteine bae1cb859c Patch flush_and_request_resend for 1.1.x parity 7 years ago
Scott Lahteine 51ebdf3b7d Finish scroll_screen with menu direction/multiplier
Fixes #10041
7 years ago
Bob-the-Kuhn 0d8c15c01f restore PR 9661 files & V1 fix 7 years ago
Scott Lahteine 751785fc97 Followup to recent patches
- `M666` is static, not inline
- Disambiguate some stepper macros
7 years ago
Scott Lahteine a0211f5d6c Disambiguate else in stepper_indirection.h 7 years ago
Scott Lahteine f003173752 Fixup M666
Followup to d6df032
7 years ago
Bob-the-Kuhn bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h" 7 years ago
Sebastianv650 fd1d590726 [2.0.x] Silence M204 (#10037)
`M204` is often used by slicers to set acceleration depending on perimeter, infill, etc., so Marlin's answers are flooding the serial windows. Silence `M204` according to the philosophy that setter commands should only send a reply if no parameter is given.
7 years ago
Scott Lahteine f10c87b442 Update Endstops class for 1.1.x parity 7 years ago
Scott Lahteine d6df0322c2 Update M666 for XYZ dual endstops 7 years ago
Scott Lahteine fbc41c0e98 Update Marlin G-code summary 7 years ago
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference #9983
7 years ago
Scott Lahteine ddce486360
Merge pull request #10032 from thinkyhead/bf2_unknown_z_no_raise
[2.0.x] Add UNKNOWN_Z_NO_RAISE to prevent Z grinding
7 years ago
Scott Lahteine 79e6d890d5 Add UNKNOWN_Z_NO_RAISE to example configs 7 years ago
Scott Lahteine 419d12ca1b Add UNKNOWN_Z_NO_RAISE option
With this option enabled, Z won't ever be raised until after `G28` has been completed, and it won't raise if Z becomes unknown. This is good for machines whose beds fall when Z is powered off.
7 years ago
Scott Lahteine 3b4c89e4b5 Move do_probe_raise closer to set_probe_deployed
…and limit the raise to Z_MAX_POS
7 years ago
Scott Lahteine 2908e76151 Fix position_is_reachable_by_probe typo, add comment
Fix #10029
7 years ago
Roxy-3D 26dc594ebb prevent steppers from turning off during manual probes 7 years ago
Bob-the-Kuhn d8eadf3796 fix ubl_G29.cpp Travis error 7 years ago
Bob-the-Kuhn 914bb80bde removed SDSS init
added device & comm drivers for shared SPI LCDs

mistyped some updates in ultralcd_impl_DOGM.h

remove unwanted changes in onfiguration.h

still can't type

Update HAL_LCD_class_defines.h

include USB mass storage & misc
7 years ago
Scott Lahteine 6d9ea7e184 Fix position_is_reachable_by_probe typo, add comment
Fix #10029
7 years ago
Roxy-3D 646dd5554c
prevent steppers from turning off during manual probes 7 years ago
Scott Lahteine 161ff9ff35 Fix UPDATE_ENDSTOP for CorePQ compatibility
Fixes #9939
7 years ago
Scott Lahteine 49ca67202f Patch configuration_store for extra serial port
Fix #9948
7 years ago
Scott Lahteine cc59ac4603 Fix _tmc_say_axis string address
Fixes #10003
7 years ago
Scott Lahteine 16a8edc5f0 Add more delay before pulse off in Linear Advance ISR
A capital idea from https://github.com/MarlinFirmware/Marlin/pull/9914#issuecomment-371614153
7 years ago
Scott Lahteine dfd5d2fe75
Have position_is_reachable_by_probe use the whole bed (#10020)
Previously `position_is_reachable_by_probe` was limited to the area specified for `G29` mesh leveling (even if leveling was disabled). This change will properly consider the entire bed area so that `G30` and other non-leveling probing may take place.
7 years ago
Bob-the-Kuhn 67a17446f2 Fix DUE incompatible enum type specification (#10017) 7 years ago
Bob-the-Kuhn 3c58ca181c [2.0.x] Correct step pulse width on LPC1768, DUE & Teensy35_36 (#10016) 7 years ago
Scott Lahteine e297748b22 Apply const, safe_delay in servo.* 7 years ago
Scott Lahteine 3c2bfa5e53
Update powersupply_on in power_on/off (#10015)
Fix #10004
7 years ago
Scott Lahteine 42608b1925 Init old_red to 127 to ensure initial change
Fix #10012
7 years ago
Scott Lahteine 317673fec3 Init watchdog last in setup() 7 years ago
Scott Lahteine 8d32fd997f Wrap NORM_E_DIR/REV_E_DIR macros in do{}while(0) 7 years ago
Scott Lahteine 1913c37a91 Tweak to manual move eindex arg 7 years ago
Scott Lahteine 98d48fc731 Followup to HAL_timer_restrain
Followup to #9985
7 years ago
Scott Lahteine 03e3011332 Fix compile error with MAX_MESSAGE_LENGTH
Fix #9988
7 years ago
Bob-the-Kuhn 6b4a928145 2uS default step pulse (#9989) 7 years ago
Scott Lahteine ca577c1638 Fix up various spacing, comments, and typos 7 years ago
Scott Lahteine d45f19d385 Remove Unicode from var name 7 years ago
Scott Lahteine 224688cc3b Fix for unicode-ignorant gcc preprocessor 7 years ago
Chris Pepper a1a88ebabc HAL function to ensure min stepper interrupt interval (#9985) 7 years ago
Scott Lahteine be0e100fed Fix sd subdirectory encoder position
Followup to 7e386c7
7 years ago
Bob-the-Kuhn 04dedc7ed8 always completely initialize display (#9981) 7 years ago
Scott Lahteine 0149680f54 Fix compile error with char LCD 7 years ago
Scott Lahteine 9515e5aefb Fix LA_active_extruder (static) 7 years ago
Scott Lahteine e5ec793f7e Wrap stepper indirection macros 7 years ago
Sebastianv650 5b85464791 Fix for LA (#9964)
Missed in the original LA 1.5 PR: eISR has to use a local copy of
current_block->use_advance_lead because it might still run wenn the last
block has been set to NULL.
7 years ago
Scott Lahteine 7e386c7e98 Fix encoder position for sddirectory 7 years ago
Scott Lahteine 1d604be671 Suspend auto-report during UBL map output 7 years ago
Scott Lahteine eb212ae073 Add suspend_auto_report flag to suppress auto-report 7 years ago
Scott Lahteine ffbf63e6af Add HAS_TEMP_SENSOR conditional 7 years ago
Scott Lahteine 94f5204629 Move AUTO_REPORT_SD_STATUS to SDSUPPORT block 7 years ago
Scott Lahteine 22a017a856
Rebuild SD file sort array on Stop SD Print (#9976)
Thanks Chuck Hellebuyck.
7 years ago
Scott Lahteine 920d92aa46
Merge pull request #9974 from thinkyhead/bf2_tmc_util_progmem
[2.0.x] Move tmc_util.* extended_axis_codes to PROGMEM
7 years ago
Scott Lahteine b198b49d15 Followup to AUTO_REPORT_SD_STATUS
Followup to #9832
7 years ago
Scott Lahteine 2057177184 Make enums into implicit char 7 years ago
Scott Lahteine e28e3bb532 Move extended_axis_codes to PROGMEM 7 years ago
Scott Lahteine ca0def766e LIN_ADVANCE single stepper optimization 7 years ago
Scott Lahteine 8291ae34f2 Support duplication mode in LIN_ADVANCE 7 years ago
Scott Lahteine b08ec22fe1
Show E0-E4 in monitor_tmc_driver output (#9969)
Fix #9966
7 years ago
Marcio Teixeira fd883c909a Improvements to Lightweight ST7920 status screen. (#9952)
- Show units on lightweight status screen.
- Fixed progress bar so it works with M73
7 years ago
Scott Lahteine 0dd1c4458d
Put more code between pulse start and stop (#9959) 7 years ago
Scott Lahteine f9cafc4001
Fix menu highlight glitch, tweak scrolling code (#9957) 7 years ago
Scott Lahteine bf9fc8ac0e M851 - report only without parameters 7 years ago
Scott Lahteine eb867817b5
Prevent filament runout false positives (#9946) 7 years ago
Scott Lahteine 36262a0479
Use static classes for job timers (#9938) 7 years ago
Scott Lahteine 930720bbbb
Fix broken reverse planner (#9943)
From #9914 by @Sebastianv650
7 years ago
Bob-the-Kuhn 025118da3e Init print_job_timer in setup() instead of "early" (#9937) 7 years ago
Scott Lahteine beeed580b8
Implement digipots for MKS SBASE (#9927)
Fix #9477
7 years ago
Scott Lahteine 07ae23fe14 No pulse delay on last e_steps in advance isr 7 years ago
Scott Lahteine 881529a401 Fix #9904 - toDigital should show 00-99 hours 7 years ago
Scott Lahteine ed758de80d tweak comment in stepper.cpp 7 years ago
Scott Lahteine d1dc863962 autotemp_factor is not value_celsius_diff
See https://github.com/MarlinFirmware/Marlin/issues/9852#issuecomment-369861822
7 years ago
Thomas Moore f3914a432e Clear retracted status when homing the Z axis 7 years ago
Scott Lahteine 6d7f4f84e2
Add board MKS_BASE_HEROIC (#9926)
Followup to #9008

- Don't define micro-stepping pins for boards that lack them.
- Allow setting of 128 microsteps with `M350`.
7 years ago
Scott Lahteine 649f375494
Fix: M112 calling kill from interrupt (#9923)
Fix #9906
7 years ago
Scott Lahteine c37b3f995a Sanity-check some graphical LCD-only options 7 years ago
Scott Lahteine a2a672449a Updated boot screen description 7 years ago
Scott Lahteine 61620cbd15 Tweak M211 7 years ago
Scott Lahteine 6e08ddce6e Correct M401 / M402 description 7 years ago
Studiodyne 23a576faf7 [2.0] Fix for FW retract (#9878) 7 years ago
Ben Lye 461c8ef834 Fix DIGITAL_PIN_TO_ANALOG_PIN macro for Atmega1284p (#9881) 7 years ago
Scott Lahteine 88b6a15b47 Update M900 verbiage 7 years ago
Ben Lye e2df286444 Update pinsDebug.h (#9874)
Fix display of analog input value.
7 years ago
Scott Lahteine 91db7930dc Drop SCARA_FEEDRATE_SCALING
The updated planner takes the length of the move, so this pre-calculation is no longer needed.
7 years ago
Bob-the-Kuhn c1f4112bdc [2.0.x] Add 1284 support & misc. bug fixes (#9864) 7 years ago
Scott Lahteine 118899357d
Add sanity checks to Linear Advance 1.5 (#9873) 7 years ago
Scott Lahteine 1746749361 Followup to #9868 7 years ago
Scott Lahteine a446433c87
Fix SENSORLESS_HOMING for Core Kinematics (#9868) 7 years ago
Scott Lahteine 2d1233b86c Fix lcd_quick_feedback call for BTN_BACK 7 years ago
AnHardt eb8b758226 Fix some mapper, charsize problems (#9866) 7 years ago
Scott Lahteine 8bffb26c23 Fix manual move position display
Manual moves now correctly include the workspace offset.
7 years ago
Scott Lahteine 8c03ce4d80 Fix Z safe homing sanity check for no probe
Fix #9851
7 years ago
Scott Lahteine c471389afb
Add Einsy Rambo pins (#9850) 7 years ago
Zachary Hill c22f8dd660 Get duration_t in printcounter.h for its clients (#9843) 7 years ago
Scott Lahteine 24b9c1923f ubl G29 tweaks 7 years ago
Scott Lahteine bd0967ad87 Fix BTN_BACK
Followup to #9835
7 years ago
Scott Lahteine d9a98b5814 Russian language update
From #9849
7 years ago
Ben Lye 461cb22069 Fix Zonestar / ADC keypad with RAMPS. (#9840) 7 years ago
Scott Lahteine 35ec67885a
Add support for BACK button (RADDS) (#9835) 7 years ago
Scott Lahteine 0bc4c216ac Patch up pinsDebug pins 7 years ago
Scott Lahteine cd7dc49527 Fix CR-10 status screen missing commas
Fix #9660
7 years ago
geigerg 4817c78a65 Add files via upload (#9828) 7 years ago
TheSFReader eb079959fb Report sd card progress [FR] #9751 (#9832)
* SD Status auto-report feature
Feature Request #9751
7 years ago
Scott Lahteine 7bdb98c946 Fix #9826. Solution by @gloomyandy 7 years ago
Scott Lahteine 02474a321a Fix SDSUPPORT (and indentation)
Based on https://github.com/MarlinFirmware/Marlin/issues/8746#issuecomment-368471901 by @benlye
7 years ago
Scott Lahteine cfdcf91df5 Fix compile error with initTone 7 years ago
Scott Lahteine ae1a2ff16f Pins parity with 1.1.x 7 years ago
Roxy-3D 306f44198e Prevent serial buffer overrun in Pronterface
75ms might  be excessive...    But I know people are seeing problems with PronterFace as the client...
7 years ago
Scott Lahteine 966d9af98a Mesh export in Bilinear + UBL M503 7 years ago
Scott Lahteine 8d5a77001e EEPROM parity with 1.1.x 7 years ago
Scott Lahteine 2228dff3ea ubl.h compile flags from 1.1.x 7 years ago
Sebastianv650 cb4cb86d80 Useless line removed (#9814)
nextAdvanceISR is set in the next if structure in every possible
situation, so it's useless to set it once more before.
7 years ago
Scott Lahteine f2c0ed193d
Add tone support for Due (#9807) 7 years ago
Scott Lahteine 0557ab5780 Fix CONFIG_ECHO_START bug
In reference to #9633
7 years ago
Scott Lahteine 61688233c7 HAL style tweak 7 years ago
Scott Lahteine 19ba91f77a Fix lcd_custom_bootscreen compiler warning 7 years ago
Scott Lahteine f3dbe19669 Tweaks to HAL codestyle 7 years ago
Scott Lahteine 54c65fc3cb Standardize LCD buzz defaults 7 years ago
Scott Lahteine 4953fb1c88 Standardize encoder defaults 7 years ago
Scott Lahteine 078627f805
[2.0.x] Creality Ender-4 configuration (#9803)
* Move Creality Ender-2 configurations
* Add Creality Ender-4 configurations
7 years ago
Scott Lahteine 5684beae90 Bring some configs up to speed 7 years ago