1116 Commits (1ee648ecd2d6cbc02594c1ab3d22e8d91f0981ff)

Author SHA1 Message Date
Scott Lahteine 4e891e9fb7 Followup to #8698 7 years ago
Scott Lahteine de3d3b9cb1 Put FORCE_INLINE before static 7 years ago
Scott Lahteine ae663a4198 PROBE_DOUBLE_TOUCH => MULTIPLE_PROBING 7 years ago
Scott Lahteine 3cd7659924 Improved Core-compatible jerk code 7 years ago
Scott Lahteine 81c0a918af feed_factor => inverse_secs 7 years ago
Scott Lahteine 9898b96992 No lcd_map_control flag in quick_stop 7 years ago
Scott Lahteine 840289e7cc Use block cleaning instead of split flag 7 years ago
Scott Lahteine 2fde60da12 Changes for parity with 1.1.x 7 years ago
Scott Lahteine 6040d4080e Cleanup stepper ISR. Allow cleaning for endstops. 7 years ago
Scott Lahteine a4e1d83599 Fix M503 S parameter 7 years ago
AnHardt a993c5227d Don't split first_move while homing or probing
While homing or probing it might be bad if the stop/trobe triggers during the first part and the second is still in the buffer.
7 years ago
Scott Lahteine 5fbb2f121e Remove skew warning that could crash the planner 7 years ago
Richard Wackerbarth c1184552ac Change K1 to required option PID_K1 7 years ago
Scott Lahteine d8b444c144 Cleanup constextpr in planner.cpp 7 years ago
Scott Lahteine a2372cfab5 Fix SKEW_CORRECTION without leveling 7 years ago
Scott Lahteine b27bc67271 Set initial endstops state 7 years ago
Scott Lahteine 53694ebaa1 Folllwup to planner splitting 7 years ago
Scott Lahteine 4b612f590c Split first move to planner for better chaining 7 years ago
Scott Lahteine dd8febca1a Revert "Merge pull request #8611 from thinkyhead/bf2_planner_split_first"
This reverts commit 824980e70e, reversing
changes made to aa7efb96bf.
7 years ago
Scott Lahteine 3a97de52ef Split first move to planner for better chaining
Address #8573, #8595
7 years ago
Scott Lahteine 63a91cd37a Fix a homing comment 7 years ago
Scott Lahteine 8056120195 Rename inverse_mm_s => inverse_secs 7 years ago
Scott Lahteine 23557f8e77 Remove obsolete de_float 7 years ago
Jonathan Barchi 05f8e98c4a Fix for issue #8629 - mismatch between number of stored and loaded dummy items on non-delta machines. (#8631) 7 years ago
Scott Lahteine 000b3b3117 Comment/cleanup of motion code 7 years ago
Scott Lahteine 45c2388a58 Apply const to thermal_runaway_protection args 7 years ago
Scott Lahteine 0154e3480c New feature: BED_SKEW_CORRECTION 7 years ago
Scott Lahteine 91fb6231b2 Fix EEPROM V45 header, layout 7 years ago
Scott Lahteine dd3ce40826 Drop Planner::position_float, use int types 7 years ago
Scott Lahteine ec6ca37ed3 Fix (un)apply_leveling fade bug 7 years ago
Scott Lahteine a52fec6ac4 Planner class parity with 1.1.x 7 years ago
Scott Lahteine 23e45fa3c4 Apply const to some planner vars 7 years ago
Scott Lahteine ef2531558c Add an option to segment leveled moves 7 years ago
Scott Lahteine 285b868e9b Tweak planner code style 7 years ago
Scott Lahteine 1f2acc33bc Tweaks for check_axes_activity 7 years ago
Scott Lahteine a8aa43ce2d
Merge pull request #8587 from AnHardt/2_Fix_WDTO_during_long_DELTA_moves
[2.0.x] Fix WDTO during long delta moves
7 years ago
Scott Lahteine 16baa48699 Fix #8579
Fan speed code fell into a curly brace
7 years ago
AnHardt 02aa93a6ad Fix Watchdog time out during long lasting DELTA moves
During long lasting moves of a delta machine neither the temperatures are maintained nor buttons checked nor ... .
The fix is to call 'manage_heater()' and 'idle()' every now and then in the loop where the move is segmented. 
The code is abot the same as in G2_G3 wher we had the same problem with too large circles lasting too long.
Fixing #7510
7 years ago
Scott Lahteine fadf9eb2d7 Simplify midpos calculation 7 years ago
Scott Lahteine a67cf78c6b Clean up whitespace, spacing 7 years ago
Scott Lahteine 25674da90c Tweaks to do_blocking_move 7 years ago
Scott Lahteine 27c5692b13 Syntax tweaks 7 years ago
LVD-AC 65f365333f [2.0.x] G33 probe error handling 7 years ago
Roxy-3D d29cb646e3
Fix erroneous reference to temperature in time calculations
Travis is having problems at:  https://github.com/MarlinFirmware/Marlin/pull/8560   

