303 Commits (4ca837b6cfed1ab127d588c5e4dddc568073a026)

Author SHA1 Message Date
Scott Lahteine 21ee0612e3 Debug char 8 years ago
Scott Lahteine 05da02f0a2 Implement MIXING_EXTRUDER and SWITCHING_EXTRUDER 8 years ago
João Brázio a8758619ec The safe_delay() is now globaly accessible 8 years ago
AnHardt d2a49c016d DELTA: Move out of the clip-zone after G28
Move down to a safe height after G28 for DELTAs.
8 years ago
Scott Lahteine 4b4a582c4f X_DUAL_STEPPER_DRIVERS implementation 8 years ago
Scott Lahteine 2ee4e4f791 Make wait_for_heatup volatile 8 years ago
Scott Lahteine 834ad14c8d Add quickstop_stepper to update current position with stepper.quick_stop() 8 years ago
AnHardt a129078927 Add an emergency-command parser to MarlinSerial (supporting M108)
Add an emergency-command parser to MarlinSerial's RX interrupt.

The parser tries to find and execute M108,M112,M410 before the commands disappear in the RX-buffer.

To avoid false positives for M117, comments and commands followed by filenames (M23, M28, M30, M32, M33) are filtered.

This enables Marlin to receive and react on the Emergency command at all times - regardless of whether the buffers are full or not. It remains to convince hosts to send the commands. To inform the hosts about the new feature a new entry in the M115-report was made. "`EMERGENCY_CODES:M112,M108,M410;`".

The parser is fast. It only ever needs two switch decisions and one assignment of the new state for every character.

One problem remains. If the host has sent an incomplete line before sending an emergency command the emergency command could be omitted when the parser is in `state_IGNORE`.
In that case the host should send "\ncommand\n"

Also introduces M108 to break the waiting for the heaters in M109, M190 and M303.

Rename `cancel_heatup` to `wait_for_heatup` to better see the purpose.
8 years ago
Petr Zahradnik 43ff0ce35f Rewritten FILAMENT_CHANGE_ENABLE feature 8 years ago
Scott Lahteine bd491818d6 Reduce storage requirements for strings, make some PGM 9 years ago
Scott Lahteine bb9c67b4b5 Tweak some feedrate vars 9 years ago
Scott Lahteine 1000563d80 Make M851 standard with a bed probe 9 years ago
Scott Lahteine b75e648f2c Clarify names of prepare_move functions 9 years ago
João Brázio 5b5aa1572b Non-blocking buzzer 9 years ago
Scott Lahteine 4980ecc1f7 Smaller binary using inline gcode argument getters 9 years ago
Reid Rankin 16212432c9 G20/21 and M149 support, and code_value() refactor
This is an update of MarlinDev PR #196.

G20/21: support for switching input units between millimeters and
inches.
M149: support for changing input temperature units.

