220 Commits (3ed737425d3e38bbbfaca4ac82cc797b77ef1c23)

Author SHA1 Message Date
jbrazio 0880fecbd4 Show a warning message when Arduino IDE is prior to 1.5 9 years ago
Scott Lahteine 5955a3063f Sanity check PIDTEMPBED plus BED_LIMIT_SWITCHING 9 years ago
Scott Lahteine 0da744b7b0 Further cleanup of comments, partial Doxygen-style
Following up on #3231
9 years ago
Scott Lahteine 4823791eb0 Merge pull request #3228 from esenapaj/patch-1
Fix spelling
9 years ago
jbrazio 5e5d250832 Added gplv3 header to all Marlin files 9 years ago
esenapaj 89a845659a Fix spelling
PROBABLE ->PROBEABLE
This is follow-up to #3069?
9 years ago
Scott Lahteine 1cc316f1fd Merge pull request #3082 from thinkyhead/updated_2820
This is quite comprehensive. If probes are disabled in any case when they shouldn't be, I'm sure we will hear about it soon.
9 years ago
Scott Lahteine 68085ca855 Updated M48 friendly for DELTA
Partial implementation with reference to MarlinFirmware/Marlin#3011
9 years ago
Scott Lahteine 4bbea5124d Support for multiple PWM fans 9 years ago
AnHardt 3f45a1acf9 Check probes only when deployed
Aim: Test probes in update_endstops only when activated

Changes:
Configurations
 Add define for FIX_MOUNTED_PROBE to handle the situation where formerly ENDSTOPS_ONLY_FOR_HOMING had to be set, or lowering the nozzle below Z_PROBE_OFFSET_FROM_EXTRUDER could give an "endstop hit" message.
 Add define for Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to indicate a common situation, that we have a probe but it is connected to an endstop pin
 Add some comments
 Shift some entries to have related things together.

Conditionals.h
 We have a probe (HAS_Z_MIN_PROBE) if one of the pins is defined AND one of the probes is defined.

SanityCheck.h
 Add some tests if the probe is connected and if we have defined a probe.

stepper.cpp
 Changes to test the probe only when it is deployed (z_probe_is_active).
 Test update_endstops() when the probe is deployed.

MarlinMain.cpp
 a. set and reset z_probe_is_active in deploy_z_probe(), stow_z_probe() and dock_sled()
 b. set and reset z_probe_is_active in the case a z-servo is moved to a defined position. The only remaining unhandled servo move is in M280 where we do not end in a defined position. If you want to handle a probe use M401/402
 c. skip deploying/stowing when already deployed/stowed in the dedicated deploy/stow functions.
 d. Handle the new FIX_MOUNTED_PROBE in parallel to a servo driven probe/endstop.

 To do: In another PR. handle all probes in deploy/stow_z_probe.
 Sort out SERVO_LEVELING vs. HAS_SERVO_ENDSTOPS.
9 years ago
Scott Lahteine d9e1f22682 BABYSTEPPING requires ULTRA_LCD 9 years ago
Scott Lahteine e5fd43f343 Implement BABYSTEPPING for COREXY and COREXZ 9 years ago
AnHardt fd5414c6ea Z_RAISE_BEFORE_HOMING -> MIN_Z_HEIGHT_FOR_HOMING
rebased
corrected spelling
changed to #elif for error

Still with MIN_Z_HEIGHT_FOR_HOMING but con be done with (folder wide) search-replace when we have a better name.
9 years ago
Scott Lahteine 042a6a0a37 Extend existing MESH_BED_LEVELING test 9 years ago
esenapaj 08b3147791 sanity check for MANUAL_BED_LEVELING 9 years ago
Scott Lahteine 438a87eba8 Sanity check deprecated SDSLOW, SDEXTRASLOW 9 years ago
Scott Lahteine 0c7f7ebcfb Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 years ago
Scott Lahteine 89fb778684 Fix up probe pin define and test 9 years ago
Scott Lahteine 703df2cb6c Fix error message for probe region sanity check 9 years ago
Richard Wackerbarth 6292d9e815 Rename ENABLE_AUTO_BED_LEVELING
With the introduction of the #if ENABLED(…)