So...   doing a direct commit to get things correct.   Bugfix_v1.1.x does not have this bug.  Nothing needs to be done to that branch.
7 years ago
Scott Lahteine a9ecb975b2 Apply LINEAR_UNIT to M503 output for M200 7 years ago
Scott Lahteine 80ada58818 One fewer function call in probe_pt 7 years ago
Scott Lahteine 01e207213f Fix MK2_MULTIPLEXER stepper indirection 7 years ago
Scott Lahteine a03f93bab4 Fix fan kickstart 7 years ago
Scott Lahteine 9e3c41f9e8 Tweak fan kickstart / speed code 7 years ago
GMagician 118ac61e59 [2.0.x] Tool change bad behaviour fix
Previous fix did not work as expected when axeis not homed. It raise Z but never return to original position
7 years ago
Scott Lahteine 617993d0ea Patch for !!TEST (was _BV once?) 7 years ago
GMagician a61127a421 [2.0.x] tool change bad behaviours
This will solve 2 issues on tool change.
1) when no home is done ("no_move" is set) tool change should never move X & Y because... I don't know where I am...only Z should be adjusted to avoid bed collision if other nozzle is lower than current.
Since no move no bed level matrix should be applied
2) When SWITCHING_NOZZLE is enabled and system is homed there are two movements to go to destination, but first can move Z to older position and then crash on the bed
7 years ago
Vitaliy Sapyanov e2724c68ab Update pins_RURAMPS4D.h
Add and bugfix pins
7 years ago
Unknown 33912fa7e8 Update Temperature::setPwmFrequency prototype to match source
Introduced with #8446
7 years ago
Scott Lahteine 25af9decfe Remove enum.h include of MarlinConfig.h 7 years ago
Scott Lahteine 1d4571b88d Dependency adjustments 7 years ago
Scott Lahteine c0000a0cdc Move servo code to modules/servo.* 7 years ago
Bob-the-Kuhn c14000775b PWM fixes, slow down fan update
include LPC1768 syntax for M42

couple more pin_t changes

consistency

change M42 to R, P format

Revert "change M42 to R, P format"

This reverts commit 01f12f579ec9ccc1bb9126e68d2c86449e9b7edf.
7 years ago
Scott Lahteine 60adc6ff02 Display filwidth ratio in terms of E mm 7 years ago
Scott Lahteine 485abb023b
Merge pull request #8456 from thinkyhead/bf2_wednesday_tweaks
[2.0] No retroactive adjustment with M851 Z
7 years ago
Scott Lahteine 3bba7d60f3 No retroactive changes with M851 Z
If using babystep to adjust the Z probe offset, the axis will move and the mesh will be updated at the same time, causing a doubling of the Z offset over the rest of the print.

To correct for this, the current Z position would need to be modified in the opposite direction, canceling out the additional Z offset added to the mesh. This would be confusing to users, and moreover it would not be accurate without also taking the current Z fade level and current Z height into account.

It might make sense to change the mesh in the case where no babystepping is taking place, but this could be considered an undesirable side-effect of changing the `zprobe_zoffset`.

One way to remedy this would be to return to storing the mesh with `zprobe_zoffset` included, then subtracting `zprobe_zoffset` from the returned Z value. Thus, a babystep moving the Z axis up 1mm would subtract 1 from `zprobe_zoffset` while adding 1 to all mesh Z values.

