1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 22:08:02 +00:00
MarlinFirmware/Marlin/example_configurations/Hephestos_2
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.
2016-07-07 16:37:22 -07:00
..
Configuration_adv.h Add an emergency-command parser to MarlinSerial (supporting M108) 2016-07-07 16:37:22 -07:00
Configuration.h
README.md readme.md -> README.md 2016-07-03 22:15:24 +01:00

Example Configuration for BQ Hephestos 2

This configuration file is based on the original configuration file shipped with the heavily modified Marlin fork by BQ. The original firmware and configuration file can be found at BQ Github repository.

NOTE: The look and feel of the Hephestos 2 while navigating the LCD menu will change by using the original Marlin firmware.

Changelog

  • 2016/03/01 - Initial release
  • 2016/03/21 - Activated 4-point auto leveling by default Updated miscellaneous z-probe values
  • 2016/06/21 - Disabled hot bed related options Activated software endstops SD printing now disables the heater when finished