In support of these changes, code_value() and code_value_short() are
replaced with an array of functions which handle converting to the
proper types and/or units.
9 years ago
Scott Lahteine a3e25a0fca Instead of trying to move now, set a flag to move asap 9 years ago
Scott Lahteine 664b299a51 This fix is not DELTA compatible 9 years ago
Scott Lahteine 064efb20e0 Also call clear_command_queue for lcd_sdcard_stop 9 years ago
Scott Lahteine 6277395e1e set_current_position_from_planner() after stepper.quick_stop() 9 years ago
Scott Lahteine 138c5c8378 Merge pull request #3788 from thinkyhead/rc_dual_x_compile_fix
DUAL_X_CARRIAGE fixes, improvements, Travis test
9 years ago
Scott Lahteine 516e79bbda Declare extruder_duplication_enabled in Marlin.h 9 years ago
Scott Lahteine 4041508ffb Function decl. in headers don't need "extern" 9 years ago
Scott Lahteine 3016dfe484 Merge pull request #3744 from thinkyhead/rc_bezier_curves
Add BEZIER_CURVE_SUPPORT — G5 command
9 years ago
Scott Lahteine 1b90682617 Merge pull request #3702 from thinkyhead/rc_sensitive_fan_pins
Remove need to define unused pins as -1 in pins files
9 years ago
Scott Lahteine b4c891dfd2 Remove obsolete reference to prepare_arc_move 9 years ago
esenapaj 888443ca1e Enclose all #error strings with apostrophes 9 years ago
Scott Lahteine 5ca6334fd2 Cleanup pins files, fixup analogtodigitalpin, etc. 9 years ago
Scott Lahteine fc5fe2cc22 Merge pull request #3678 from jbrazio/rework/delta-diagonal-rod-timmers
Moved DELTA radius/rod default trimmer values to Conditionals.h
9 years ago
Scott Lahteine 084f6b5b44 Temperature singleton class 9 years ago
João Brázio 23567a1d8b
Moved DELTA radius/rod default trimmer values to Conditionals.h 9 years ago
Scott Lahteine 96f51f400f Planner singleton class 9 years ago
Scott Lahteine 5e4e535ce8 Stepper and Endstops as singleton objects 9 years ago
João Brázio d6cfcc9c8b
Added new G-Code: M78 9 years ago
Scott Lahteine ee9bd66a68 Add comments to debug bit flags 9 years ago
Scott Lahteine ac69fad96d lowercase "stop" function 9 years ago
Scott Lahteine cafa8b8ce3 Rename filament runout items 9 years ago
Scott Lahteine a4062a47ac Rename baricuda variables 9 years ago
Scott Lahteine 78747b1328 min_pos/max_pos => sw_endstop_min/sw_endstop_max 9 years ago
Scott Lahteine 50c3140040 Merge pull request #3414 from thinkyhead/rc_host_timeout_mods
Host Keepalive configurable timeout with 2s default
9 years ago
Scott Lahteine 5e18d650c4 Merge pull request #3427 from thinkyhead/rc_better_SERIAL_ECHOPAIR
No casting needed for SERIAL_ECHOPAIR
9 years ago
Scott Lahteine 85883da90c Implement basic HOST_KEEPALIVE_INTERVAL 9 years ago
Scott Lahteine d7cbb2eec9 Merge pull request #3403 from jbrazio/feature/stopwatch
Print job timer rework
9 years ago
Scott Lahteine dc19b69697 No casting needed for SERIAL_ECHOPAIR 9 years ago
João Brázio 7c7e30f4cc
Adherence to the new OOP coding standards 9 years ago
Scott Lahteine 865dcf3fb4 Fix FILAMENT_WIDTH_SENSOR measurement
Only measure and store filament width when E is going forward.
9 years ago
João Brázio eb61051556 Rework the print job timer to use the stopwatch class 9 years ago
Scott Lahteine d24f14a799 Add HAS_TEMP_HOTEND define 9 years ago
Scott Lahteine de333c4fea Merge pull request #3279 from thinkyhead/rc_filament_width_sensor
FILAMENT_SENSOR -> FILAMENT_WIDTH_SENSOR
9 years ago
Scott Lahteine 1a79b13b7a FILAMENT_SENSOR -> FILAMENT_WIDTH_SENSOR 9 years ago
Scott Lahteine 5f32184254 Merge pull request #3278 from thinkyhead/rc_cleanup_m111_redo
Echo all debug levels in M111, default to DEBUG_NONE
9 years ago
Scott Lahteine 05765fb570 Add DEBUGGING macro 9 years ago
Scott Lahteine 4402760739 Echo all debug levels in M111, default to DEBUG_NONE
Redo of #3268 by @jbrazio
9 years ago
Scott Lahteine 3252df7998 Minor cleanup to filament sensor code 9 years ago
Scott Lahteine 0b8ef5eba6 Split get_command into units, rename to get_available_commands 9 years ago
Scott Lahteine d6f92f9efe Remove Tonokip remnant from recent PR 9 years ago
Scott Lahteine 0da744b7b0 Further cleanup of comments, partial Doxygen-style
Following up on #3231
9 years ago
jbrazio 5e5d250832 Added gplv3 header to all Marlin files 9 years ago
Scott Lahteine 04fa9d4f47 Make Autotune options into Menu Edit Items 9 years ago
Scott Lahteine 06332f20be Merge pull request #3113 from jbrazio/bugfix/3061-stop-print-time-counter
Stop print timer with M105/M109
9 years ago
Scott Lahteine a02ae36ae8 Include M65 "ABC" parameters in EEPROM
Addressing #2773
9 years ago
Scott Lahteine 4bbea5124d Support for multiple PWM fans 9 years ago
Scott Lahteine 4634feaeab Merge pull request #3012 from thinkyhead/fix_command_injection
Use a serial line buffer to prevent queue corruption
9 years ago
Scott Lahteine 963a92ceda Patch idle forevermore 9 years ago
Scott Lahteine 8fe7420310 Use a separate serial line buffer 9 years ago
jbrazio a645860431 All print timer related activity now uses print_job_start(), print_job_timer() or print_job_stop() 9 years ago
Scott Lahteine e4945b30d2 sbi and cbi are deprecated 9 years ago
Scott Lahteine ff13070b59 Use _BV macros, patch up others 9 years ago
Scott Lahteine eb85342fd9 Merge pull request #2989 from AnHardt/fix2661
Pre home display - Stepper release
9 years ago
Scott Lahteine 772460a7b8 Various minor spelling corrections
Redo of #2939 rebased against RCBugFix
9 years ago
AnHardt 051325ccd7 Introduce axis_homed
Introduce additional variable axis_homed to replace axix_known_position
when the coordinate display should indicate the axis is not homed.
This is to distinguish between "not homed" and "inexact position possible
because stepper was disabled".