Without including the `zprobe_zoffset` in the `z_values` there is no safe way to alter the mesh in conjunction with babystepping, although it's fine without it.
7 years ago
Scott Lahteine 32512332df Apply some formatting 7 years ago
Bob-the-Kuhn 7eea000f4b E0 auto fan fixes 7 years ago
Scott Lahteine b2dda096fe Fix FILAMENT_LCD_DISPLAY for disabled state 7 years ago
Scott Lahteine 1e8afb66b7 Fix a planner comment 7 years ago
Scott Lahteine 50f09cc029 Miscellaneous cleanup 7 years ago
Scott Lahteine 63257dc083 Fix M503 output for M145
Fixes #7978
7 years ago
Scott Lahteine 0918dae66e Add OV() macro for use in thermistor tables 7 years ago
RowanMeara 6131533157 Change dithering behavior to intended. 7 years ago
Scott Lahteine 91baca6abb Patches for compiler warnings/errors 7 years ago
Scott Lahteine 04abd8d459 Improve and clarify M428 code 7 years ago
Scott Lahteine f5d210c35c Fix report_current_position 7 years ago
Scott Lahteine 06ee6584fd Remove offsets from soft endstops, tool change 7 years ago
Scott Lahteine d4a1154c25 Use do_blocking_move_to where possible 7 years ago
Scott Lahteine 36426af564
Merge pull request #8356 from tcm0116/2.0.x-M600
[2.0.x] Normalize load/unload length in M600
7 years ago
Scott Lahteine 1ed86adf9c Cleanup around updatePID 7 years ago
Scott Lahteine 75a58ee4b8 Fix position_is_reachable bug in waiting 7 years ago
LVD-AC e334efb2a7 PROBE_MANUALLY etc. 7 years ago
Scott Lahteine cba9c1cf9e Add pre-calculated planner.e_factor 7 years ago
Thomas Moore 600c85226e Normalize load/unload length in M600 7 years ago
Scott Lahteine c66696c507
Merge pull request #8344 from tcm0116/2.0.x-delta_height
[2.0.x] Add delta_height variable in lieu of using home_offset
7 years ago
Scott Lahteine 0cfb936dd1 Clarify some motion code 7 years ago
Thomas Moore f34c3597dc Add delta_height variable in lieu of using home_offset 7 years ago
Scott Lahteine b0b4a20930 Tweaks to core motion code 7 years ago
Roxy-3D 1c6e83c137
if !HAS_MESH we still need to do some motion! (#8328)
* if !HAS_MESH we still need to do some motion!

Thank You MagoKimbra !

* Ooops....   need #else and not #elif
7 years ago
Roxy-3D ed62c621d7
Fix G26 Circle Drawing. Add Default Extrusion Settings (#8313)
- Fix G26 Circle Drawing.
- Add default extrusion settings so machine can print lines on print bed
- Yet to be done: Get LCD Menu's to use these settings.
7 years ago
Scott Lahteine 8fea26aa9d Fix PID_autotune watch temp increase value 7 years ago
Thomas Moore 73ca5345e1 Fix Delta EEPROM 7 years ago
Scott Lahteine 85a62bbf46 Misc. fixes to compiler warnings, etc. 7 years ago
Roxy-3D 6324b09934
Revert "Fix EEPROM crc (#8284)" (#8292)
This reverts commit 172c36f517.
7 years ago
Rowan Meara 172c36f517 Fix EEPROM crc (#8284) 7 years ago
Scott Lahteine 2246316605 Fix name collision. timer_t => hal_timer_t 7 years ago
Scott Lahteine 1b40e9c464 Implement CNC_COORDINATE_SYSTEMS 7 years ago
Scott Lahteine c07bbd4154 Prettify some EEPROM code 7 years ago
Scott Lahteine 79772219ae Fix Fan Multiplexer init 7 years ago
Scott Lahteine dac1f6fe74 Tweaks to cubic_b_spline code style 7 years ago
Scott Lahteine 4df024d7b9
Merge pull request #8234 from thinkyhead/bf2_native_operation
[2.0.x] Operate in Native Machine Space
7 years ago
Scott Lahteine f8393a0908 Operate in Native Machine Space 7 years ago
teemuatlut 70be4d206e [2.0.x] UltiMachine Archim2 (#8190)
* UltiMachine Archim2 support

* SPI gets included by the library

* Invert TMC2130 diag pin state

* Clean up Archim2 pins

* Update Archim2 config

* FAN2 -> FAN1

* Cleanup

* Add brief Archim installation instructions

* Bring pins into compliance

* Update 1.0 SD Detect pin for 1.1

* Update Configuration.h

* Update pins_ARCHIM2.h
7 years ago
Scott Lahteine 2f9e42feb9 M303 thermal runaway protection 7 years ago
Scott Lahteine 04c0d9f3c3 Implement kinematic software endstops 7 years ago
Scott Lahteine 817175613a
Merge pull request #8157 from thinkyhead/bf2_anet_10_servo
[2.0.x] Define a default SERVO0_PIN for Anet 1.0
7 years ago
Scott Lahteine 723f2a77f6 Implement support for Dual X and Y endstops 7 years ago
Scott Lahteine 3e8754a38a Add/correct time units on planner vars / M205 B 7 years ago
Scott Lahteine eae0aea1e0 Fix M303 thermal protection 7 years ago
Thomas Moore 325233b454 Fix automatic stepper assignment for X/Y/Z dual stepper drivers (#8130) 7 years ago
Scott Lahteine 0ceec1f166 Fix leveling_active_at_z warning 7 years ago
Thomas Moore 9e699811d2 Make LPC1768 pinmapping not specific to Re-ARM (#8063)
* Merging early because of build failures.  See #8105

* Make LPC1768 pinmapping not specific to Re-ARM

* Add HAL_PIN_TYPE and LPC1768 pin features

* M43 Updates

* Move pin map into pinsDebug_LPC1768.h

* Incorporate comments and M226

* Fix persistent store compilation issues

* Update pin features

* Update MKS SBASE pins

* Use native LPC1768 pin numbers in M42, M43, and M226
7 years ago
Roxy-3D 72156a2029 change to better (more clear) names (#8050)
set_destination_to_current() changed to set_destination_from_current()

set_current_to_destination() changed to set_current_from_destination()
7 years ago
Roxy-3D 572cf0ec95 UBL able to generate mesh and save and load it on 32-bit platforms (#8015)
* Get UBL Mesh Generation, Mesh Save & Mesh Load working with 32-Bit platforms

* clean up read_data() and write_data() for non-LPC1768 HAL's

* Get read_data() and write_data() return codes consistent

All HAL's read_data() and write_data() return false if they succeed.

* Get read_data() and write_data() return codes to be consistent

Make read_data() and write_data() return true if an error happens.

* Say UBL is now checked out on machine types in default Configuration.h file.
7 years ago
Roxy-3D 6cb26c98c8 Fix Baby Stepping on 32-Bit platforms (#8001)
Also, Max7219 debug code was used for this effort.   It has been
improved and hardened.
7 years ago
Scott Lahteine c46189e429 Fix UBL+Delta segmented feedrate
Based on #7948
7 years ago
Jeff Eberl b206f70693 Split the software endstop capability by axis. 7 years ago
Scott Lahteine c0dddd4233 Tweaks to tool_change, GcodeSuite::T() 7 years ago
Scott Lahteine ca66574062 ADC sensor fix inspired by 'Evgen2' on Twitter 7 years ago
Scott Lahteine 1344ca4b2f UBL no longer needs ubl_state 7 years ago
Scott Lahteine 3e3911fb81 Use planner.leveling_active for all leveling systems 7 years ago
Scott Lahteine 32c607ffe2 Ensure fade factor is recalculated if fade height changes 7 years ago
Scott Lahteine ca1e47375c Move fade_scaling_factor_for_z to Planner 7 years ago
Scott Lahteine 9a930ebec2 Make leveling_is_active a macro 7 years ago
Scott Lahteine 1adb5a6a48 Remove obsolete UBL z_offset 7 years ago
Bob-the-Kuhn 26bfae58d4 MPC4451 I2C support 7 years ago
Scott Lahteine 03f4891fb9 Remove legacy ADVANCE feature 7 years ago
Scott Lahteine 8315a8a716 Apply fixes for DUE
Alternative to #7882. If F_CPU is greater than 1000 it can be evenly divided by 8. Over 10000, 16; over 100000, 32; over 1 million, 64; etc.
7 years ago
Chris Pepper 46b2773e13 General fixes for LPC1768 (#7834)
* fixed some include paths

* LPC1768: Fix Serial API

Add missing serial methods used if TX_BUFFER_SIZE is set
Change return value of HalSerial:read to match Arduino API

* LPC1768: add filters to ADC

This is to try and compensate for hardware issue and oversensitivity to noise

* LPC1768: remove the polling section of delayMicroseconds

* LPC1768: lock usb mass storage device while device accesses it.

Currently only applicable to persistent store,
The device always has priority and will unmount the sd card from the host, Windows then tries to automount again so it can look like the explorer window freezes. Linux Mint, by default, just closes the Nemo window.

* Add timeout to make sure if Serial never connects that Marlin still boots

* Remove unneeded ifdef CPU_32_BIT

In general the need for ifdef CPU_32_BIT blocks means that something is missing from the HAL API or a Platform, in this case HAL_TICKS_PER_US was missing from the AVR Platform

* LPC1768: relocate RE-ARM debug_extra_script.py
7 years ago
Scott Lahteine 6ea2cc0293 Make prepare_move_to_destination_dualx a proper move function 7 years ago
Scott Lahteine 90af1fe5ee Implement NO_MOTION_BEFORE_HOMING option 7 years ago
Scott Lahteine 965b0ab53e Spacing adjustments 7 years ago
Scott Lahteine ac41eb5871 Merge pull request #7722 from tcm0116/2.0.x-warnings
Cleanup 2.0.x compiler warnings
7 years ago
Thomas Moore ae2173cd52 Synchronize retractions 7 years ago
Thomas Moore 0cb00f52d9 Cleanup warnings 7 years ago
Bob-the-Kuhn 1beaef0452 fix 3S hang & enable SPLIT 7 years ago
Scott Lahteine 2ee4eef25c Merge pull request #7748 from GMagician/Addressing-#7730
[bugfix-2.0.x] Fix compiler error (issue #7730)
7 years ago
Scott Lahteine dff2904c0f Marlin code whitespace cleanup 7 years ago
Phr3d13 10c1b442ca Fixes for Anet10 and gt2560
Fixes for 2 "... not declared in this scope" compiler errors.
7 years ago
Scott Lahteine 37eb6d1732 Babystepping code tweak 7 years ago
GMagician c508e9adec Fix compiler error
Added missing include file,
called 'leveling_is_active()' with no prototipe defined.
7 years ago
Scott Lahteine 6d5fcac54a G33 changes from 1.1.x 7 years ago
Dave Johnson f58ba3a64e Improve AVR arch detection
Replace ARDUINO_ARCH_AVR with __AVR__ to better detect architecture for non-Arduino dev environments.  Resolves compile failure in PIO for 8-bit Teensduino targets

More info:
https://forum.pjrc.com/threads/33234-Using-Teensyduino-Selecting-Teensy-3-2-3-1-board-has-incorrect-platform-define
http://www.atmel.com/webdoc/avrlibcreferencemanual/using_tools_1using_avr_gcc_mach_opt.html
7 years ago
Scott Lahteine ff1f211eb4 Merge pull request #7695 from tcm0116/move_framework
Move LPC1768 framework out of Marlin source folder
7 years ago
Thomas Moore ddbd4b73e0 Move LPC1768 framework out of Marlin source folder 7 years ago
GMagician 00b1b33816 Fix compiler warning 7 years ago
Scott Lahteine 64dfb46461 Move z_endstop_adj to Endstops 7 years ago
Scott Lahteine 2e20c53c9d Move endstop debug to Endstops 7 years ago
Scott Lahteine a10451ceed Move Volumetric methods to Planner 7 years ago
Scott Lahteine 07cf75883f Move T (tool change) to cpp 7 years ago
Scott Lahteine 1a37ebc76d Move M163-M165 MIXING_EXTRUDER to cpp 7 years ago
Scott Lahteine 75cf17d816 Move M702 MK2_MULTIPLEXER to cpp 7 years ago
Scott Lahteine 4a220a8b79 Move M380_M381 to cpp, solenoid feature 7 years ago
Scott Lahteine b464887ea1 Make BARICUDA a feature 7 years ago
Scott Lahteine df0432c7c8 Move M155 to cpp, auto-report to Temperature 7 years ago
Scott Lahteine 9c21191f74 Rename SPI class to avoid conflict (good?) 7 years ago
Scott Lahteine 51f195e698 Move dwell to gcode 7 years ago
Scott Lahteine 4f1eadf41f FILAMENT_WIDTH_SENSOR feature 7 years ago
Scott Lahteine d5fe0fb02b Consolidate PrintCounter 7 years ago
Scott Lahteine 551752eac7 Consolidate "bedlevel" code 7 years ago
Scott Lahteine 71aefc2e22 Move heater output to Temperature class 7 years ago
Scott Lahteine 63228fc453 Move volumetric flag to GCodeParser 7 years ago
Scott Lahteine bf7af95db3 Move flow_percentage to Planner 7 years ago
Scott Lahteine a98e9874db FWRETRACT as a feature 7 years ago
Scott Lahteine 722786966a Add gcode.cpp, motion.*, queue.* - Apply to some G-codes. 7 years ago
Scott Lahteine 4231faf779 Initial split-up of G-code handlers by category 7 years ago
Scott Lahteine 038f82cc38 Fix L6470 init and options 7 years ago
Scott Lahteine 3d8a0ab4b2 Module updates 7 years ago
Scott Lahteine 2b3b7d5d7f Move 'thermistor' files 7 years ago
Scott Lahteine 0c9231fd04 Move 'module' files 7 years ago