281 Commits (f218405c36d03094f00d867fcebec07072ba7d44)

Author SHA1 Message Date
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
Scott Lahteine 625035a9ce
Fix M301 access to lpq_len (#10714)
Co-Authored-By: Zwaubel
7 years ago
Scott Lahteine 306f0f2135
Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 05fca752d6 Clean up autostart handling 7 years ago
Scott Lahteine 11ab017dd0 Creality3D Power-Loss Recovery 7 years ago
Scott Lahteine 6c7a17dba6
Abort SD printing more safely (#10407)
Allow the current command to complete when aborting an SD print, otherwise some commands (G28, G29, etc.) will cause trouble.
7 years ago
Chris Pepper cc6d41e1d3 Use a macro for HAL header redirection (#10380) 7 years ago
Scott Lahteine 56486c5c0e Apply const to manage_inactivity 7 years ago
Bob-the-Kuhn 902c885782 Switch to TMC2130 compatible hardware SPI & misc (#10299) 7 years ago
Scott Lahteine adcb87f0db Z Endstop Servo => Z Probe Servo 7 years ago
Scott Lahteine 1cb810ff1c
[2.0.x] Automatically reset stepper timeout (#10179)
* Automatically reset stepper timeout in manage_inactivity

Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.

* blocks_queued => has_blocks_queued
7 years ago
Eduardo José Tagle 97e8a6ebd9 Various fixes for DUE... (#10152)
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
7 years ago
Scott Lahteine 9fd1016bb1 Trust the bootloader to clear globals 7 years ago
Scott Lahteine ae39fbd646 Also suppress keepalive with suspend_auto_report 7 years ago
Bob-the-Kuhn 53362b81cc Tone fixes/changes (#10151) 7 years ago
Scott Lahteine 72281c4ff9 Turn power off in `kill` instead of setting PS_ON to input 7 years ago
Scott Lahteine 0543362b34 Don't init the tone timer if no BEEPER_PIN 7 years ago
Scott Lahteine 317673fec3 Init watchdog last in setup() 7 years ago
Scott Lahteine eb212ae073 Add suspend_auto_report flag to suppress auto-report 7 years ago
Scott Lahteine ffbf63e6af Add HAS_TEMP_SENSOR conditional 7 years ago
Scott Lahteine 36262a0479
Use static classes for job timers (#9938) 7 years ago
Bob-the-Kuhn 025118da3e Init print_job_timer in setup() instead of "early" (#9937) 7 years ago
TheSFReader eb079959fb Report sd card progress [FR] #9751 (#9832)
* SD Status auto-report feature
Feature Request #9751
7 years ago
Scott Lahteine cfdcf91df5 Fix compile error with initTone 7 years ago
Scott Lahteine 65519263f4 Fix broken LEVEL_BED_CORNERS
Fix #8805
7 years ago
Scott Lahteine 73cd34b121 Finish AUTO_POWER_CONTROL implementation
Followup to #9503
7 years ago
Studiodyne d3ca82d8c2 Support for multiple filament runout sensors 7 years ago
Scott Lahteine ca55f2927a
Pulldown pin mode support (#9701)
Implemented for LPC1768.
7 years ago
Scott Lahteine 93c0198b2d Init LCD welcome message programmatically 7 years ago