Scott Lahteine and Richard Wackerbarth
b116c096bd
Reduce set_homing_bump_feedrate, save 42 bytes (PR#2512)
...
Updates to `set_homing_bump_feedrate`:
- Move the string into Program Memory, reduce length by 31 bytes
- Use an auto to get the divisor, adjust it on error
- Set feedrate once, at the end
2015-07-24 22:00:25 -05:00
Scott Lahteine and Richard Wackerbarth
f7e7862588
Better Sanguinololu & Graphical Controller (PR#2504)
...
- Change suggested at
https://github.com/MarlinFirmware/Marlin/issues/2482#issuecomment-123553
266
2015-07-23 23:47:07 -05:00
Scott Lahteine and Richard Wackerbarth
a1154d4a20
Enable Y and sanity-check CoreXZ (PR#2509)
2015-07-23 23:46:27 -05:00
Scott Lahteine and Richard Wackerbarth
932f1c109e
Move servos to the top in pins_MEGACONTROLLER.h
2015-07-23 22:51:41 -05:00
Scott Lahteine and Richard Wackerbarth
90f8ddfc1e
Apply MINIPANEL to other configs
2015-07-23 22:51:41 -05:00
Scott Lahteine and Richard Wackerbarth
469843427d
Reduce code in gcode_M81 (PR#2497)
2015-07-23 08:14:00 -05:00
Scott Lahteine and Richard Wackerbarth
c66955aaf9
Mark unchanging arrays as const (PR#2494)
...
The compiler may be able to optimize if it knows an array won’t be
changing.
2015-07-22 21:37:37 -05:00
Scott Lahteine and Richard Wackerbarth
278aa15301
Add COUNT macro and apply
2015-07-22 18:16:05 -05:00
Scott Lahteine and Richard Wackerbarth
d85861d296
Move macros, add ENABLED/DISABLED, add includes
2015-07-22 18:16:05 -05:00
Scott Lahteine and Richard Wackerbarth
17960fd2b0
Neaten up pins_MEGATRONICS.h (PR#2493)
2015-07-22 17:23:22 -05:00
Scott Lahteine and Richard Wackerbarth
aac2b9aa9d
Reduce code in gcode_M84 (PR#2492)
...
`gcode_M84` only needs to call `finishAndDisableSteppers`, which calls
all the other functions.
2015-07-22 17:22:01 -05:00
Scott Lahteine and Richard Wackerbarth
4971fa73f9
Add a sanitycheck error for old servo settings (PR#2491)
...
- Documentation solution for #2476
2015-07-22 16:35:10 -05:00
Scott Lahteine and Richard Wackerbarth
000a6fce46
Extract update_endstops from stepper ISR (PR#2474)
2015-07-19 18:33:18 -05:00
Scott Lahteine and Richard Wackerbarth
e83eac312e
Move plan_arc next to prepare_move
2015-07-19 16:18:46 -05:00
Scott Lahteine and Richard Wackerbarth
5c5936508d
G2/G3 Arcs for Delta
...
- Update prepare_move_delta to take a target argument
- Add Delta support to plan_arc
2015-07-19 16:18:46 -05:00
Scott Lahteine and Richard Wackerbarth
9f53e2f0c9
Implement COREXZ in stepper.cpp and planner.cpp
2015-07-19 16:17:03 -05:00
Scott Lahteine and Richard Wackerbarth
fa00e1d97f
Explode conditions common to corexy and cartesian
2015-07-19 16:17:03 -05:00
Scott Lahteine and Richard Wackerbarth
c7dd5527b4
Add a C_AXIS and Z_HEAD to support COREXZ
2015-07-19 16:17:03 -05:00
Scott Lahteine and Richard Wackerbarth
129f986ccf
Add COREXZ option to configurations
2015-07-19 16:17:03 -05:00
Scott Lahteine and Richard Wackerbarth
69b0490b77
Show minimal preheat options in menus (PR#2471)
2015-07-19 16:14:59 -05:00
Scott Lahteine
eacfe132aa
Change the name of servos[] and servo_t
2015-07-19 11:35:48 -07:00
Scott Lahteine
3b23ccd366
Patch servos code for move
...
- Have `Servo::attach` explicitly return -1 if it fails
- Check for -1 in `Servo::move` because `servoIndex` might be 0
- Make `attach` / `detach` calls conditional on `SERVO_LEVELING`
- Move `SERVO_LEVELING` define to `Conditionals.h`
2015-07-19 11:24:23 -07:00
Scott Lahteine and Richard Wackerbarth
944090c19c
Optimize lsDive logic
2015-07-19 10:13:40 -05:00
Scott Lahteine and Richard Wackerbarth
417706e578
Include space for the terminating nul in lsDive
2015-07-19 10:13:39 -05:00
Scott Lahteine and Richard Wackerbarth
f3c1a6b19c
Reduce lsDive stack usage to the minimum
2015-07-19 10:13:39 -05:00
Scott Lahteine and Richard Wackerbarth
f209b755a5
Move the Z probe as far as needed to trigger the switch (PR#2461)
2015-07-16 20:02:44 -05:00
Scott Lahteine and Richard Wackerbarth
0f1df62389
Fixup comments in code_seen
2015-07-16 16:40:52 -05:00
Scott Lahteine and Richard Wackerbarth
2945eb6650
Call code_seen only once per parameter
2015-07-16 16:40:52 -05:00
Scott Lahteine and Richard Wackerbarth
b742af2e2a
Move Y_STOP_PIN for Printrboard with SD (PR#2420)
2015-07-16 16:39:55 -05:00
Scott Lahteine and Richard Wackerbarth
baa9199973
Define extern delta only for delta
2015-07-16 16:36:30 -05:00
Scott Lahteine and Richard Wackerbarth
77e80ef367
Require extruders for thermal code
2015-07-16 16:36:30 -05:00
Scott Lahteine and Richard Wackerbarth
3bde4f4855
Require temp sensor for bed thermal protection
2015-07-16 16:36:30 -05:00
Scott Lahteine and Richard Wackerbarth
82a3ed2f9a
Cleanup and dev notes in Marlin.h
2015-07-16 16:36:30 -05:00
Scott Lahteine and Richard Wackerbarth
db23b9b184
Minor tweak to M204 code (PR#2457)
2015-07-16 16:35:13 -05:00
Scott Lahteine and Richard Wackerbarth
81d42406b7
Move braces in homeaxis to prevent a hanging else (PR#2451)
2015-07-16 10:25:54 -05:00
Scott Lahteine and Richard Wackerbarth
552a327df8
Fix lsDive filename stack overrun (PR#2449)
2015-07-16 10:23:56 -05:00
Scott Lahteine and Richard Wackerbarth
de25a48dec
Remove PID examples from preconfigured configs
2015-07-15 19:13:53 -05:00
Scott Lahteine and Richard Wackerbarth
7456710a1f
Update configs formatting
2015-07-15 19:13:47 -05:00
Scott Lahteine and Richard Wackerbarth
391386dd94
Update configs for new servo deactivation
2015-07-15 19:13:40 -05:00
Scott Lahteine and Richard Wackerbarth
87a872e103
Use st_get_position_mm where possible (PR#2411)
2015-07-12 22:15:54 -05:00
Scott Lahteine and Richard Wackerbarth
2e0da8abdc
Allow N to take a negative argument (PR@2402)
2015-07-12 22:14:25 -05:00
Scott Lahteine and Richard Wackerbarth
447dbd6fa5
Add STEPPER_RESET_PIN support
2015-07-11 16:04:11 -05:00
Scott Lahteine and Richard Wackerbarth
a0351bdb73
Remove STEPPER_RESET_FIX option
2015-07-11 16:04:11 -05:00
Scott Lahteine and Richard Wackerbarth
6b1b8cb2b3
Also nullify spaces before the checksum asterisk (PR#2409)
2015-07-10 09:03:07 -05:00
Scott Lahteine and Richard Wackerbarth
8e61314323
Use RIGIDBOT_PANEL for consistency with online docs
2015-07-09 11:36:46 -05:00
Scott Lahteine and Richard Wackerbarth
4b204da3c1
Cleanup of pins_RAMPS_13.h
2015-07-09 11:36:46 -05:00
Scott Lahteine and Richard Wackerbarth
536f86e896
RigidBot CONTROLLERFAN_PIN in Configuration_adv.h
2015-07-09 11:36:46 -05:00
Scott Lahteine and Richard Wackerbarth
f068e46661
RigidBoard include for pins.h
2015-07-09 11:36:46 -05:00
Scott Lahteine and Richard Wackerbarth
9ebcae496d
RIGIDBOARD / RIGIDPANEL
2015-07-09 11:36:46 -05:00
Scott Lahteine and Richard Wackerbarth
c3c605c658
Move note about LiquidTWI2 to Configuration.h (PR#2406)
2015-07-09 05:33:17 -05:00
Scott Lahteine and Richard Wackerbarth
4e9d658141
Prevent a hanging SERIAL_ECHO_START in M111
2015-07-07 06:59:10 -05:00
Scott Lahteine and Richard Wackerbarth
bc0fdbe88e
Use SERIAL_EOL in SERIAL_PROTOCOLLN macros
2015-07-07 06:59:10 -05:00
Scott Lahteine and Richard Wackerbarth
d78ebbc0e9
Remove unused MSG_OK_B and MSG_OK_T
2015-07-07 06:59:10 -05:00
Scott Lahteine and Richard Wackerbarth
6b494c1535
Use disable_all_heaters in M111
2015-07-07 06:59:10 -05:00
Scott Lahteine and Richard Wackerbarth
15190d40df
Add extra EOL after M111
2015-07-07 06:59:10 -05:00
Scott Lahteine and Richard Wackerbarth
52fcc743ab
Replace "target" with "destination" in M600 (PR#2374)
...
- Also fix a bug in `M600` where `Z_MAX_ENDSTOP_INVERTING` is being
used as the index into the `destination[AxisEnum]` array.
2015-07-04 05:55:25 -05:00
Scott Lahteine and Richard Wackerbarth
a5033c3652
Enable LCD_PIN_RESET if it exists (PR#2375)
2015-07-04 05:53:22 -05:00
Scott Lahteine and Richard Wackerbarth
42465ee444
Cleanup of comments & spacing
2015-06-28 08:20:28 -05:00
Scott Lahteine and Richard Wackerbarth
9682ed455e
Fix comment on M83, add comment to prepare_move
2015-06-28 08:20:19 -05:00
Scott Lahteine and Richard Wackerbarth
bb44fe17cf
Fix typo in buzzer.h endif (PR#2337)
2015-06-27 06:10:19 -05:00
Scott Lahteine and Richard Wackerbarth
f6ca5a8da8
Allow "M110 N123" without a checksum
2015-06-26 18:13:54 -05:00
Scott Lahteine and Richard Wackerbarth
aaad65ff5d
Include a comment documenting M110
2015-06-26 18:13:54 -05:00
Scott Lahteine and Richard Wackerbarth
862c72b030
Put the mandatory test of gcode_N first
2015-06-26 18:13:54 -05:00
Scott Lahteine and Richard Wackerbarth
30976f9773
Allow M110 to handle a second N argument
2015-06-26 18:13:53 -05:00
Scott Lahteine and Richard Wackerbarth
d135b15bb8
Init all endstop bits to 0 (PR#2332)
2015-06-26 07:10:22 -05:00
Scott Lahteine and Richard Wackerbarth
5ccb1c9e7d
Use millis for M600 audio feedback interval
2015-06-25 20:45:03 -05:00
Scott Lahteine and Richard Wackerbarth
fb16a83b8a
Cleanup M600 documentation comments
2015-06-25 20:45:03 -05:00
Scott Lahteine and Richard Wackerbarth
97ec224d72
Replace target with destination in M600
2015-06-25 20:45:03 -05:00
Scott Lahteine and Richard Wackerbarth
4ce9ddbb74
Check the temperature before filament change
2015-06-25 20:45:03 -05:00
Scott Lahteine and Richard Wackerbarth
149c474e55
Updated Russian language (PR#2325)
...
Gleaned from
https://github.com/MarlinFirmware/Marlin/commit/4ac14a7e5fa8e6e395436664
8976eafd1ae220ae
2015-06-22 23:07:19 -04:00
Scott Lahteine and Richard Wackerbarth
ec93383ec8
Add SanityCheck for bed probe position settings (PR#2282)
2015-06-15 20:22:44 -05:00
Scott Lahteine and Richard Wackerbarth
dc40a5f6e0
Patch up more outdated config lines
2015-06-15 20:20:32 -05:00
Scott Lahteine and Richard Wackerbarth
98c9111a7d
Update delta configs with latest settings
2015-06-15 20:20:32 -05:00
Scott Lahteine and Richard Wackerbarth
e6baf8afd9
Fix up allen key settings in delta configs
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
3b293fc5d1
Move Delta settings lower in delta files
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
df21857583
Move extruder offset settings next to extruders setting
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
2dd1859247
Cleanup spaces and comments in configs and conditionals
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
a274769f4f
Clean up spacing and comments
...
Also clean up some trailing spaces in a few other sources
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
d3bce05d54
Fix up spacing for filament sensor values
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
b4b10a57fe
Fix configurator section directives and values lists
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
bba14dcbe6
Move Z Safe Homing point to the middle of the movement range
2015-06-15 20:20:31 -05:00
Scott Lahteine and Richard Wackerbarth
318318b02f
Add pins_RAMPS_13_EFB.h to reduce redundancy
2015-06-15 20:17:09 -05:00
Scott Lahteine and Richard Wackerbarth
346c8b339b
Remove a test from pins_RAMPS_13.h
...
- Add 3 new lines to `pins.h` to remove 2 redundant tests in
`pins_RAMPS_13.h`
2015-06-15 20:15:38 -05:00
Scott Lahteine and Richard Wackerbarth
1d94d098bf
Formatting tweaks as part of fixing issue 1497
2015-06-14 19:57:27 -05:00
Scott Lahteine and Richard Wackerbarth
e602c28ad9
Set auto fan pins to OUTPUT during init
...
Fixes the problem of these pins being left in INPUT state, as described
in #1497
2015-06-14 19:57:27 -05:00
Scott Lahteine and Richard Wackerbarth
90f858aa85
Use translated strings for axis movement (PR#2280)
...
Suggest we use the translated strings here. They use (except for
German) the phrasing “Move X” instead of just the axis letter, but they
should fit the available space. The “Extruder” string would be the
same, except it will be translated.
2015-06-14 08:16:00 -05:00
Scott Lahteine and Richard Wackerbarth
e2a4a83586
Don't re-apply Z_RAISE_BETWEEN_PROBINGS in probe_pt (PR #2281 )
2015-06-12 22:39:35 -05:00
Scott Lahteine and Richard Wackerbarth
6b1b3adaf0
Consistent punctuation in SanityCheck errors (PR#2283)
2015-06-12 09:31:02 -05:00
Scott Lahteine and Richard Wackerbarth
962b107341
Prevent current_command_args from bypassing nul (PR#2270)
2015-06-09 16:07:10 -05:00
Scott Lahteine and Richard Wackerbarth
ff6081be3a
Parse N[0-9]+[ ]* differently (PR #2263 )
...
More general solution to skip N[0-9]+[ ]* in the parser as in #2218
2015-06-08 17:06:49 -05:00
Scott Lahteine and Richard Wackerbarth
aad121864e
Include "Z" in M851 report
2015-06-08 05:09:27 -05:00
Scott Lahteine and Richard Wackerbarth
96a3fba8ac
Reverse the sign of zprobe_zoffset
...
- When editing on the LCD, minus now means below the nozzle
- Stores the opposite sign in EEPROM, so bumped to “V20”
2015-06-08 05:09:27 -05:00
Scott Lahteine
be5236e839
Reduce setTargetedHotend by removing the switch
2015-05-29 18:03:58 -07:00
Scott Lahteine
06f401e7e5
Redo "invalid extruder" to save 264 bytes
...
- Use `setTargetedHotend` in `M200`, as with other commands that use
`T` for the extruder
- Synthesize the "invalid extruder" message, obviating several long
strings
2015-05-28 22:25:28 -07:00
Scott Lahteine
9beed830eb
Drop commented code_is_good lines
2015-05-28 17:53:47 -07:00
Scott Lahteine
068d4a1eb2
Ignore unknown commands if they start with G, M, or T
2015-05-28 17:44:09 -07:00
Scott Lahteine
0564625757
Update M33 for new gcode parser
2015-05-28 14:17:39 -07:00
Scott Lahteine
790c697c19
Fix DEGREES macro
2015-05-28 00:19:48 -07:00
Scott Lahteine
03d5709b09
M110 is a known command
...
- The command parser now displays “unknown command” in more cases.
Known commands must be added to the `switch` inside `process_commands`
to suppress the error.
2015-05-26 20:31:18 -07:00
Scott Lahteine
d76a01194d
Slight size reduction by adding idle()
2015-05-26 20:08:21 -07:00