Commit Graph

9428 Commits (8055ed24ff9f9d8a6441ffef30e6c3458aee4ace)

Author SHA1 Message Date
teemuatlut dffb4c63dc [2.0.x] TMC2660 followup ()
* Don't react to s2g on TMC2660. False positives
* Init with sensorless probing as well
Scott Lahteine d6b0fbd771
Use uint8_t for all fan speeds ()
Scott Lahteine cb7844c8d4
Save PROGMEM on serial prefixes ()
With default config and `EEPROM_SETTINGS`, saves over 200 bytes of PROGMEM.
Scott Lahteine 07db08e39d Fix EXTRUDER_AUTO_FAN_SPEED comment
Scott Lahteine ca0e308105 Fix up some units comments
Scott Lahteine 65b8f3821b Suppress temperature.h compile warning
teemuatlut c447d75916 Add support for TMC2660 ()
Scott Lahteine cf0b9eb37c no need to use destination in do_pause_e_move
Scott Lahteine e8d677620c Use NUM_SERVOS in EEPROM code
Fix 
Scott Lahteine 0fcdfdeed6 Followup to
Phr3d13 acac2adfc8 Add support for MeCreator2 ()
Thomas Moore 49823a4939 Fix broken jerk handling ()
Fix 
Scott Lahteine 52a37913c1 Extend and apply some corrections
Scott Lahteine 77b9a41f1f Add G-code extensions to example configs
thesfreader e09c144674 Add CNC-like G-code options
Scott Lahteine 33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM ()
Scott Lahteine d5141c4e03 Fix up leading/trailing whitespace
Marcio Teixeira 03fc4d31d0 Makefile support for 32-bit Archim board and new TMC library ()
* Support new TMC library and 32-bit Archim board

- Added IS_MCU flag
  - When IS_MCU flag is 1, AVR compiler will be used
  - When IS_MCU flag is 0, ARM compiler will be used