reads better than
9 years ago
Christian Lefrançois 9897a9147c Update ABL comments (PR#95)
* Updates the auto bed leveling comments ONLY.
* Renames "Z probe" word usage in //comments and #errors properly.
9 years ago
Christian Lefrançois a7822e3ff7 Some renaming of Z_PROBE to Z_MIN_PROBE (PR#91)
* Fix a couple of renames omission and macro expansion errors.
9 years ago
AnHardt e2d69f66b2 Make Z_PROBE a Z_MIN_PROBE (PR#65)
Currently we use the probe exclusively as a device to find the build platform(bed).
For the currently supported setups this means, we use it as a additional min-endstop.
A triggered when not deployed probe disturbs the homing process for max-endstops.

Rename ENDSTOPPULLUP_ZPROBE to ENDSTOPPULLUP_ZMIN_PROBE
Rename Z_PROBE_ENDSTOP_INVERTING to Z_MIN_PROBE_ENDSTOP_INVERTING
Rename Z_PROBE_ENDSTOP to Z_MIN_PROBE_ENDSTOP
Rename DISABLE_Z_PROBE_ENDSTOP to DISABLE_Z_MIN_PROBE_ENDSTOP
Rename Z_PROBE_REPEATABILITY_TEST to Z_MIN_PROBE_REPEATABILITY_TEST
Rename Z_PROBE_ENDSTOP to Z_MIN_PROBE_ENDSTOP
Adjust comments accordingly
Remove Z_MAX  check for the probe in update_endstops().

Using an delta related idea of @clefranc from #61,
extended to the general change for all setups.

Tested with Prusa i3, max-z-endstop and permanently triggered z-probe.
Worked for @clefranc's delta.
9 years ago
wurstnase f3ab1dba54 Z babystepping for coreXY (PR#47)
only X and Y were not implemented
9 years ago
Scott Lahteine 6af75f4b5d Squish down deprecated tests in sanity check 9 years ago
Scott Lahteine edeb58288e Use PIN_EXISTS in sanity check 9 years ago
Richard Wackerbarth 329acc852e Canonize Option flag USE_AUTOMATIC_VERSION 9 years ago
Richard Wackerbarth 5a11d32a85 Move deprecation test to SanityCheck.h 9 years ago
Scott Lahteine 1e2deff4fd Rename BTENABLED to BLUETOOTH
- For some reason it’s easy to forget what BT stands for, but it
doesn’t need an abbreviation.
9 years ago
Scott Lahteine 5418faa1f9 Add sanity checks for old names 9 years ago
Scott Lahteine e944f960de Add a sanity check for old name "BEEPER" 9 years ago
Scott Lahteine 37d1879386 Apply overridables to Configuration files 9 years ago
Scott Lahteine ed4a6371ad Add HAS_SERVO_ENDSTOPS to simplify conditonals 9 years ago
Scott Lahteine 81bba7ed88 More sanity checking for extruder requirements (PR#2531) 9 years ago
Scott Lahteine bcb7d5a149 Improve sanitycheck for TEMP_SENSOR_1 9 years ago
Scott Lahteine 5b24f59401 Add sanity checks for temp sensors 9 years ago
AnHardt 8b876241bd Some more servo code tweaks
Just set up the pin. Don't move to a random position.

Simplify servo::move()
* servo::move() does not need the pin parameter - The pin is set during servo_init() with attach().
* servo::move() does not need a return value.

SERVO_LEVELING is the wrong condition to deactivate the servos.

Remove some temporary (Servo *) variables.
SanityCheck for the servo indexes.
9 years ago
Scott Lahteine a1154d4a20 Enable Y and sanity-check CoreXZ (PR#2509) 9 years ago
Scott Lahteine 4971fa73f9 Add a sanitycheck error for old servo settings (PR#2491)
- Documentation solution for #2476
9 years ago
Scott Lahteine 391386dd94 Update configs for new servo deactivation 9 years ago
AnHardt 0e1cf78f5c Remove code for testing if probing range is too small (PR#2390)
becaue it is over-restrictive and superseeded by the now working tests
if the probe-recktangle can be reached. See iss#2366
9 years ago
Scott Lahteine ec93383ec8 Add SanityCheck for bed probe position settings (PR#2282) 10 years ago
Scott Lahteine 6b1b3adaf0 Consistent punctuation in SanityCheck errors (PR#2283) 10 years ago
Richard Wackerbarth b878bc5620 Introducing the Kossel Pro Build Configuration 10 years ago
Scott Lahteine 2b92b01afc Fix typo in SanityCheck.h 10 years ago
Scott Lahteine 2445ae3d3a Combine thermal runaway and watch-period
- Make thermal protection for all hotends and/or bed into simple
switches
- Now enable `WATCH_TEMP_PERIOD` when `THERMAL_PROTECTION_HOTENDS` is
enabled
- Move detailed thermal parameters to `Configuration_adv.h`
- Add sanity checks to warn about old configurations
- Change `WATCH_TEMP_PERIOD` to seconds instead of milliseconds
10 years ago
AnHardt c5e0e29d23 Add DISPLAY_CHARSET_HD44780_CYRILLIC as alternative in SanityCheck.h
and add some documentation - how to integrate a new font.
10 years ago
Scott Lahteine a488445cbe Fix spelling of "too" 10 years ago
Edward Patel 7dc64efe67 Added sanity check for MESH_NUM_X_POINTS and MESH_NUM_Y_POINTS 10 years ago
Edward Patel a9ed39b12d Moved checks into SanityCheck.h + removed previous added checks. 10 years ago
Scott Lahteine c065da52ec Spacing and spelling 10 years ago
Scott Lahteine c0ca26cd50 Merge branch 'Development' into fixup_probing
Latest upstream commits
10 years ago
Scott Lahteine 0e8182bbf2 Additional pin tests, cleanup 10 years ago
Chris Roadfeldt 59994bd519 Not doing network admin work, pin not ping... :) 10 years ago
Chris Roadfeldt 916f59e35f Spaces not tabs in language.h.
Catch unlikely but possible error and head crash when using
Z_PROBE_REPEATABILITY_TEST
10 years ago
Chris Roadfeldt bb41edc2ef Fixed extra #endif 10 years ago
Chris Roadfeldt a508d835db Changed Z_PROBE_AND_ENDSTOP to Z_PROBE_ENDSTOP.
Updated documentation in Configuration.h.
Cleaned up and commented some code relating to Z_PROBE_ENDSTOP.
Separated Z_MIN_ENDSTOP and Z_PROBE_ENDSTOP completely.
10 years ago
Chris Roadfeldt 45ece5afb1 Merge remote-tracking branch 'MarlinFirmware/Development' into Development 10 years ago
Chris Roadfeldt 17707e7479 Fixed Z_PROBE_PIN pullup bug.
Documented some additional areas that should be addressed if Z_PROBE is
fully separated from Z_MIN or Z_MAX.
Fixed a documentation error in sanity checks. Servos start at 0 not 1.
10 years ago
Scott Lahteine 5519882eea Fix up LCD_PROGRESS_BAR
- Some messages should not expire with `PROGRESS_MSG_EXPIRE`.
- Simplify conditional for progress bar with sanity checks.
- Rename `messageTick` to `expireStatusMillis` and make it the expire
time.
10 years ago
Chris Roadfeldt a9802c95b3 Ensure Z_PROBE_PIN is defined if Z_PROBE_AND_ENDSTOP is. 10 years ago
Chris Roadfeldt 666fad3494 Typo fixed in sanity check. 10 years ago
Chris Roadfeldt 82d2f11129 More additional sanity checks for Z_PROBE_AND_ENDSTOP 10 years ago
Chris Roadfeldt 05134f0807 Additional Sanity Checks for Z_PROBE_AND_ENDSTOP 10 years ago
Chris Roadfeldt 059052889f Further Sanity Checks for Z_PROBE_AND_ENDSTOP. 10 years ago
Chris Roadfeldt 8b81f20c61 Filling in more places where Z_PROBE_PIN and Z_PROBE_AND_ENDSTOP need to
be.
Added Sanity Check for it.
Added hook so it's enabled.
10 years ago
Scott Lahteine 04328d7537 Add zprobe_zoffset in set_bed_level_equation_*
- Also a small tweak to SanityCheck.h
10 years ago
Scott Lahteine a1c240b0a4 Delta supports some auto bed leveling options 10 years ago
Scott Lahteine 33c7c6e11d Conditionals.h requires Arduino.h 10 years ago
Scott Lahteine 670006b919 Remove invariant code from Configurations
- Add `Conditionals.h` with calculated configuration values
- Add `SanityCheck.h` with checks for configuration errors
- Remove equivalent code from all configurations
- Move error checks from some sources to `SanityCheck.h` also
- Fix initialization of count_direction in stepper.cpp
10 years ago