# Conflicts:
#	Marlin/ultralcd_implementation_hitachi_HD44780.h
solved
9 years ago
AnHardt 57da1b8497 Host parseble output for M109, M190 and M303
Make the output of M105 more similar to Repetier.
Make the text-print pert of M105 an extra function to make it reusable. `print_heaterstates()`
Use `print_heaterstates()` in M019, M190 and M303
9 years ago
Scott Lahteine 0c7f7ebcfb Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 years ago
Scott Lahteine bc50db9cf6 Implement PID_ADD_EXTRUSION_RATE 9 years ago
Shane Francis 4c8330c15c Trim Adjustments for Delta Configurations 9 years ago
Richard Wackerbarth 20b4772155 Create DEBUG_LEVELING_FEATURE 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 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
Richard Wackerbarth 29b456ae07 Suppress some compiler warnings 9 years ago
Richard Wackerbarth 4b9d5cd352 Use lowercase names for serial instances 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 b4abb0ae7f Apply ENABLED / DISABLED to Marlin core files (PR#2558) 9 years ago
Richard Wackerbarth a401d738df There is an echo in here 9 years ago
Scott Lahteine c66955aaf9 Mark unchanging arrays as const (PR#2494)
The compiler may be able to optimize if it knows an array won’t be
changing.
9 years ago
Scott Lahteine d85861d296 Move macros, add ENABLED/DISABLED, add includes 9 years ago
Scott Lahteine c7dd5527b4 Add a C_AXIS and Z_HEAD to support COREXZ 9 years ago
Scott Lahteine baa9199973 Define extern delta only for delta 9 years ago
Scott Lahteine 82a3ed2f9a Cleanup and dev notes in Marlin.h 9 years ago
Richard Wackerbarth e83575537a Compiler defines USBCON for USB devices (PR#2433) 9 years ago
Scott Lahteine bc0fdbe88e Use SERIAL_EOL in SERIAL_PROTOCOLLN macros 9 years ago
Richard Wackerbarth 06ae832276 Deprecate Support for Arduino IDE < 1.0.5
Note that newer versions of the IDE can still
be made to support compilation for the older boards.
10 years ago
wurstnase e7e964432b consistency name for multiplier
replace extruder_multiply with extruder_multiplier
like feedrate_multiplier or volumetric_multiplier
10 years ago
AnHardt 9d2a980bcf Merge pull request #2170 from thinkyhead/beep_M600_elsewise
Slight size reduction by adding idle()
10 years ago
Scott Lahteine 790c697c19 Fix DEGREES macro 10 years ago
Scott Lahteine d76a01194d Slight size reduction by adding idle() 10 years ago
Scott Lahteine 04a1622172 Merge pull request #2127 from Wackerbarth/Kossel_Pro
Kossel Pro
10 years ago
wurstnase ff98b8632b new endstop bits 10 years ago
Richard Wackerbarth 1d8f61ca8a AT90USB is defined in pins.h 10 years ago
AnHardt f4a93ed997 Add a string parameter to kill()
Makes the output on the LCD adjustable.
10 years ago
Scott Lahteine 46d59784ad Rename preocess_command to process_next_command 10 years ago