- Added support for new TMC library
- Added support for a 32-bit Archim board, which could probably be used as a basis for other 32-bit boards.
Scott Lahteine 65b36642f8 Fix Anycubic Kossel config
Scott Lahteine fc326b3dde Add USB_FLASH_DRIVE_SUPPORT to examples
Co-Authored-By: marcio-ao <marcio@alephobjects.com>
Marcio Teixeira 2067619a26 Add USB_FLASH_DRIVE_SUPPORT
Giuliano Zaro 07fe8d28be [2.0.x] Partial Italian revert ()
- Use a comma for decimals just in one message has not been a good idea.
- Full comments translation
Scott Lahteine 517b4f4cd4 Fix lightweight UI hotends display
Giuliano Zaro 72a750e0eb [2.0.x] Update Italian language ()
Scott Lahteine bb561baf9e Tweak some config comments
Nils Hasenbanck fcf6d127fd STM32 timer simplification ()
Prescalers aren't calculated for the given target frequency.
Stepper timer should run at 2 Mhz and temperature timer at 72 Khz.
Scott Lahteine 8daadd2c8c
Fix TMC_DEBUG undefined report_tmc_status ()
Scott Lahteine c40ea1f0fd Update EEPROM_VERSION
And set EEPROM_OFFSET to 0, since the historical 100 skipped bytes are never used.
Scott Lahteine 1358bd9319 Make MAX_EXTRUDERS always 6
AnoNymous 001f26b642 Template struct simplification for serial ()
Scott Lahteine 348004c34f
STM32F7 HAL using the official STM32 Arduino Core ()
Scott Lahteine 3e58b3a5d4 Followup to
teemuatlut c3229e1b34 Migrate to a new TMC library ()
brian park 2abf3d258d Korean language translation support ()
Eduardo José Tagle d6955f25b2 Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes ()
Eduardo José Tagle f6f2246f59 Templatized serial classes ()
Scott Lahteine ee53f7d813 Revert header reorg.
Scott Lahteine d619ba2685 Tweak STM32F4 config
LineF d777cef837 fixed minimum macro ()
Scott Lahteine e3f7b69105
Add PROBING_STEPPERS_OFF ()
Co-Authored-By: houseofbugs <houseofbugs@gmail.com>
Scott Lahteine 0e5bcdf695 Make DISABLE_INACTIVE_EXTRUDER a simple switch
Scott Lahteine 0dedb3e139
Reorganize some core headers ()
Thomas Moore ab4549d2bc [2.0.x] Add simultaneous retraction for mixing extruder ()
Scott Lahteine c75f5a376b Tweak some comments
Scott Lahteine f4c625d3a1 Ensure MIN/MAX overrides
Scott Lahteine 3019713402 Reorganize some enums
Scott Lahteine 606a4362b3 Reduce STM32F4 compile warnings
Scott Lahteine b3154b2120 Apply MOVE_Z_WHEN_IDLE to example configurations
Co-Authored-By: dot-bob <gibben@gmail.com>
dot-bob b0fd8f2d74 Add option to move Z on double-click when idle
Scott Lahteine 389376c40e Clean up softspi.h
Scott Lahteine e78bdd654d Clean up BABYSTEP options
InsanityAutomation 8ae113ff36 Show zprobe_zoffset when BABYSTEP_HOTEND_Z_OFFSET is disabled ()
InsanityAutomation 2e98437392 Clean up main menu ()
InsanityAutomation 6d862b2916 Home before level corners, if needed ()
…and add a consistent homing screen for all LCD pre-homing.
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers ()
InsanityAutomation 4d5566a6b7 Add filament runout sensor menu item ()
Scott Lahteine 8489673cea Adjust some HAL formatting
Scott Lahteine fb8a07660a Followup to minmax patch
Co-Authored-By: Palatis <palatis@gmail.com>
Scott Lahteine 3c40933713 Remove trailing spaces, old comment
Hannes Brandstätter-Müller a3ec805c97 Anycubic Kossel Linear+: corrected DELTA_DIAGONAL_ROD ()
AnoNymous b30ca652ae Replace MIN# / MAX# with variadic MIN / MAX ()
Scott Lahteine e10f730478 Tweak vector_3::apply_rotation
Scott Lahteine e2ab78d876 Fix SERIAL_PORT_2 sanity check
AnoNymous a644d8cb93 Avoid copies in vector and matrix ()
Scott Lahteine 693865a649 Fix some whitespace
Scott Lahteine 9903305dda
Merge pull request from tcm0116/2.0.x-sensorless_probing
[2.0.x] Add TMC2130 sensorless probing
Scott Lahteine 14df753086 Correction for block->mix_steps
Fix 
Alexander Amelkin 2ecfda80ac Improve support for JTAG/SWD pins reuse ()
STM32 can reuse JTAG and SWD pins separately. Add `DISABLE_DEBUG` option to disable both interfaces and retain `DISABLE_JTAG` to disable JTAG only.
Scott Lahteine bb47009656 Apply sensorless changes to example configs
Thomas Moore 3286325044 Add TMC2130 sensorless probing
Scott Lahteine 7d5c336c56 Corrections for dylsexic TMC
Scott Lahteine d89d8fe852 Fix Busy State in temperature.cpp
Fix 
Giuliano Zaro 70e7a465d8 [2.0.x] Fix compile error ()
Fix compile error intruduced with M109 modification
Hannes Brandstätter-Müller 935b120949 Anycubic Kossel: probe closer to the edge ()
Scott Lahteine 1410e79e7f Ensure M109 handles autotemp
Scott Lahteine e4389f7d23
Standard methods to wait for heating ()
Scott Lahteine bdc9889d3a Fix a sanity check
Scott Lahteine 321f9140d1 Followup to
InsanityAutomation 23114aeb81 Fix garbled M119 output. Honor NUM_RUNOUT_SENSORS ()
Scott Lahteine 1667ed9d1c Pause should use ECHOLNPGM
Victor Tseng 93839e2f73 Add option to enable/disable autoretract altogether ()
Scott Lahteine ad21a4f07b Tweaks to HAL format and order
Scott Lahteine b682a1961a Tweak STM32F7 TMC2660 class
Scott Lahteine a0a3b23e35 Reduce Raptor bootscreen by 144 bytes
InsanityAutomation 95d793456b Add Formbot Raptor config, fix other Formbot configs ()
Mitch Roote d016b572e3 [2.0.x] Add pin configuration for Fysetc F6 ()
Alexander Amelkin 84926b1d5a HAL general support for DISABLE_JTAG option ()
Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
Scott Lahteine c575c5d5f6
Bring example configs up to date ()
Scott Lahteine 6b1a4f30a8 Fix case of T-Rex 3 _Statusscreen.h
Scott Lahteine ab7bfa86e2 Fix case of T-Rex-3 _Statusscreen.h
Scott Lahteine 241168926d Update some configs
Scott Lahteine cb6454118c Workaround for Pronterface M29
Victor Tseng eeab4141db [2.0.x] Anycubic Trigorilla 14 pins tweak ()
InsanityAutomation cb9dc56630 Add GT2560 v3 support ()
InsanityAutomation f2e630a05e Stow probe on probing failed ()
Prevents probe from being left down should probing fail and print job continue
Hannes Brandstätter-Müller 0b602ae101 [2.0.x] Fix Anycubic Kossel with Probe V1, stuck LCD message after stow ()
Giuliano Zaro dc11131656 [2.0.x] fix possible race condition ()
Fix some commits done in 
Scott Lahteine d6b9327c11 Followup for Endstop Noise Threshold
Followup to 
Scott Lahteine aa6e8e9325 Tweak some config comments
Scott Lahteine 5490a664f5
Expose: Homing Validation and Endstop Noise Threshold ()
Scott Lahteine cee34f7290
Followup for BABYSTEP_HOTEND_Z_OFFSET ()
teemuatlut 884ad75cb8 Update config files
Giuliano Zaro 18e456d38d [2.0.x] fix home endstop bug (DON'T MERGE, needs discussion) ()
Scott Lahteine 6742026568 Followup for 6 extruders
Scott Lahteine 04bdff4115 Add a blank line
Marcio Teixeira ccbd045f02 Fixed warning about comparing signed to unsigned ()
InsanityAutomation 1104054d73 2.0 IDEX Independent z offset and other fixes ()
* Add Formbot Raptor board

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Add a second Z probe Z offset

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Modify method to utilize live adjustment of hotend z offset

Should probably move config option to babystepping and rename as it may now apply to all multiextruder systems

* Move config item and catchup other code to current method
Scott Lahteine 217e0efd20
General option PAUSE_BEFORE_DEPLOY_STOW ()
Scott Lahteine 849dea92a8 Move probe extras below probe types
Scott Lahteine a2b0260f0f Update Sublime files
Hannes Brandstätter-Müller a4cdffdd69 Support for manually deployed fixed probes ()
Scott Lahteine ddcbf80f23 Followup for Z_TRIPLE_ENDSTOPS
Marcio Teixeira c411e7eb0d [2.0.x] Squelch compiler warnings seen with -Wall ()
Roxy-3D 83105590a0 Better default values for Mesh Inset
Roxy-3D 4163c1a514 Fix end stop and Z-probe reporting logic
Scott Lahteine ea9eb2fc8f Fix servo angles in config-store
Roxy-3D d3d6be8210 Add MAX7219 reverse units option ()
Scott Lahteine beab9733f8 Remove extra clauses in config-store
Scott Lahteine 5a74b12b45 Followup to
InsanityAutomation f38570ac55 Add custom user menu title ()
Scott Lahteine 17494099a9 Fix parking_extruder_tool_change
Fix 
Scott Alfter 140caf99b8 E0_CS_PIN moved from A13 to A15 on RAMPS-FD v2.2 ()
Scott Lahteine 10590c2f80 Fix some fan conditionals
Scott Lahteine e4ee607fc8 Fix Dual X FRS in M600
Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>
Scott Lahteine bae8f82ba8
[2.0] Fix Mixing Extruder mixing factors ()
Scott Lahteine c5e5cc5e9f Fix some trailing whitespace, macros
AnHardt 54bd124665 2.0.x: Fix normalize_mix() ()
Mix factors needed to be updated consistent with the recent Stepper/Planner code refactor.
Roxy-3D 5fbfbde532
Fix example file to pull in correct pins file
Roxy-3D 378f354939
IDEX Scaled Duplication is still under development
Take it out of the menu until it is tested and working.
Scott Lahteine 65045ba54b tmc_util fix part 2
Followup to 115abf9
Scott Lahteine 09a2bee8aa
Support more filament runout sensors in M119 ()
Scott Lahteine 115abf9c53 Fix syntax error in front of `tmc_axes`
Roxy-3D 0780913848 IDEX Improvements ()
Scott Lahteine 39732838b4 Tweak indent of Chinese languages
Scott Lahteine 53bd0b55cb Followup for 6 extruders
Scott Lahteine 1718eff54a Code changes supporting up to 6 extruders
Scott Lahteine f5c210d33d Config changes supporting up to 6 extruders
Scott Lahteine d948c6e867 RADDS Extension Board V3 support
Thomas Moore c437bb08f1 Overhaul of the planner ()
- Move FWRETRACT to the planner
- Combine leveling, skew, etc. in a single modifier method
- Have kinematic and non-kinematic moves call one planner method
Scott Lahteine 8323a08642 Clean up some whitespace
Scott Lahteine 6286afd456 Add Triple-Z options to example configs
Holger Müller 1a6f2b29b8 Add support for Triple-Z steppers/endstops
Hannes Brandstätter-Müller bc06406d7d Fix Anycubic Kossel config (probe crash) ()
Scott Lahteine 66f83d33e6 Fix some config comments
Hannes Brandstätter-Müller 84ed9b5a63 Send "G33 S P1" for Delta Height Calibration ()
Scott Lahteine 215eee4fe5 Use 'friend' to access set_directions
Cassiano Leal ff51e7322d Fix for Stepper::set_directions() compilation error ()
Scott Lahteine 809b232fa2 Fix stepper directions after M501/M502
See https://github.com/MarlinFirmware/Marlin/issues/11103#issuecomment-421387611

Co-Authored-By: tcm0116 <tcm0116@users.noreply.github.com>
Scott Lahteine f79a5a9dee Tweak spacing of L6470 options
Hannes Brandstätter-Müller c37d3ae97d [2.0.x] Fix NOZZLE_PARK_FEATURE for Anycubic Kossel ()
HenningJW 4fb2134f00 Fix non-sensical values for Zonestar themistor table ()
Values taken from Zonestar firmware for P802QA with a Melzi board. Timestamps from the firmware package are from April 2016.
Scott Lahteine b220a825a7 Fix raw_filwidth_value error
Scott Lahteine 1933d5d6fb Fix SD autostart with no LCD
Roman Moravčík 8bce5370c7 Updated slovak translation ()
Giuliano Zaro 64d629ba2a [2.0.x] Italian language fix ()
Scott Lahteine 8584d3697d Fix servo count define conflict
`MAX_SERVOS` => `NUM_SERVO_PLUGS`
Scott Lahteine 06949ae510 Fix MSG_FILAMENT_CHANGE_HEAT_1 for small LCD
Scott Lahteine d882717d98
Save some PROGMEM with constexpr ()
When possible, make `active_extruder` a `constexpr` to save some PROGMEM.
Sam Lane 4f883d5971 [2.0.x] Extruder-Distinct Linear Advance K Factors ()
Scott Lahteine fe9f088d60
[2.0.x] Anycubic LinearPlus, Trigorilla 1.4 ()
Scott Lahteine b6aae2b322 Tweak RAMPS_FD_V1 pins
Scott Lahteine 7391e23332 Fix RigidBoard FAN_PIN collision
Scott Lahteine 53b8c3bd66 Add EXTERNAL_CLOSED_LOOP_CONTROLLER to examples
Sam Lane 1b6bc19427 Add external closed loop controller support
Marcio Teixeira 2ebfe90be9 Add custom preheat temp to filament change ()
Karl Andersson 69d0ed5791 [2.0.x] Fix ambiguous function call (SERIAL_PROTOCOL_F) when using Arduino_Core_STM32 ()
Scott Lahteine d32c4efc77 Fix some trailing whitespace
Alexander Amelkin bc1ba998b2 [2.0.x] Fix undefined symbol 'g29_in_progress' ()
InsanityAutomation bad225dc04 Fix mesh leveling compile errors ()
Sam Lane d783400330 Updates to STM32F7 HAL, for completeness ()
Scott Lahteine 72af8e0f02 Patch extruder_advance_K edit menu
Fix 
Sebastianv650 7e8c073fba Fix extruder stops extruding with LA ()
Scott Lahteine 0c01099f17 hop_amount => current_hop
Scott Lahteine eafd62308e
Use TMC2208Stepper v0.2.5 ()
Kevin e25d2ae4a2 [2.0.x] SWITCHING_TOOLHEAD ()
Alexander Amelkin f417408df1 [STM32F1] Fix HAL for new PlatformIO ()
Roxy-3D 3d7f2c1fde
Fix directory name to be consistent ()
Roxy-3D a9c98a0e47
Create _Bootscreen.h
Roxy-3D 9f85d3a9cb
Create _statusscreen.h
Roxy-3D e2e7b1d705
Break out support of the T-Rex 3
Roxy-3D 67996c2b66
Break out support for the T-Rex 3
Roxy-3D 9c8d9d282f
Break out support for Formbot T-Rex3 from previous versions
Roxy-3D e3aac59637
Create pins_FORMBOT_TREX3.h
Roxy-3D f580247581
Create pins_FORMBOT_TREX2.h
Roxy-3D 073857646b
seperate the T-Rex2 and T-Rex3 support
Roxy-3D fe4fc2883b
Add support for Formbot T-Rex3
Scott Lahteine 2a61c9a939 Various fixups to configs, spacing, etc.
Scott Lahteine b3efbc6e6e Add MANUAL_E_MOVES_RELATIVE to more configs
Scott Lahteine 679e4602fe Add MANUAL_E_MOVES_RELATIVE to examples
Marcio Teixeira beb51c2d58 Show manual extrusion moves as relative in LCD
- Implements FR#11724
- Old behavior can be restored by commenting out MANUAL_E_MOVES_RELATIVE
Scott Lahteine d10f29ae2e Pass segment length in G2-G3
Scott Lahteine dcfde2317f
Pass segment length in prepare_kinematic_move_to ()
Roxy-3D d5379ee9d6
Fix search for white space in enqueued commands
Roxy-3D 8d5bea073b
Assume one Max7219 unit if not specified
Roxy-3D 9651ceb36b
Correct spelling of #endif
Scott Lahteine b213a89ef5 Sanity-check NOZZLE_PARK_POINT
Scott Lahteine 86ee74731e Comment for RADDS + RRDFGSC
Kevin ae1271b2ae RADDS: Update Full Graphic Display Pins ()
Scott Lahteine 650d4313c4 Bring some configs up to date
AnHardt 530a13ab6c [2.0.x] SECURITYFIX missing max temp error when PID is used ()