Commit Graph

8479 Commits (6c535081ec6d35826a1bbb47ab060f95724de6a0)

Author SHA1 Message Date
xC0000005 7dc256432f Restore STM32F1 series to working order. ()
The `_O2` attribute is no longer needed on the malyanlcd function, and the macros have broken timer numbers - reset this to a function to return the right device. Also fix the bit order cast in SPI.
Rob Power d1f14202a9 [2.0.x] NANODLP_Z_SYNC requires linear axes ()
Scott Lahteine b287560258 Fix say_M603
Scott Lahteine 436e5b7ea3 Apply spacing in pins files
Scott Lahteine 4d533b9baa Update bq Hephestos 2 probe offset
From  by @thopiekar
Bob-the-Kuhn 78df07ac71
Merge pull request from ejtagle/bugfix-2.0.x
[2.0.x] DUE: Several fixes to the backtracker
etagle 8934a2c49b Added some missing Thumb instructions to the traceback follower, so now it is able to traceback through switch() statements
etagle 328edea03a Several fixes to the backtracer. Tested ant it works
Scott Lahteine aa6dacbbdf German update
Based on 
Yunhui Fu 8322a79bb9 update the UTF-8 C strings for Chinsee languages, for Simplified and Traditional Chinese ()
ejtagle 9a24c0ae3f Tons of fixes to the backtracker code, and also added an extra backtracker that does not require unwind tables to work and it is used if unwind tables are absent
Scott Lahteine a891af2f7a Enforce minimum TMC2130 / TMC2208 libs
Bob-the-Kuhn 75b381cd28
Merge pull request from Bob-the-Kuhn/sanity-check-fix
[2.0.x] Fix TMC sanity checks that always fail
Bob-the-Kuhn 433e984d1f move comment to fix compile error
Bob-the-Kuhn f7857ac8a8
Merge pull request from ejtagle/bugfix-2.0.x
[2.0.x] DUE debugging: Solve WDT startup delay, add traceback & crash report uses programming port baud rate
Bob-the-Kuhn b756a15aba another needs to be deleted
Bob-the-Kuhn 50c81ebe0d remove check that always fails
Scott Lahteine 3ac135cef3 Enforce minimum TMC2130 / TMC2208 libs
Bob-the-Kuhn 8870f9b1da Fix M503 helper functions following TMC updates ()
Scott Lahteine bb7236a750
Z correction on tool-change for all HAS_MESH ()
Bob-the-Kuhn 509227fd80 change to mode 0
etagle c3b23974bd Added detection of case when no unwind tables are available
Scott Lahteine ea1a83ce41 Use pgm_read_ptr for tables of pointers
Scott Lahteine 9da0797e29 Fix EEPROM size of tmc_hybrid_threshold
Followup to 
teemuatlut daf643e1ce [2.0.x] TMC: Match axis label order ()
Roxy-3D 1628a9e864
make data declarations consistent
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
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
Scott Lahteine 1cb810ff1c
[2.0.x] Automatically reset stepper timeout ()
* 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
Eduardo José Tagle 97e8a6ebd9 Various fixes for DUE... ()
- 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.
Roxy-3D c3c264978f
correct truncated comment
Scott Lahteine 9fd1016bb1 Trust the bootloader to clear globals
Scott Lahteine 045ee28c50 Tweaks to M915
Scott Lahteine 987597532c For MK2_MULTIPLEXER undef DISABLE_INACTIVE_EXTRUDER
Fix 
Scott Lahteine ff304d3767 Allow G53 to go back to native space
Scott Lahteine bc45fb6b13 Tweak use of move_z_after_probing
Scott Lahteine c352954882 Allow no raise after run_z_probe in probe_pt
Scott Lahteine ae39fbd646 Also suppress keepalive with suspend_auto_report
Scott Lahteine 8dfaf1539e
Merge pull request from thinkyhead/bf2_eeprom_M913
[2.0.x] More complete Trinamic driver options
AnHardt 837ac2fdbd [2.0.x] Fix_Autotune_THERMAL_PROTECTION_BED_off ()
- Fix Autotune Thermal Protection
- Make 2 constants in autotune configurable
Bob-the-Kuhn 785dbfc72d [2.0.x] FASTIO consistency ()
Bob-the-Kuhn 7308ef7809 Add conditional, give DUE SPI a unique name, fix compiler warnings ()
teemuatlut b5b39af531 [2.0.x] TMC: Fix CURRENT_STEP_DOWN ()
Scott Lahteine a5c6d3c7b8 Prevent null pointer crash in Endstops::update
Thanks to Evgeny Kotsuba!
Scott Lahteine a46bac3100 Add 'I' parameter to M906/M913/M914; 'T' to M906/M913
Scott Lahteine cfc13ed7f3 Quiet M906/M913/M914 with axes. Patch for DISTINCT_E_FACTORS.
Scott Lahteine c95450016b Improve Trinamic support in the EEPROM
Scott Lahteine 48d7036874 Consolidate smart stepper driver initialization
Bob-the-Kuhn 53362b81cc Tone fixes/changes ()
Scott Lahteine dd2949922b Consolidate 3-point leveling point options
Scott Lahteine 1d22609473 MIN_PROBE_EDGE replaces DELTA_PROBEABLE_RADIUS
Scott Lahteine eaefc1e410
Add CorePQ support for BABYSTEPPING ()
Scott Lahteine 72281c4ff9 Turn power off in `kill` instead of setting PS_ON to input
Scott Lahteine 9d99360912 Fix matrix.debug output
Eduardo José Tagle bbfbf90797 Fix for DUE - no host support on native USB if SD card not enabled ()
Scott Lahteine 772810fb24 Followup to PORTVAR patch
Scott Lahteine 978f342392 Reduce some tmc_util strings
Scott Lahteine fbdc5ad962 Prevent lcd_update stack overflow on SD Card change
Scott Lahteine c0d694d5d3 Squash UBL postscript comment
Scott Lahteine 93af8aa157
Fix home_delta for SENSORLESS_HOMING ()
Scott Lahteine 0543362b34 Don't init the tone timer if no BEEPER_PIN
Scott Lahteine c6ff39cc14 Spacing cleanup
Scott Lahteine 9e9e29ddf8 Einsy: Regular endstops and BLTOUCH pins
Based on 
Bob-the-Kuhn c79b53d406
Merge pull request from Bob-the-Kuhn/DUE-full-speed
[2.0.x] DUE - add full speed USB native port option
Bob-the-Kuhn 7f1afbfd60 can't type
Bob-the-Kuhn 23760d6c14 add full speed option
Bob-the-Kuhn cbcd1ed42d full speed
Scott Lahteine 6689884910 Easier override of ST7920 LCD timing
Scott Lahteine d603e655d3 Fix SWITCHING_EXTRUDER manual movement
Scott Lahteine 5f77816772 Reduce size of "only one" sanity checks
Scott Lahteine 8922b56b58 Fix some spelingz
Scott Lahteine a6feb58837
Delta support for multiple hotends with offsets ()
TheSFReader 2e43438e0c Add C parameter to M27 to include the long filename
In answer to 

