342 Commits (cff886ba120b57da82b54869b444f98f8acab94f)

Author SHA1 Message Date
Scott Lahteine 80a232419d CNC workspace planes and 'P' argument for G2/G3 8 years ago
Scott Lahteine 42f7f9e013 Merge pull request #7060 from bgort/i2cpefix
I2C Position Encoders Example Configs
8 years ago
Jim Brown 3d043976f7 Add option to disallow filament change without homing first 8 years ago
Brian 40bb0cbf7a example configurations, etc. 8 years ago
bgort 2f55870edb [New Feature] I2C position encoder support (#6946)
* [New Feature] I2C position encoder support

I plan to continue improving/cleaning this up, as there areas that need work.

* let the cleanups begin.

* progress

* more progress

* comments, rename files, etc.

* clean

* Cleanups per thinkyhead

* a few more cleanups

* cleanups, bugfixes, etc.

* remove unnecessary passes_test(), additional cleanups/optimizations

* cleanups

* misc.

* Fix up I2CPEM.init() and a few other things.

* organize, fix, rename, etc.

* more optimization

* a few more tweaks
8 years ago
Scott Lahteine 1419126721 Merge pull request #6965 from thinkyhead/bf_save_more_sram
Use createChar_P to save SRAM in bootscreen
8 years ago
Scott Lahteine e1c5a43247 Cleanup stepper current control config options 8 years ago
Scott Lahteine efc198f952 Spacing, const, comments 8 years ago
Brian dd071a4a65 Enable AUTO_REPORT_TEMPERATURES by default 8 years ago
bgort 8db1197c9b Enable extended capabilities report by default (#6969)
Ref #5139
8 years ago
Scott Lahteine 90ccac4bcf Clean up after recent commits 8 years ago
Scott Lahteine 1919cb0d1e Config cleanups 8 years ago
Bob-the-Kuhn 9657e7d3ee copied file changes from PR #5685
==============================

Configuration_adv.h changes

==============================

add "live" LCD update

==============================

P & S version

==============================

final (hopefully) tested version

==============================

update M115 capabilities print

==============================

Menu changes portion of the requested changes

==============================

changed USEABLE_HARDWARE_PWM from a function to a series of macros

==============================

changes per review
8 years ago
Tannoo 74d6dee920 User Command (Script) Menu
The menu (commands / scripts) is configurable in `Configuration_adv.h`.

- Added conditionals.
- Changed script handling.
- Slimmed and working!
- Added Status message.
- Returning to lcd status screen now!
- Example Configs Updated.
- Cleanups by @thinkyhead
8 years ago
Scott Lahteine d9c8072037 Edit PROPORTIONAL_FONT_RATIO comment 8 years ago
Scott Lahteine 71367fd518 Scrolling status message option 8 years ago
Thomas Moore fb5e0ffe16 Unify M600 and M125 pause features (#6407)
* Unify M600 and M125 pause features
* Cleanup per thinkyhead's comments
* Rename filament_change_menu_response to advanced_pause_menu_response
* Include HAS_BED_PROBE in QUIET_PROBING
* Update gMax example file
* is_idle() is out of scope without the braces
* Convert FT-i3-2020 to Advance Pause names...
* Allow pause even if not printing
8 years ago
Scott Lahteine 002a06c507 New GCode Parser - Configuration 8 years ago
Brian 43c24f0027 Fix recent regressions, &c.
- fix broken `M421` due to less-than-careful optimization
- add HOME_AFTER_DEACTIVATE define to advanced config so not everyone has to rehome after steppers are deactivated
- misc. cleanups (remove unused label, unused variables)
8 years ago
Scott Lahteine 99c4900a98 SPINDLE/LASER config changes 8 years ago
Brian 2604742191 Add proportional font adjustment ratio
- update example configs
8 years ago
Scott Lahteine 2c13922c46 Implement USE_CONTROLLER_FAN as a feature 8 years ago
Scott Lahteine 4803a4322e Revert "Fix for Meshpositions if printer has negative endstop positions" 8 years ago
Brian 4e1448e75a Various fixes for compiler warnings
add BLTouch-related messages in english and (rusty) french;
add missing endstops.h in ultralcd.cpp;
fix misc. compiler warnings;
fix lsf_reset - ZERO macro can't handle a pointer as it would only memset the size of the pointer, not the size of the entire struct
8 years ago
Scott Lahteine 39c6c5621b Merge pull request #6416 from SkyNet3D/negative-mesh-fix
Fix for Meshpositions if printer has negative endstop positions
8 years ago
Scott Lahteine d7d4378481 Remove inaccurate version description 8 years ago
Brian f41fb2b635 Numerous UBL-related changes:
* relocated ubl state to config. store:
 * removed a number of ubl state variables and padding which were largely unused - saved 58 bytes of both SRAM and EEPROM;
 * modified ubl sanity_check - no longer checks removed state variables that were otherwise unused, where checking didn't seem to accomplish anything, ultimately;
 * removed pre_initialized state, saving 64 bytes of SRAM;
 * removed automatic saving of UBL state after UBL activation/deactivation;
* consolidated multiple GRID_MAX_POINTS_X/Y to 'Global Leveling' section of EEPROM;
* minor update to G29 Sx notes/instructions;
* renamed mesh load and save parameter to 'slot' from 'm' for clarity;
8 years ago
Hans Raaf 406a83ff2d Fix for Meshpositions if printer has negative endstop positions 8 years ago
Scott Lahteine a00ae4790a Replace M905 with unique code M900 8 years ago
Scott Lahteine d60c02c5b1 Cleanup, extend TMC2130 configuration 8 years ago
Scott Lahteine 1bd25fd2b3 Clean up config spacing, section headings, etc. 8 years ago
Scott Lahteine 5803ba43a9 Expose EXT_SOLENOID as an advanced option 8 years ago
Scott Lahteine 52c3ace102 Add BABYSTEP_ZPROBE_OFFSET as an optional feature 8 years ago
Scott Lahteine cd4e6abec8 Group BABYSTEPPING options together 8 years ago
Scott Lahteine 4cdda5615b Bring other configs up to date with wt150 changes 8 years ago
Scott Lahteine 39617e10b8 Patch configs comment formatting 8 years ago
Scott Lahteine c54f6cf23d Updates to support 5 extruders 8 years ago
Scott Lahteine 2b88ccd0aa Apply UBL mesh bounds to remaining configs 8 years ago
Scott Lahteine f8408036f2 Merge pull request #6264 from thinkyhead/rc_five_extruders
Support up to 5 extruders in Marlin
8 years ago
Bob-the-Kuhn f7fc49c3a3 Finish name change
DAC_STEPPER_DFLT wasn't changed to DAC_MOTOR_CURRENT_DEFAULT in all
places on PR #6124
8 years ago
Scott Lahteine 2a84122edd Configuration changes to support 5 extruders 8 years ago
Bob-the-Kuhn 6643d553f6 # This is a combination of 2 commits.
# This is the 1st commit message:

MCP4728 consistency & fix ultralcd.cpp

The MCP4728 DAC controls the stepper motor current strenth on the
PRINTRBOARD Rev F and RIGIDBOARD V2 boards.

PR #5792 on 9 FEB 2017 implemented default drive percentages but only on
the RIGIDBOARD V2.

This change moves the default settings to Configuration_adv.h.

Also, ultralcd.cpp won't compile because of a type def conflict.
Changed it to match the one in stepper_dac.cpp

===========================================================

reword stepper curent section for clarity

===========================================================

change name & improve comments

===========================================================

changed name from A4JP to SCOOVO_X9H per PR #6139

# This is the commit message #2:

fix typo
8 years ago
Bob-the-Kuhn a5abc61fb9 Merge pull request #6219 from Bob-the-Kuhn/Servo-probe-and-toggle-pins
M43 - add Toggle utility and Z servo utility (replaces PR #5864)
8 years ago
Bob-the-Kuhn f9686a108c add Z servo test and toggle pins to M43 8 years ago
Scott Lahteine 62cbaa302e Z_DUAL_ENDSTOP - make offset a configuration item
The offset for Z_DUAL_ENDSTOP (z_endstop_adj) is already in Marlin.
This PR just makes it a configuration item.

z_endstop_adj is initialized in two places so both had to be modified.
8 years ago
Bob-the-Kuhn 0934563b97 G38 optional double touch
Made the double touch portion a conditional compile based on the
PROBE_DOUBLE_TOUCH flag.

==============================================

Bugfix

The current G38 only stopped a move if it involved the Z axis.

Moved all the G38 code to it's own section and put it where it would
always be executed no matter what axis was moving or if the endstop was
enabled.

Also added a comment to configuration_adv to alert the user the double
tap had to be turned on.

==============================================

Change G38 back to using Z_MIN_PROBE

There's no Z_MIN endstop if Z_DUAL_ENDSTOPS is enabled and you have them
set to the top of the gantry.

G38 started out as using the Z_MIN_PROBE pin.  I don't remember why we
changed it to the Z_MIN endstop.
8 years ago
Scott Lahteine 26473cab6d Add PARK_HEAD_ON_PAUSE feature 8 years ago
Scott Lahteine 8eb29f91e6 Patch filament change options and beep code 8 years ago
Scott Lahteine cf94688925 Univeral Bed Leveling - configuration 8 years ago
Scott Lahteine 77491dd924 Remove extraneous whitespace 8 years ago
Scott Lahteine 45f949d833 TMC2130 Library: @teemuatlut replaces @makertum 8 years ago
Scott Lahteine 05abe853f9 New option: NO_WORKSPACE_OFFSETS 8 years ago
Scott Lahteine 5065636023 Merge pull request #5934 from thinkyhead/rc_advance_ed_ratio
LIN_ADVANCE: Fixed E/D ratio option
8 years ago
Scott Lahteine fb4aead2b1 Clean up and finish #5887 8 years ago
Sebastianv650 de6c40ed8f Add option to fix E/D ratio
Work around for slicers producing buggy gcode.
8 years ago
Roxy-3D 11e892bd84 Merge pull request #5887 from Roxy-3D/RCBugFix
Double Click of Encoder Wheel Jumps to Z-BabyStepping
8 years ago
Scott Lahteine c759c26cca Make LCD_TIMEOUT_TO_STATUS configurable
As suggested in
https://github.com/MarlinFirmware/Marlin/issues/5570#issuecomment-283059
065
8 years ago
Roxy-3D 7e607b06eb Better comments on DOUBLE_CLICK_TIME_WINDOW 8 years ago
Roxy-3D 48d862377a Double Click of Encoder Wheel Jumps to Z-BabyStepping 8 years ago
Scott Lahteine 561904345f Tweak config ordering for M600 8 years ago
Scott Lahteine d9dcef8a87 Spacing, coding standards 8 years ago
Roxy-3D 8bf0b496b9 Improve M600 with timeout, wait for heatup. 8 years ago
Scott Lahteine 47f9883b0f Dynamic allocation for SDCARD_SORT_ALPHA 8 years ago
Scott Lahteine a561bd5e3a New feature: SDCARD_SORT_ALPHA 8 years ago
Robert Kirk 0d147ead66 Allow enabling volumetric filament on config load 8 years ago
Scott Lahteine 4061fca1ad Sanity checks for FILAMENT_CHANGE_FEATURE and FILAMENT_RUNOUT_SCRIPT 8 years ago
Sebastianv650 84c685f8b5 First draft of Unified Stepper / E Advance ISR 8 years ago
Scott Lahteine bec30c89e7 Merge pull request #5522 from esenapaj/Add-description-for-dual-x
Add description for choice of DEFAULT_DUAL_X_CARRIAGE_MODE
8 years ago
Scott Lahteine 18ba31e9b5 Add Debug Menu with LCD_PROGRESS_BAR_TEST as an example 8 years ago
esenapaj 6854f44bf2 Add description for choice of DEFAULT_DUAL_X_CARRIAGE_MODE 8 years ago
esenapaj 069c6b38dd Remove unnecessary tabs and spaces 8 years ago
Scott Lahteine 06af3b62ba Move HOLLOW_FRAME options to config_adv 8 years ago
AnHardt d0e24e0876 Adaptive screen updates for all kinds of displays
The target here is to update the screens of graphical and char base
displays as fast as possible, without draining the planner buffer too much.

For that measure the time it takes to draw and transfer one
(partial) screen to the display. Build a max. value from that.
Because ther can be large differences, depending on how much the display
updates are interrupted, the max value is decreased by one ms/s. This way
it can shrink again.
On the other side we keep track on how much time it takes to empty the
planner buffer.
Now we draw the next (partial) display update only then, when we do not
drain the planner buffer to much. We draw only when the time in the
buffer is two times larger than a update takes, or the buffer is empty anyway.

When we have begun to draw a screen we do not wait until the next 100ms
time slot comes. We draw the next partial screen as fast as possible, but
give the system a chance to refill the buffers a bit.

When we see, during drawing a screen, the screen contend has changed,
we stop the current draw and begin to draw the new content from the top.
8 years ago
Scott Lahteine f882355994 Merge pull request #5318 from Sebastianv650/Account_for_LCD_improvements
Account for LCD improvements in ENSURE_SMOOTH_MOVES
8 years ago
Scott Lahteine d5bf1684fe Implement as optional feature LCD_DECIMAL_SMALL_XY
And reduce the function size to simplify
8 years ago
Scott Lahteine f60b4f8659 Allow case light pin to be active low 8 years ago
Sebastianv650 f62f4006af Account for LCD improvements in ENSURE_SMOOTH_MOVES
.. and give the hint to try lower values if possible.
8 years ago
Scott Lahteine 5460a529da Add option DOGM_SPI_DELAY_US 8 years ago
esenapaj ef97645002 Follow-up the PR #5255 (Case light menu (3rd attempt)) 8 years ago
Scott Lahteine 4e4f37b6c2 Code formatting for TMC and L6470 config options 8 years ago
Scott Lahteine bf5f5f44cc Make TMC2130 init code auto-configure
Simply apply enabled settings instead of requiring users to edit
stepper_indirection.cpp
8 years ago
Moritz d67c1d825f Add TMC2130 support 8 years ago
Scott Lahteine 072541f286 Update ENSURE_SMOOTH_MOVES in all configs 8 years ago
Sebastianv650 de89dc9f04 Ensure smooth print moves even with LCD enabled
lcd_update can take so much time that the block buffer gets drained if
there are only short segments. This leads to jerky printer movements for
example in circles and a bad print quality.

This change implements a simple check: Only if the block currently
executed is long enough, run lcd_update.
This also means the printer will not show actual values on the LCD nor
will it respond to buttons pressed. A option that keeps the menu
accessible is also available.
Aditionaly, slow down if a block would be so fast that adding a new
block to the buffer would take more time. In this case, the buffer would
drain until it's empty in worst case.
8 years ago
Scott Lahteine 60cc9342a4 Merge pull request #5188 from thinkyhead/rc_extended_host_support
Extended host support: M155 Auto temp report, M115 capabilities
8 years ago
Scott Lahteine 3c9a838651 Extended capabilities report in M115 8 years ago
Scott Lahteine 68b866b5dd Add M155 - Auto-report temperature with interval 8 years ago
Scott Lahteine 75bfde9945 M155=>M260, M156=>M261 8 years ago
esenapaj 2ae72b0491 Follow up the PR #5167 (Add Turkish Language) again, etc
・Update forgotten K8400\Dual-head\Configuration.h
・Adjust spacing
8 years ago
Scott Lahteine 2495ab7af2 Make dual_x_carriage_mode an enumeration 8 years ago
Stanley ab3f966f5f Case light G-code M355
implemented G-Code M355 into Marlin
8 years ago
Scott Lahteine b6aa894893 Rename auto fan pins and add auto fan flags 8 years ago
Scott Lahteine b9109b2875 Improve LIN_ADVANCE commentary (all configs) 8 years ago
Sebastianv650 599649e45d Add formula for LIN_ADVANCE_K
With this formula, a start value for K for further fine-calibration can be calculated.
8 years ago
Scott Lahteine a0df34fd4c Add PINS_DEBUGGING advanced config option 8 years ago
Scott Lahteine 919fe3e4b8 Rename feature to G38_PROBE_TARGET 8 years ago
Scott Lahteine a2864ab7fe Patched up, cleaned up 8 years ago
Bob-the-Kuhn 2911aa7ffa code changes to implement G38 commands
1) modified 3 code files
Marlin.h
Marlin_main.cpp
endstops.cpp

2) modified config files so I could test on my machine

Testing was done on an AzteegX3pro based machine.

The probe was hooked to the Z_MIN endstop.

My controller doesn't have a dedicated Z_PROBE input so I couldn't test
that functionality.

Verified that a large file (without any G38 commands) executed the same
before and after the changes.

Verified that the head moves as expected when G38.2 and G38.3 commands
are issued. Single & multiple axis moves were tested along with + and -
directions.

Code was added to the main ISR. In normal operation only one extra IF
statement is evaluated. I didn't notice any performance degradation
because of the added code.

The G38 commands are expected to be issued manually by the operator
during machine setup. The G38 commands wait until the machine is idle
before proceeding. That way the other commands are minimally impacted
by the extra ISR overhead when a G38 command is in the queue.

The G38 commands are very similar to the G28 commands except 1) only the
Z_PROBE is used and movement can be in the + or - direction.

See issue 4677 for a discussion on adding G38 commands to Marlin.
Feature request: add ability to use G38.2 command (CNC)
MarlinFirmware/Marlin#4677
8 years ago
esenapaj 92c03a44a9 Fix the PR #4899 (ABL: Enable by type. Bilinear for all.) etc.
About Configuration.h:
・Fix the PR #4899 (ABL: Enable by type. Bilinear for all.)
Remove Duplicated contents

・Fix the PR #4305 (Custom boot screen feature improvement)
Revert from "during boot" to "during bootup" in all the example
Configuration.h

・Fix the PR #4207 (Clean up, simplify and generalize the Allen-key-probe
code.)
Resolve and relocate the duplicated definitions in Z_PROBE_ALLEN_KEY
section

・Follow-up the PR #4805 (Additional documentation of Configuration.h)
Add forgotten changes to all the example Configuration.h

Adjust spacing

About Configuration_adv.h:
Add missing description of SLOWDOWN for DELTA

Adjust spacing
8 years ago
Scott Lahteine 9b0931ef74 Apply fixed EXTRUDER_RUNOUT_PREVENT 8 years ago