309 Commits (7360e9343a70e966234dfe69046394a93c2792f7)

Author SHA1 Message Date
Scott Lahteine 4c872a01f2
G-code queue singleton, front injection (#14236) 5 years ago
Scott Lahteine eb1c9113c2 Try to init SD with no detect pin 6 years ago
mb300sd bf8bfb5c66 Add Coolant Control M7/M8/M9 (#10745) 6 years ago
Scott Lahteine 1ef95013f0 Update Marlin.cpp includes, defines 6 years ago
Kaushik Vemparala c88d9ae282 Option to leave heaters set on SD abort (#14251) 6 years ago
Scott Lahteine 80ce0d2bdb Whitespace cleanup 6 years ago
Robby Candra 5ca8d51e12 Ability to insert G-code in front of queue (#14229) 6 years ago
Chris 36a0376c36
fix TMC2208 boot loop with SW UART
Need stepper .begin() before calling susbequent .push()
6 years ago
InsanityAutomation 49e83dd7c8 BLTouch V3.1 changes (#14104) 6 years ago
teemuatlut 1c86fbc60b TMC updates, capture LCD changes (#14074) 6 years ago
Marcio Teixeira 7ccbcf2eaa Fix TMC EEPROM regression (#14008)
Partially undo 15357af to ensure TMC code is initialized in the proper order.
6 years ago
InsanityAutomation 5108e4b6aa Cleaner EEPROM auto init (#13975) 6 years ago
Scott Lahteine ad4ffa1d2f
Use C++ language supported 'nullptr' (#13944) 6 years ago
Scott Lahteine 23ec650410 Consolidate Malyan LCD and ExtUI 6 years ago
InsanityAutomation 5dcb25664f Option to Auto-Initialize EEPROM (#13935) 6 years ago
Marcio Teixeira 15357af67c Backlash cleanup (#13659)
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
6 years ago
Tanguy Pruvot 51d1e0f1dd Auto-mount the SDIO SD card (#13879) 6 years ago
Marcio Teixeira 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.
6 years ago
Scott Lahteine fae2b7edc3 Update MMU2 code style 6 years ago
Scott Lahteine c8a83fb122 SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA 6 years ago
Scott Lahteine cacec5764a Clean up whitespace 6 years ago
Scott Lahteine f1810689ff Fix bootscreen condition 6 years ago
Robby Candra 46445a5a16 Event G-code for Stop SD Print (#13547)
Co-Authored-By: 7eggert <7eggert@gmx.de>
Co-Authored-By: robbycandra <robbycandra.mail@gmail.com>
6 years ago
Marcio Teixeira 5679fae11e UltraLCD enhancements (lower fan resolution, backlash menu) (#13519) 6 years ago
InsanityAutomation 691e5c3bb8 BLTouch V3.0 support (#13406) 6 years ago
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
6 years ago
Scott Lahteine 67bee06e43 No patch needed for non-libmaple analogWrite
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
6 years ago
Scott Lahteine f89b375fb9
Fixes and improvements for PWM pins (#13383) 6 years ago
Michiel Baird b824a517aa Add G38.4 and G38.5 (#13348) 6 years ago
Bruce j Beare e4d080e63c Reset after kill with a button on the KILL_PIN (#13091) 6 years ago
Scott Lahteine 12503fce06 Followup to wait_for_user fix 6 years ago
Tobias Frost 60e82e3929 Send notifications to ExtUI for M0/M1 (#13344)
- Send notifications to ExtUI for M0/M1

- wait_for_user can be non-volatile (not changed by interrupt)
  C / C++ compilers don't optimize away reads of non-volatile variables when a function call is used between accesses, because *any* variable could be changed by the function call. Since `wait_for_user` can't be changed without a function call, it should be non-volatile so the compiler can optimize away cases where it is read more than once without an intervening function call.
6 years ago
Scott Lahteine cfdb38eda4
Allow SERIAL_ECHOPAIR to take up to 12 pairs (#13311) 6 years ago
Scott Lahteine a2e3226597 Init XYZ to configured home position 6 years ago
InsanityAutomation eb4bf93ea4 Add more Babystep options (#13262) 6 years ago
Bob Kuhn ddbe4cfa20 Printrboard G2 support (#13116) 6 years ago
Scott Lahteine 89bbc30a09 Fix init of power supply pin
Fix #13184
6 years ago
Marcio Teixeira 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.
6 years ago
Scott Lahteine d2bdb71c13
Add PHOTO_GCODE option, photo trigger physical move (#13168) 6 years ago
Giuliano Zaro bdc2f10b90 Update Italian language, fix unused var warning (#13164) 6 years ago
Marcio Teixeira 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).
6 years ago
Scott Lahteine 7cf9b93f26 Add HAS_FILAMENT_SENSOR ahead of 12962 6 years ago
InsanityAutomation 7f1b69b0c8 Add HOST_PROMPT_SUPPORT (#13039) 6 years ago
Scott Lahteine 0feeef2604 Update copyright in headers 6 years ago
Rolf Werum 524c6c10bf MAGNETIC_PARKING_EXTRUDER (#12351) 6 years ago
Marcio Teixeira 5cfc1cdacc Support SWITCHING_NOZZLE with 2 servos (#13054) 6 years ago
revilor 6a57d0b381 Prusa MMU2 (#12967) 6 years ago
InsanityAutomation 48a3502656 Remote streamer improvements (#12982) 6 years ago
Bob Kuhn 2f35747f29 L6470 SPI daisy chain support (#12895) 6 years ago
Giuliano Zaro 7bb5d4bfe8 Small LED code reorganization (#12929) 6 years ago
Giuliano Zaro 8f4c6e6d1a Fix case light on boot (#12919) 6 years ago
InsanityAutomation 082f6a27de ADAPTIVE_FAN_SLOWING extension to hotend thermal protection (#12853) 6 years ago
teemuatlut 55144284c2 TMC connection test, spreadCycle parameters, improved debugging (#12616) 6 years ago
Scott Lahteine c986239837
A single SERIAL_ECHO macro type (#12557) 6 years ago
Scott Lahteine 66580f32c2
Make CardReader class static (#12451)
* Make CardReader a static class
* Make CardReader flags into bitfields
6 years ago
Scott Lahteine d97e31db4c
Optimize Power-Loss Recovery (#12440) 6 years ago
Scott Lahteine a0c795b097
Encapsulate common display code in a singleton (#12395)
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
  - Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
6 years ago
Scott Lahteine e574f01568
More advanced pause tweaks (#12356)
* Followup to LCD_TIMEOUT_TO_STATUS=0
* Make continuous purge screen fit 20x4
* Unify purge message modes
* Preserve last-set pause header mode
6 years ago
Scott Lahteine 498dfa291e Update and fix CHDK 6 years ago
Scott Lahteine 44f2a82a56 Move axis_homed, axis_known_position to motion.* 6 years ago
Scott Lahteine 3583e2b449
Followup to Menu Refactor (#12275) 6 years ago
Marcio Teixeira fc31da1114 Implement custom delay/millis for EXTENSIBLE_UI (#12188) 6 years ago
Scott Lahteine e5ae7a07d1 Suppress compiler warning 6 years ago
Scott Lahteine 9969c06cb5 Fix compiler warning 6 years ago
Marcio Teixeira 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
6 years ago
Scott Lahteine b381cad399 Clean up trailing whitespace 6 years ago
TheSFReader 1fb9b299d4 Add M524 to abort SD printing (#12155) 6 years ago
Scott Lahteine c6a5c74208 Add parentheses to SD macros 6 years ago
Scott Lahteine 8c02dd971b Move disable_all_steppers to minkill 6 years ago
Scott Lahteine 3847c08f7e Disable heaters/steppers before message 6 years ago
Marcio Teixeira 71e19baf69 Fix kill => disable_all_heaters => print_job_timer.stop (#12146)
- Remove `print_job_timer.stop()` from `disable_all_heaters`
- Call `print_job_timer.stop()` for relevant `disable_all_heaters()`.
- Split up `kill()` for watchdog interrupt safety
6 years ago
AnHardt f56968ba0b New Continuous Filament Mixer (#12098) 6 years ago
Scott Lahteine 1407afad73 Move SENSITIVE_PINS to its own file 6 years ago
Marcio Teixeira 906a24fa81 Extensible user interface API (#11193) 6 years ago
Scott Lahteine d6b0fbd771
Use uint8_t for all fan speeds (#12032) 6 years ago
teemuatlut c447d75916 Add support for TMC2660 (#11998) 6 years ago
Marcio Teixeira 2067619a26 Add USB_FLASH_DRIVE_SUPPORT 6 years ago
teemuatlut c3229e1b34 Migrate to a new TMC library (#11943) 6 years ago
Scott Lahteine c75f5a376b Tweak some comments 6 years ago
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
Alexander Amelkin 2ecfda80ac Improve support for JTAG/SWD pins reuse (#11963)
STM32 can reuse JTAG and SWD pins separately. Add `DISABLE_DEBUG` option to disable both interfaces and retain `DISABLE_JTAG` to disable JTAG only.
6 years ago
Alexander Amelkin 84926b1d5a HAL general support for DISABLE_JTAG option (#11211)
Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
6 years ago
Scott Lahteine 1718eff54a Code changes supporting up to 6 extruders 6 years ago
Thomas Moore c437bb08f1 Overhaul of the planner (#11578)
- Move FWRETRACT to the planner
- Combine leveling, skew, etc. in a single modifier method
- Have kinematic and non-kinematic moves call one planner method
6 years ago
Scott Lahteine 1933d5d6fb Fix SD autostart with no LCD 6 years ago
Sam Lane 1b6bc19427 Add external closed loop controller support 6 years ago
Scott Lahteine 56f1e17a25
[2.0.x] Max7219 cleanup, simplify, and extend (#11575) 6 years ago
teemuatlut fbcdf5eaeb Simplify stepper driver per-axis selection 6 years ago
Scott Lahteine 566d05006d report_state > event_handler
Make the endstop report method track endstop changes on its own.
6 years ago
Scott Lahteine 1a0f4dedad
Fix and improve POWER_LOSS_RECOVERY (#11187) 6 years ago
TheLongAndOnly cedc158106 [2.0.x] Board specific init macro (#11170) 6 years ago
Scott Lahteine d4795e5b8e
[2.0.x] Tweaks and additions for MAX7219 (#11034) 7 years ago
Simon Jouet e2aeda61ed HAL for Espressif ESP32 Wifi 7 years ago
Scott Lahteine f2c3b0d476 Use bit flags for homed/known 7 years ago
Scott Lahteine 968a5d2e63 Protected pin err for M226 7 years ago
Scott Lahteine 0ca9db7051 Correct HOTENDS for SWITCHING_EXTRUDER 7 years ago
etagle 569df3fc0c Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
GMagician 3c76bda2d8 Fix switching extruder
`DONT_SWITCH` got lost along the way. Replace it with `DO_SWITCH_EXTRUDER` and adjust the code.
7 years ago
Scott Lahteine 35258dd50b Consistent heating status and status reset
Fix #10699
7 years ago