Add an option to retrieve the currently open file name (long filename if possible).
Scott Lahteine 2168d6ac25 Allow NULL prepend in lsDive
Scott Lahteine 1e946d681d Update Marlin for newest TMC libraries
- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
shaktee 63fc4a8521 BIBO2 default update and Cyclops config ()
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
Scott Lahteine 4aebe3d82e Pretty up EEPROM port args
Scott Lahteine 51bf3c9503 Fix E direction for MK2_MULTIPLEXER with LIN_ADVANCE
teemuatlut e6dcfa64b0 Cast SERIAL_CHAR to void in M122 ()
Marcio Teixeira c24dbcbfe1 When STATUS_EXPIRE_SECONDS is 0, hide the position. ()
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).
Studiodyne e7a61de8af [2.0] FWRetract Reset (Best way) ()
Scott Lahteine f894209de2
Merge pull request from thinkyhead/bf2_trinamic_config
[2.0.x] Clean up Trinamic config options, sanity check
Scott Lahteine f1327fd5f9 Use lcd_goto_previous_menu_no_defer more
Scott Lahteine e7570f3195 Improve TMC config organization, naming
Scott Lahteine 374ea49be9 Revert marlinAnalogInputToDigitalPin
Scott Lahteine 34f656decd Add TMC2208 include in tmc_util.h
Scott Lahteine 07cf2cd9c4 Fix sensorless_homing_per_axis compile warning
Scott Lahteine b858c638ad Fix compiler warning for HAL_ANALOG_SELECT
Bob-the-Kuhn c4467da53a
Merge pull request from ejtagle/bugfix-2.0.x
[2.0.x] DUE - add programming capability to native port
Scott Lahteine 65ce0303f8 Fix MKS_12864_OLED blank issue
Fixes 
Scott Lahteine 36452b4d6e Fix filename HAL/DUE/servotimers.h => ServoTimers.h
Scott Lahteine 14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) ()
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.
Scott Lahteine 5dec828abc Add MKS_12864OLED to lcd_implementation_init
Followup to 
Scott Lahteine 468f34104b Patch do_blocking_move_to so 'destination' can be used
Scott Lahteine 5b45aab262 M218: report with no parameters
Scott Lahteine 18de11c1ea Followup to auto-assign of dual axis CS pins
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
Scott Lahteine 28f1276286
[2.0.x] Add Z_AFTER_PROBING option ()
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.
Scott Lahteine dd19e74476 Cleanup trailing whitespace
@Bob-the-Kuhn — Please set your git options to remove trailing whitespace on commit.
Scott Lahteine d0ac0151b6 Fix typo in ubl.prepare_segmented_line_to
Scott Lahteine d385b9aac7
Auto-assign CS pins for X2, Y2, Z2 ()
Fixes 
Scott Lahteine bae1cb859c Patch flush_and_request_resend for 1.1.x parity
Scott Lahteine 51ebdf3b7d Finish scroll_screen with menu direction/multiplier
Fixes 
Bob-the-Kuhn 0d8c15c01f restore PR 9661 files & V1 fix
Scott Lahteine 751785fc97 Followup to recent patches
- `M666` is static, not inline
- Disambiguate some stepper macros
Scott Lahteine a0211f5d6c Disambiguate else in stepper_indirection.h
Scott Lahteine f003173752 Fixup M666
Followup to d6df032
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"
Sebastianv650 fd1d590726 [2.0.x] Silence M204 ()
`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.
Scott Lahteine f10c87b442 Update Endstops class for 1.1.x parity
Scott Lahteine d6df0322c2 Update M666 for XYZ dual endstops
Scott Lahteine fbc41c0e98 Update Marlin G-code summary
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference 
Scott Lahteine ddce486360
Merge pull request from thinkyhead/bf2_unknown_z_no_raise
[2.0.x] Add UNKNOWN_Z_NO_RAISE to prevent Z grinding
Scott Lahteine 79e6d890d5 Add UNKNOWN_Z_NO_RAISE to example configs
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.
Scott Lahteine 3b4c89e4b5 Move do_probe_raise closer to set_probe_deployed
…and limit the raise to Z_MAX_POS
Scott Lahteine 2908e76151 Fix position_is_reachable_by_probe typo, add comment
Fix 
Roxy-3D 26dc594ebb prevent steppers from turning off during manual probes
Bob-the-Kuhn d8eadf3796 fix ubl_G29.cpp Travis error
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
Scott Lahteine 6d9ea7e184 Fix position_is_reachable_by_probe typo, add comment
Fix 
Roxy-3D 646dd5554c
prevent steppers from turning off during manual probes
Scott Lahteine 161ff9ff35 Fix UPDATE_ENDSTOP for CorePQ compatibility
Fixes 
Scott Lahteine 49ca67202f Patch configuration_store for extra serial port
Fix 
Scott Lahteine cc59ac4603 Fix _tmc_say_axis string address
Fixes 
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
Scott Lahteine dfd5d2fe75
Have position_is_reachable_by_probe use the whole bed ()
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.
Bob-the-Kuhn 67a17446f2 Fix DUE incompatible enum type specification ()
Bob-the-Kuhn 3c58ca181c [2.0.x] Correct step pulse width on LPC1768, DUE & Teensy35_36 ()
Scott Lahteine e297748b22 Apply const, safe_delay in servo.*
Scott Lahteine 3c2bfa5e53
Update powersupply_on in power_on/off ()
Fix 
Scott Lahteine 42608b1925 Init old_red to 127 to ensure initial change
Fix 
Scott Lahteine 317673fec3 Init watchdog last in setup()
Scott Lahteine 8d32fd997f Wrap NORM_E_DIR/REV_E_DIR macros in do{}while(0)
Scott Lahteine 1913c37a91 Tweak to manual move eindex arg
Scott Lahteine 98d48fc731 Followup to HAL_timer_restrain
Followup to 
Scott Lahteine 03e3011332 Fix compile error with MAX_MESSAGE_LENGTH
Fix 
Bob-the-Kuhn 6b4a928145 2uS default step pulse ()
Scott Lahteine ca577c1638 Fix up various spacing, comments, and typos
Scott Lahteine d45f19d385 Remove Unicode from var name
Scott Lahteine 224688cc3b Fix for unicode-ignorant gcc preprocessor
Chris Pepper a1a88ebabc HAL function to ensure min stepper interrupt interval ()
Scott Lahteine be0e100fed Fix sd subdirectory encoder position
Followup to 7e386c7
Bob-the-Kuhn 04dedc7ed8 always completely initialize display ()
Scott Lahteine 0149680f54 Fix compile error with char LCD
Scott Lahteine 9515e5aefb Fix LA_active_extruder (static)
Scott Lahteine e5ec793f7e Wrap stepper indirection macros
Sebastianv650 5b85464791 Fix for LA ()
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.