100 Commits
Author SHA1 Message Date
Marcio TeixeiraandScott Lahteine 6a865a6146 Multi-language support (#15453) 2019-10-09 19:46:10 -05:00
Marcio TeixeiraandScott Lahteine dc14d4a13c Improvements and fixes to Lulzbot UI (#15490) 2019-10-09 19:44:49 -05:00
Marcio TeixeiraandScott Lahteine e3ff27c95a Prevent duplication of PSTRs to save memory (#15435) 2019-09-30 22:53:34 -05:00
Marcio TeixeiraandScott Lahteine 087fe0e9d6 Improve and fix LULZBOT_TOUCH_UI (#15434)
- Add start print confirmation dialog box
- Fix incorrect text colors in UI
- Adjust bio printer UI
2019-09-30 22:15:48 -05:00
Marcio TeixeiraandScott Lahteine 02bbc51195 Keep C extension for now, restore (void) arg (#15380) 2019-09-27 14:02:35 -05:00
Marcio TeixeiraandScott Lahteine a18d16fb8b Do not implicitly concatenate localized strings (#15383) 2019-09-27 04:38:43 -05:00
Marcio TeixeiraandScott Lahteine 8cbb5350ad Refactor joystick support in ExtUI (#15318) 2019-09-25 18:46:36 -05:00
Marcio TeixeiraandScott Lahteine 149e9b733e Simplified ExtUI language selection (#15359) 2019-09-25 01:25:21 -05:00
Marcio TeixeiraandScott Lahteine 4ff59d178d LULZBOT_TOUCH_UI extended character set (#15301) 2019-09-24 18:49:40 -05:00
Marcio TeixeiraandScott Lahteine bafcd084cc LULZBOT_TOUCH_UI performance/cosmetic fixes (#15319) 2019-09-24 17:46:00 -05:00
Marcio TeixeiraandScott Lahteine 7f117bfc60 EXTENSIBLE_UI Joystick support (#15303) 2019-09-18 19:35:03 -05:00
Marcio TeixeiraandScott Lahteine b590ae4875 LULZBOT_TOUCH_UI: Only use %S on AVR (#15292) 2019-09-18 02:33:26 -05:00
Marcio TeixeiraandScott Lahteine 4c00ddae56 Remove obsolete LULZBOT_TOUCH_UI code (#15284) 2019-09-16 19:45:05 -05:00
Marcio TeixeiraandScott Lahteine 7a569ad4d0 LULZBOT_TOUCH_UI fixes. Fix some warnings. (#15276) 2019-09-16 16:49:46 -05:00
Marcio TeixeiraandScott Lahteine 18821f29d5 LULZBOT_TOUCH_UI: Localization, runtime language selection (#15249) 2019-09-14 06:51:49 -05:00
Marcio TeixeiraandScott Lahteine 47d19bab40 Lulzbot ExtUI Western language support (#15208)
Fix #15134
2019-09-10 20:07:03 -05:00
Marcio TeixeiraandScott Lahteine 0f386d06a1 Followup fixes to ExtUI (#15068) 2019-08-28 04:23:13 -05:00
Marcio TeixeiraandScott Lahteine da601d5114 Update USB_FLASH_DRIVE_SUPPORT (#15021) 2019-08-24 01:47:19 -05:00
Marcio TeixeiraandScott Lahteine e61e54acfd Fix TURBO_BACK_MENU_ITEM compile error (#15019) 2019-08-23 22:29:00 -05:00
Marcio TeixeiraandScott Lahteine bd1ced14e7 LulzBot Touch UI Followup (#15007) 2019-08-21 04:48:05 -05:00
Marcio TeixeiraandScott Lahteine 69641f1420 Fix incompatible types error (#15009) 2019-08-21 04:15:37 -05:00
Marcio TeixeiraandScott Lahteine 825c2c3dc4 Fix fan speed encoder scaling (#15010) 2019-08-21 03:49:43 -05:00
Marcio TeixeiraandScott Lahteine 8bdb3d9970 Add CONTROLLERFAN_SPEED_Z_ONLY (#14956) 2019-08-16 21:57:19 -05:00
Marcio TeixeiraandScott Lahteine 274934ad81 Add LULZBOT_TOUCH_UI (#14967) 2019-08-16 18:34:13 -05:00
Marcio TeixeiraandScott Lahteine 179d6c4ed1 Add STARTUP_SCRIPT option. M17 parity with M18. (#14953) 2019-08-14 21:05:15 -05:00
Marcio TeixeiraandScott Lahteine 36dfbaea8c Add missing function declaration (#14955) 2019-08-14 17:52:57 -05:00
Marcio TeixeiraandScott Lahteine 263d7d37af "SD card" => "Media" (#14951) 2019-08-14 17:52:14 -05:00
Marcio TeixeiraandScott Lahteine 13d8dc0b79 Fix incorrect print stat in ExtUI (#14881) 2019-08-10 19:25:30 -05:00
Marcio TeixeiraandScott Lahteine dc21e2e691 Increase XY nozzle offset range (#14882) 2019-08-10 19:24:41 -05:00
Marcio TeixeiraandScott Lahteine fa533846a7 Bury easter egg deeper (#14883) 2019-08-10 19:23:37 -05:00
Marcio TeixeiraandScott Lahteine eb7840dabb Match select item to encoder direction (#14673) 2019-07-29 00:02:42 -05:00
Marcio TeixeiraandScott Lahteine eefe3f595a New options: Bootscreen as Info, game Easter-egg (#13829) 2019-07-28 22:47:20 -05:00
Marcio TeixeiraandScott Lahteine fec52e61ea Use shared memory space for game data (#14727) 2019-07-28 01:44:16 -05:00
Marcio TeixeiraandScott Lahteine 1c3df51f87 vsnprintf patch redux (#14725) 2019-07-27 04:34:49 -05:00
Marcio TeixeiraandScott Lahteine 585a8a96b4 Fix extraneous redefine of vsnprintf_P in Marduino.h (#14712) 2019-07-23 17:18:53 -05:00
Marcio TeixeiraandScott Lahteine 369fb2806d Fix compilation warnings, errors (#14704) 2019-07-22 20:08:54 -05:00
Marcio TeixeiraandScott Lahteine ca4d6f4470 Fix compile error (bad return type) (#14660) 2019-07-17 19:49:26 -05:00
Marcio TeixeiraandScott Lahteine 839255eed4 Fix for M504 changing filament runout value (#14661)
Fixes #14476
2019-07-17 19:11:45 -05:00
Marcio TeixeiraandScott Lahteine 57ed063ba1 Fix unused variable warnings (#14643) 2019-07-17 03:16:10 -05:00
Marcio TeixeiraandScott Lahteine 27c487bab7 Print progress enhancements (#14647) 2019-07-17 03:14:44 -05:00
Marcio TeixeiraandScott Lahteine cbe4bf2ba8 Fix process_injected_command undefined behavior (#14602) 2019-07-14 10:12:48 -05:00
Marcio TeixeiraandScott Lahteine a49478cefa Fix STATUS_MESSAGE_SCROLLING in LIGHTWEIGHT_UI (#14603) 2019-07-14 09:39:03 -05:00
Marcio TeixeiraandScott Lahteine 16409eb233 Suppress more UNUSED warnings (#14466) 2019-07-01 20:42:38 -05:00
Marcio TeixeiraandScott Lahteine e6cf7860e8 Improve ExtUI, fix compiler errors, warnings (#14441) 2019-06-29 00:23:57 -05:00
Marcio TeixeiraandScott Lahteine 8e23e9b16c Fix FIX_MOUNTED_PROBE compile error (#14393) 2019-06-25 04:55:29 -05:00
Marcio TeixeiraandScott Lahteine 49ea1c635a Fix missing dependencies (#14339) 2019-06-20 16:37:20 -05:00
Marcio TeixeiraandScott Lahteine 7ccbcf2eaa Fix TMC EEPROM regression (#14008)
Partially undo 15357af to ensure TMC code is initialized in the proper order.
2019-05-16 20:38:03 -05:00
Marcio TeixeiraandScott Lahteine 9558962d59 Fix DUE HAL SW SPI compile error (#14005) 2019-05-16 20:36:19 -05:00
Marcio TeixeiraandScott Lahteine 746c38f4be Fix HAL_DUE multiple define error with graphical LCD (#13971) 2019-05-10 19:52:43 -05:00
Marcio TeixeiraandScott Lahteine 227f29090d Add heater timeouts to ExtUI (#13970)
- Add local UI methods to get heater timeout state.
- Add methods to resume timed-out heaters.
- Re-enable heaters on UI temperature request.
- Make `ExtUI` show a dialog box if pause needs a button press after reheat.
2019-05-10 15:56:13 -05:00
Marcio TeixeiraandScott Lahteine 15357af67c Backlash cleanup (#13659)
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
2019-05-03 23:53:15 -05:00
Marcio TeixeiraandScott Lahteine ca7f6ff287 Fix MSG_En messages for consistency (#13788) 2019-04-23 13:31:51 -05:00
Marcio TeixeiraandScott Lahteine d0c1eee53b Add extra max-temp safety checks (#13756) 2019-04-19 21:37:12 -05:00
Marcio TeixeiraandScott Lahteine 4ac28ba6b3 Add missing file (#13754) 2019-04-19 20:20:45 -05:00
Marcio TeixeiraandScott Lahteine 2e3d121ac4 Squelch compiler warning (#13739) 2019-04-18 13:18:49 -05:00
Marcio TeixeiraandScott Lahteine 08f21335a6 Fix bad opcode in LIGHTWEIGHT_UI; add 32-bit HAL and Due compatibility (#13751) 2019-04-18 13:10:58 -05:00
Marcio TeixeiraandScott Lahteine 836435c5ef Fix action_edit int range bug (#13737) 2019-04-17 14:55:31 -05:00
Marcio TeixeiraandScott Lahteine 866e2d41dc Correct range of LCD axis step editing (#13727) 2019-04-16 15:45:31 -05:00
Marcio TeixeiraandScott Lahteine bdfffee037 Modify Z-offset overlay for clarity (#13660) 2019-04-12 15:43:29 -05:00
Marcio TeixeiraandScott Lahteine e6ebd30f60 Fix LCD issue on stepper timeout (#13630)
- Remove a re-paint of the status screen on stepper timeout, which would cause a garbled LCD with `LIGHTWEIGHT_UI` and could interrupt whatever else the user might be doing in a submenu (such as playing games!)
- Use the helper function to reset stepper timeout.
2019-04-10 15:51:48 -05:00
Marcio TeixeiraandScott Lahteine 610e9cf76a Fix SWITCHING_NOZZLE error (#13633) 2019-04-10 15:22:29 -05:00
Marcio TeixeiraandScott Lahteine bf7b28b456 Fix incorrect variable name (#13585) 2019-04-05 19:04:46 -05:00
Marcio TeixeiraandScott Lahteine 27a4927ed1 Add option to move away from endstop after homing. (#13557)
Add option to move away from endstop after homing.
- Add `ENDSTOP_BACKOFF` for printers with a recessed Z home button (Lulzbot TAZ 6).
- Also prevents chattering when sensorless homing with axes against bumpers.
2019-04-04 02:47:19 -05:00
Marcio TeixeiraandScott Lahteine d992dfe7d5 Use the percent util func in the string func. (#13523) 2019-03-30 13:00:31 -05:00
Marcio TeixeiraandScott Lahteine 5679fae11e UltraLCD enhancements (lower fan resolution, backlash menu) (#13519) 2019-03-29 14:07:43 -05:00
Marcio TeixeiraandScott Lahteine c6466c23fe Silence signed/unsigned comparison warning. (#13508) 2019-03-29 13:33:45 -05:00
Marcio TeixeiraandScott Lahteine 7462fe3068 Fix compile error, squelch warnings (#13487)
- Fix path to `bedlevel.h` include file
- Add default to `case` statements to suppress warnings
2019-03-25 20:41:38 -05:00
Marcio TeixeiraandScott Lahteine a0ca98f699 Additional ExtUI features (#13449) 2019-03-23 23:09:18 -05:00
Marcio TeixeiraandScott Lahteine 00fc43144a Follow up fixes to various PRs. (#13334)
- Ensure `MarlinUI:get_progress` is defined for `ExtUI`.
- Fix for `BACKLASH_SMOOTHING` with small segments.
  `BACKLASH_SMOOTHING` with extremely small segments failed to fully correct due to the correction factor being rounded down. Rounding up ensures the entire backlash will converge to zero even for small segments.
- Add pinout for the beta revision `EINSY_RETRO`.
- Update soft endstops with tool offsets (for toolchange et. al. move clamping) (#12568)
2019-03-09 14:20:37 -06:00
Marcio TeixeiraandScott Lahteine 109e67169c Define G21 as NOOP w/o INCH_MODE_SUPPORT (#13229)
Ticket #13228

If `INCH_MODE_SUPPORT` is undefined, G20 is an unknown command as it should be (Marlin is, by default, operating in metric mode). G21, however, is found in many slicers and printer start gcode sections and should be accepted (as a NOOP) to avoid the unknown commands.
2019-02-22 15:35:32 -06:00
Marcio TeixeiraandScott Lahteine 992cdc8d14 Fix host action / G-code ordering in event_probe_failure (#13207)
Observing from the console, it makes the most sense to do `//action:probe_retry` before executing commands.
2019-02-19 14:45:03 -06:00
Marcio TeixeiraandScott Lahteine 31c240a8db Enhancements to G425 (#13159)
- Turn off bed leveling prior to calibrating.
    - This prevents lateral probes from having a Z component that
      triggers the Z endstop and causes the motion to be aborted.
- Got rid of static const float arrays "dimension" and "true_center"
    - Frees up 24 bytes of SRAM
- Changed incorrect use of "bool" for float in backlash macros.
    - Replaced arguments with 0.0f and 1.0f for clarity.
- Now only disables soft endstops (since calibration cube is outside of bed)
    - Not necessary to disable global endstops
2019-02-14 16:45:31 -06:00
Marcio TeixeiraandScott Lahteine 9f0e1834ec Followup to #13039 (#13163)
- Fix compile error when accessing `process_subcommands_now_P`.
- Use `const` var eliminating double-negative (to make code more understandable).
2019-02-13 20:39:38 -06:00
Marcio TeixeiraandScott Lahteine e1604198ff G425 — Auto-calibrate Backlash and Nozzle Offsets (#13050) 2019-02-06 17:20:17 -06:00
Marcio TeixeiraandScott Lahteine 113af46a1b Add ExtUI methods to babystep probe/nozzle offsets (#12590) 2019-02-06 07:16:54 -06:00
Marcio TeixeiraandScott Lahteine 5cfc1cdacc Support SWITCHING_NOZZLE with 2 servos (#13054) 2019-02-04 00:19:56 -06:00
Marcio TeixeiraandScott Lahteine f6edd2c472 Move stepper settings to "Advanced Settings" menu (#13063) 2019-02-01 18:07:04 -06:00
Marcio TeixeiraandScott Lahteine f214118e45 Action to notify host of filament runout. (#12817) 2019-01-27 20:18:05 -06:00
Marcio TeixeiraandScott Lahteine 54fdf57b8c ExtUI: Fix fan wrapping around from 0 to 100 (#12987) 2019-01-22 23:33:10 -06:00
Marcio TeixeiraandScott Lahteine f4c16e683b Follow up fixes to #12884 (#12940) 2019-01-17 18:48:29 -06:00
Marcio TeixeiraandScott Lahteine f11c6d5d02 Fix M107 when dual-nozzles share fan (#12819) (#12909) 2019-01-15 18:45:18 -06:00
Marcio TeixeiraandScott Lahteine 6a8fb0f25f Simplify backlash compensation code. (#12813)
- Use `TEST(dm,axis)` to determine directions instead of doing comparisons.
- Remove recomputation of `millimeters` and `delta_mm` since backlash compensation should not affect the distance over which material is extruded.
2019-01-04 13:30:56 -06:00
Marcio TeixeiraandScott Lahteine 81e753064a Fix ExtUI compile warnings and error (#12799) 2019-01-03 08:36:43 -06:00
Marcio TeixeiraandScott Lahteine 60cb36bef3 Misc. improvements (#12747)
* Make ExtUI respect MAXTEMP limits
  - Temperatures are now clamped by MAXTEMP limits rather than arbitrary values.
* Speed up USB init, add status
  - Speed up USB initialization
  - Show status message if init failed
* Enable status messages for EXTENSIBLE_UI
* Adjust max limit to MAX_TEMP - 15
* Misc. tweaks to formatting, const, etc.
2019-01-01 15:17:48 -06:00
Marcio TeixeiraandScott Lahteine 8dcc28c9ae Squelch warning mentioned in #11061 (#12676) 2018-12-20 15:34:24 -06:00
Marcio TeixeiraandScott Lahteine 902d5b0f8b Allow ExtUI to use LCD_SET_PROGRESS_MANUALLY (#12628) 2018-12-12 17:21:37 -06:00
Marcio TeixeiraandScott Lahteine b22716e938 M425 Backlash Correction (#11061) 2018-12-08 14:36:46 -06:00
Marcio TeixeiraandScott Lahteine 439a3e8463 Improve runout sensor, fix LIGHTWEIGHT_UI screen size (#12544) 2018-11-27 13:45:25 -06:00
Marcio TeixeiraandScott Lahteine 7109dadd21 Additional pin definitions for Archim 2 (#12500)
- Added GPIO pins to Archim 2
- Added new 108 pin to `fastio_Due.h`
2018-11-22 01:07:02 -06:00
Marcio TeixeiraandScott Lahteine 4bcb63b705 Fix for #12482 (#12483)
Fix Z-move to uninitialized position in SWITCHING_EXTRUDERS tool_change (no_move=true)
2018-11-20 00:04:11 -06:00
Marcio TeixeiraandScott Lahteine 50ee747787 Fix compilation errors. Followup to #12439 (#12481) 2018-11-20 00:02:13 -06:00
Marcio TeixeiraandScott Lahteine c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 2018-11-17 22:21:44 -06:00
Marcio TeixeiraandScott Lahteine 5e586a6b39 Fix to runout sensor code. (#12431)
- "old_state" is no longer a class static variable.
2018-11-14 16:54:05 -06:00
Marcio TeixeiraandScott Lahteine 3ceab8474c Add required "cardreader.h" include (#12419) 2018-11-13 17:12:44 -06:00
Marcio TeixeiraandScott Lahteine 4dbaa6369f Fix const pointer assignment compile error (#12350) 2018-11-06 19:49:39 -06:00
Marcio TeixeiraandScott Lahteine 8517d5f915 LCD menu code refactoring and cleanup (#12308) 2018-11-05 22:51:10 -06:00
Marcio TeixeiraandScott Lahteine 72d8adfd1e Cleanup and refactor EXTENSIBLE_UI (#12227)
- Add `axis_t`, `extruder_t`, `heater_t`, and `fan_t` to eliminate ambiguity, improve type safety.
- Regularized getter/setter argument order and naming.
- `setAxisPosition` no longer stacks moves in the buffer, allowing it to be called repeatedly on each touch ui tap.
- Implement better manual moves for `EXTENSIBLE_UI` (#12205)
- Calling `setAxisPosition_mm` no longer buffers the entire move to the new position, but instead causes small moves towards it to be made during the idle loop. This allows the user to adjust the destination even after the move has started and makes the UI feel much more responsive.
- As suggested by @ejtagle, the new code keeps the planner buffer full to ensure smooth motion without stops and starts.
- Change `En`, `Hn` and `FANn` to zero-based indices.
- Labels consistent with the rest of Marlin code.
2018-10-30 19:42:26 -05:00
Marcio TeixeiraandScott Lahteine 1a00d1bdaf Add pullup to USB interrupt line
- A pullup on the INT pin is required when the pin is level-active
2018-10-25 10:42:08 -05:00
Marcio TeixeiraandScott Lahteine fc31da1114 Implement custom delay/millis for EXTENSIBLE_UI (#12188) 2018-10-22 19:37:48 -05:00
Marcio TeixeiraandScott Lahteine 2e5e689a7f Fix kill() and ExtensibleUI (#12160)
* Fix to isPrintingFromMedia()

  - isPrintingFromMedia() will now return true even if SD print is paused.
  - isPrintingFromMediaPaused() allows UI to determine if the print is paused.

* Don't use _delay_us in minkill (#12145)

  - In HAL_DUE, _delay_us is simply an alias for delay, which causes the board to hang and subsequently reboot due to the watchdog timer.

* Shorten code with IFSD macro
2018-10-20 01:44:46 -05:00