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