10020 Commits (edc4e037c4d244d9c310a82000151d142db1f302)

Author SHA1 Message Date
Scott Lahteine c6a5c74208 Add parentheses to SD macros 6 years ago
Giuliano Zaro aa9202260d Fix endstop when no interrupt (#12158) 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
Ludy 4cc1c2627e Update German language (#12143) 6 years ago
Ludy 75a0d46edf Fix compile warning re: LCD_INFO_SCREEN_STYLE 6 years ago
Scott Lahteine a81763c237 Pins E sanity check tweak 6 years ago
Giuliano Zaro bc22641002 [2.0.x] Updated Italian Language (#12148) 6 years ago
Michael Triffon eded90bf87 Updated Azteeg X5 Mini Wifi pins for onboard SD (#12133) 6 years ago
nhchiu 27a84fd021 Remove unused option in Anycubic Kossel config (#12138) 6 years ago
Scott Lahteine 67a3c5a16a
Alternative info screen (Prusa-style) (#12132)
* Fix Z value display
* Add HAS_PRINT_PROGRESS
* Alternative Info Screen option
* Add LCD_INFO_SCREEN_STYLE to example configs
6 years ago
Marcio Teixeira 5b7dd553d3 Fix sd_mmc_spi_mem capacity; clean up USB code (#12134)
- Fix an error in the return value of `sd_mmc_spi_read_capacity` which was causing the host OS to read beyond the last sector in the card.
- Clean up the USB flashdrive code and add better debugging.
6 years ago
Scott Lahteine df768e7d8f Followup to #12129 6 years ago
Chris Pepper 3c13c9e3e9 [LPC176x] Fix USEABLE_HARDWARE_PWM macro, cleanup multiple LED support (#12129) 6 years ago
InsanityAutomation a768df83cb Remove stale variable (#12136) 6 years ago
Hannes Brandstätter-Müller c36773bffb Update the Ender-4 example config (#12131)
- Enable filament change menu
- Enable bed-PID
- Enable s-curve acceleration
- Enable some menu items
- Update from Skorpi's new version
- Fix extruder steps, deactivate nozzle clean feature
6 years ago
Ludy 9c71bff5e8 Update German language (#12115) 6 years ago
Nils Hasenbanck 9deb23aa47 Add missing SerialUSB definition for STM32 HAL (#12124) 6 years ago
Nils Hasenbanck 0519ef0802 Update pins for final RemRam v1.3 board (#12125) 6 years ago
InsanityAutomation 3ec3872730 Single Z raise value for all tool-changing / parking (#12090)
* Universal tool-change Z lift
* Add TOOLCHANGE_ZRAISE to example configs
* Park/unpark changes to example configs
* Implement DEBUG_DXC_MODE
6 years ago
Scott Lahteine 6bdbe3299e Fix a comment 6 years ago
Scott Lahteine bc75eb2c64 Cleanup for HAL_spi_Due.cpp 6 years ago
AnHardt d82bcdeea1 Make PULSE_STOP(E) conditional (#12121) 6 years ago
Chris Pepper c90e26dfa6 fix normal extruder stepping (#12118) 6 years ago
Hannes Brandstätter-Müller 96bbda5d48 remove confusing comment (#12120) 6 years ago
Marcio Teixeira f98f4ac7ea Fix and improve EXTENSIBLE_UI (#12117)
- Add methods to access print counter data
- Clean up some inconsistent method names
- Clear lcd status after filament change
- Implement `lcd_reset_status` so it works like UltraLCD
6 years ago
Scott Lahteine 8bf596bd4c RETRACT_ZLIFT => RETRACT_ZRAISE 6 years ago
Marcio Teixeira 056561df93 [2.0.x] Enhancements to FILAMENT_RUNOUT_SENSOR (#12069)
- Added FILAMENT_RUNOUT_DISTANCE_MM option
- Added FILAMENT_MOTION_SENSOR option
6 years ago
Scott Lahteine cce4931342 Clean up recent contribs 6 years ago
Karl Andersson 8b5e51c9aa STM32F4xx modifications for HAL_STM32 (#12080) 6 years ago
Scott Lahteine bf0c809ff2 Update M165 comment 6 years ago
AnHardt 9ac9649183 Mixer - update descriptions (#12108) 6 years ago
Scott Lahteine 9bf5d4331c Clear up some compiler warnings 6 years ago
Scott Lahteine 0139762a96 Fix a sanity check 6 years ago
Scott Lahteine 2ecb124e42 Fix trailing whitespace 6 years ago
AnHardt f56968ba0b New Continuous Filament Mixer (#12098) 6 years ago
Ludy 2d2cd628c6 Update German language (#12094) 6 years ago
Scott Lahteine 84b59d58fb Clean up whitespace 6 years ago
swilkens 06e2afe8e0 [2.0.x] Reduce HOMING_FEEDRATE_XY for Ender 3 (#12105)
Homing on the Ender 3 with HOMING_FEEDRATE_XY set to 50*60 was shown (#12074) to cause the end-stop micro-switches to bottom out, causing the carriage for both X and Y axis to physically crash into the micro switch. Reducing the homing speed prevents the switches from bottoming out.
6 years ago
TheSFReader af939c158a Option for G0 to have a separate feedrate (#12089) 6 years ago
Christopher Pepper e5b4bf22d4 Remove debug output from flash persistent store implementation 6 years ago
Christopher Pepper 42fb7c14b0 Update the sdcard usb sharing config and apply to Re-ARM 6 years ago
Christopher Pepper 254b68fe2c servo update 6 years ago
Andy Shaw 870bfd08f5 usb and sdcard sharing improvements
* Add traceback after watchdog timeout

Add the cpability to perform a traceback following a watchdog timeout.

* Enhanced hardware SPI

Allow use of either SSP0 or SSP1.
Ensure that no data is left in I/O buffers after calls to enable sharing of SSP hardware.

* Make flash emulation of eeprom the default

Make use of flash for eeprom storage the default. This means that usage of eeprom will not cause USB drive mount/unmount operations.

* Allow sharing of SD card

SD card I/O operations from the USB stack take place in idle loop, rather than at interrupt time. Allowing sharing of the SPI bus.

New configuration options to allow usage of the SD card to be specified.

* Fix problem with hardware SPI pins
6 years ago
Christopher Pepper 5ddf52d58e [HAL][LPC176x] Pull out framework into separate repository
Framework and build platform now located at https://github.com/p3p/pio-framework-arduino-lpc176x and https://github.com/p3p/pio-nxplpc-arduino-lpc176x respectively

fix mkssbase leds

move hardware serial

remove hardware/software serial

Hardware Serial extraction

HardwareSerial ISRs

fix disabled serial2 causing Serial object to link

move usb devices out to framework

separate out adc/pwm peripheral function from hal.cpp

fix includes

remove unused pwm init

move adc

HAL header update

templated filtered adc

LPC1769 platform
6 years ago
Roman Moravčík 213e94bce2 [2.0.x] Updated slovak translation (#12059) 6 years ago
Karl Andersson a40458405a Fix datasize error when FWRETRACT is disabled (#12086) 6 years ago
Scott Lahteine 951b25163e
Extend M217 with configurable park/raise (#12076) 6 years ago
Kevin Velickovic ea13a77dcb Fixed Z-Probes NO/NC for Anycubic Kossel (#12083) 6 years ago
N95JPL ab9d5eb38d Add Bootscreen Animation (#12077) 6 years ago
Scott Lahteine 26208a5c2f Clean up some boot screens 6 years ago
Scott Lahteine 9b6be0ae0f Fix lite status screen SD % 6 years ago
Scott Lahteine af3bf6c956 Tweak config spacing 6 years ago
Scott Lahteine a44ef27897 Outdent singlenozzle toolchange code 6 years ago
Scott Lahteine d338e4d875 Fix singlenozzle toolchange cold extrusion test 6 years ago
Roxy-3D 25b980dddb
Remove erroneous Pin 12 definition
There is no switchable Power Supply.   Don't put it on Pin 12.   
(Pin 12 is actually FAN1)
6 years ago
Scott Lahteine ddaef1a60c Clean trailing whitespace 6 years ago
Scott Lahteine 1407afad73 Move SENSITIVE_PINS to its own file 6 years ago
Scott Lahteine 45e738876a Add stepper MS3 support
Co-Authored-By: TheLongAndOnly <thelongandonly@users.noreply.github.com>
6 years ago
Giuliano Zaro d43d4e4219 Refactor PRINTER_EVENT_LEDS, apply to M303 (#12038)
Co-Authored-By: Giuliano Zaro <gmagician@users.noreply.github.com>
6 years ago
Giuliano Zaro d8d76cd2ba [2.0.x] Italian language update (#12060) 6 years ago
Scott Lahteine e8d2cf4fb5 EEPROM followup (tmc_stepper_current_t) 6 years ago
Scott Lahteine 50cbca4c55 Hide some menu items when busy 6 years ago
InsanityAutomation 3cb5517ddb Make singlenozzle tool-change honor no_move (#12056)
...Set no move earlier so it applies
6 years ago
InsanityAutomation d332fcb8fa Fix firmware-retract compile errors (#12061) 6 years ago
Scott Lahteine 43940d59ed Fix trailing spaces 6 years ago
InsanityAutomation b2c1cd7eda Allow cold change of active extruder (#12055)
Followup to #11994
6 years ago
Scott Lahteine d556dc1865
Fix and improve EEPROM storage (#12054)
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
6 years ago
Scott Lahteine 9b5c1a5e77 Fix EEPROM checksum bug
Addressing #12048
6 years ago
Scott Lahteine 272d4a5167 Apply #pragma once 6 years ago
Scott Lahteine 07d33849b0 Fix unused var warning, apply ENABLED 6 years ago
Hannes Brandstätter-Müller a3e8cb1e44 [2.0.x] Ender-4 small improvements in Configuration (#11843) 6 years ago
Scott Lahteine cf5284cdf2
Add SD Firmware Update capability (#12043)
Co-Authored-By: timoxd7 <timoxd7@users.noreply.github.com>
6 years ago
Scott Lahteine 0bd54392b7 Use uint8_t in EEPROM code 6 years ago
Scott Lahteine ce82015d5f Fix include in G80 6 years ago
Marcio Teixeira cef1de89d0 Fixed incorrect axis index. (#12051) 6 years ago
Marcio Teixeira d6d48e63fb Allow #defined TYPE arg to ultralcd menu macros (#12041)
Previously, it was not possible for the TYPE argument to ultralcd menu macros to itself be a #defined value. This made it difficult to create variables to set many related menu items to a common precision that could be easily changed.
6 years ago
Emilio Moretti 2ef7175b42 Update Ender-2 BED_MAXTEMP (#12042)
Also added details to the README to make sure the Ender-2 status is properly documented.
6 years ago
Scott Lahteine 5f6aabccbe Tweak M48 spacing 6 years ago
Marcio Teixeira ec9aa4f468 [2.0.x] Miscellaneous fixes (#12039)
* Allow override of soft SPI pins in `pins_*.h`
* Add default case to avoid compiler warning.
* Additional pin definitions for Archim 2.
* Einsy Retro has same timings as Einsy Rambo.
6 years ago
Marcio Teixeira 906a24fa81 Extensible user interface API (#11193) 6 years ago
InsanityAutomation ee253991d4 Various fixups for single-nozzle filament swap (#12036) 6 years ago
Marcio Teixeira 8dbb305e8e Fix "Missing separator" errors. (#12035)
- Makefiles require tabs (not spaces) before shell commands.
- Other indentation can either be space or tabs.
6 years ago
Scott Lahteine 55e810d512 Fix G80 compilation 6 years ago
Scott Lahteine d5017e2788 Add status screen with 4 nozzles 6 years ago
Scott Lahteine 7db0113b53 Improve E_AXIS_N macro 6 years ago
Nils Hasenbanck 191df5e17d Correct PWM_PIN behavior for STM32 HALs (#12027) 6 years ago
Sam Lane f2ecf8d510 Add option to control Solenoids under PARKING_EXTRUDER (#12028) 6 years ago
InsanityAutomation 74cd6cb4fc Single nozzle filament change (#11994) 6 years ago
Scott Lahteine bfcf570d68 Try ISR_ALIASOF for Endstop Interrupts 6 years ago
Giuliano Zaro c0d9058e25 Shorten an Italian menu title (#12034)
…and change a multi-use "back" menu item.
6 years ago
teemuatlut dffb4c63dc [2.0.x] TMC2660 followup (#12029)
* Don't react to s2g on TMC2660. False positives
* Init with sensorless probing as well
6 years ago
Scott Lahteine d6b0fbd771
Use uint8_t for all fan speeds (#12032) 6 years ago
Scott Lahteine cb7844c8d4
Save PROGMEM on serial prefixes (#12033)
With default config and `EEPROM_SETTINGS`, saves over 200 bytes of PROGMEM.
6 years ago
Scott Lahteine 07db08e39d Fix EXTRUDER_AUTO_FAN_SPEED comment 6 years ago
Scott Lahteine ca0e308105 Fix up some units comments 6 years ago
Scott Lahteine 65b8f3821b Suppress temperature.h compile warning 6 years ago
teemuatlut c447d75916 Add support for TMC2660 (#11998) 6 years ago
Scott Lahteine cf0b9eb37c no need to use destination in do_pause_e_move 6 years ago
Scott Lahteine e8d677620c Use NUM_SERVOS in EEPROM code
Fix #12015
6 years ago
Scott Lahteine 0fcdfdeed6 Followup to #12017 6 years ago
Phr3d13 acac2adfc8 Add support for MeCreator2 (#12017) 6 years ago
Thomas Moore 49823a4939 Fix broken jerk handling (#12019)
Fix #12004
6 years ago
Scott Lahteine 52a37913c1 Extend and apply some corrections 6 years ago
Scott Lahteine 77b9a41f1f Add G-code extensions to example configs 6 years ago
thesfreader e09c144674 Add CNC-like G-code options 6 years ago
Scott Lahteine 33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM (#12016) 6 years ago
Scott Lahteine d5141c4e03 Fix up leading/trailing whitespace 6 years ago
Marcio Teixeira 03fc4d31d0 Makefile support for 32-bit Archim board and new TMC library (#11997)
* Support new TMC library and 32-bit Archim board

- Added IS_MCU flag
  - When IS_MCU flag is 1, AVR compiler will be used
  - When IS_MCU flag is 0, ARM compiler will be used
- Added support for new TMC library
- Added support for a 32-bit Archim board, which could probably be used as a basis for other 32-bit boards.
6 years ago
Scott Lahteine 65b36642f8 Fix Anycubic Kossel config 6 years ago
Scott Lahteine fc326b3dde Add USB_FLASH_DRIVE_SUPPORT to examples
Co-Authored-By: marcio-ao <marcio@alephobjects.com>
6 years ago
Marcio Teixeira 2067619a26 Add USB_FLASH_DRIVE_SUPPORT 6 years ago
Giuliano Zaro 07fe8d28be [2.0.x] Partial Italian revert (#12008)
- Use a comma for decimals just in one message has not been a good idea.
- Full comments translation
6 years ago
Scott Lahteine 517b4f4cd4 Fix lightweight UI hotends display 6 years ago
Giuliano Zaro 72a750e0eb [2.0.x] Update Italian language (#11996) 6 years ago
Scott Lahteine bb561baf9e Tweak some config comments 6 years ago
Nils Hasenbanck fcf6d127fd STM32 timer simplification (#11995)
Prescalers aren't calculated for the given target frequency.
Stepper timer should run at 2 Mhz and temperature timer at 72 Khz.
6 years ago
Scott Lahteine 8daadd2c8c
Fix TMC_DEBUG undefined report_tmc_status (#11993) 6 years ago
Scott Lahteine c40ea1f0fd Update EEPROM_VERSION
And set EEPROM_OFFSET to 0, since the historical 100 skipped bytes are never used.
6 years ago
Scott Lahteine 1358bd9319 Make MAX_EXTRUDERS always 6 6 years ago
AnoNymous 001f26b642 Template struct simplification for serial (#11990) 6 years ago
Scott Lahteine 348004c34f
STM32F7 HAL using the official STM32 Arduino Core (#11750) 6 years ago
Scott Lahteine 3e58b3a5d4 Followup to #11943 6 years ago
teemuatlut c3229e1b34 Migrate to a new TMC library (#11943) 6 years ago
brian park 2abf3d258d Korean language translation support (#11987) 6 years ago
Eduardo José Tagle d6955f25b2 Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988) 6 years ago
Eduardo José Tagle f6f2246f59 Templatized serial classes (#11982) 6 years ago
Scott Lahteine ee53f7d813 Revert header reorg. 6 years ago
Scott Lahteine d619ba2685 Tweak STM32F4 config 6 years ago
LineF d777cef837 fixed minimum macro (#11986) 6 years ago
Scott Lahteine e3f7b69105
Add PROBING_STEPPERS_OFF (#11984)
Co-Authored-By: houseofbugs <houseofbugs@gmail.com>
6 years ago
Scott Lahteine 0e5bcdf695 Make DISABLE_INACTIVE_EXTRUDER a simple switch 6 years ago
Scott Lahteine 0dedb3e139
Reorganize some core headers (#11983) 6 years ago
Thomas Moore ab4549d2bc [2.0.x] Add simultaneous retraction for mixing extruder (#11941) 6 years ago
Scott Lahteine c75f5a376b Tweak some comments 6 years ago
Scott Lahteine f4c625d3a1 Ensure MIN/MAX overrides 6 years ago
Scott Lahteine 3019713402 Reorganize some enums 6 years ago
Scott Lahteine 606a4362b3 Reduce STM32F4 compile warnings 6 years ago
Scott Lahteine b3154b2120 Apply MOVE_Z_WHEN_IDLE to example configurations
Co-Authored-By: dot-bob <gibben@gmail.com>
6 years ago
dot-bob b0fd8f2d74 Add option to move Z on double-click when idle 6 years ago
Scott Lahteine 389376c40e Clean up softspi.h 6 years ago
Scott Lahteine e78bdd654d Clean up BABYSTEP options 6 years ago
InsanityAutomation 8ae113ff36 Show zprobe_zoffset when BABYSTEP_HOTEND_Z_OFFSET is disabled (#11973) 6 years ago
InsanityAutomation 2e98437392 Clean up main menu (#11972) 6 years ago
InsanityAutomation 6d862b2916 Home before level corners, if needed (#11976)
…and add a consistent homing screen for all LCD pre-homing.
6 years ago
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
InsanityAutomation 4d5566a6b7 Add filament runout sensor menu item (#11971) 6 years ago
Scott Lahteine 8489673cea Adjust some HAL formatting 6 years ago
Scott Lahteine fb8a07660a Followup to minmax patch
Co-Authored-By: Palatis <palatis@gmail.com>
6 years ago
Scott Lahteine 3c40933713 Remove trailing spaces, old comment 6 years ago
Hannes Brandstätter-Müller a3ec805c97 Anycubic Kossel Linear+: corrected DELTA_DIAGONAL_ROD (#11964) 6 years ago
AnoNymous b30ca652ae Replace MIN# / MAX# with variadic MIN / MAX (#11960) 6 years ago
Scott Lahteine e10f730478 Tweak vector_3::apply_rotation 6 years ago
Scott Lahteine e2ab78d876 Fix SERIAL_PORT_2 sanity check 6 years ago
AnoNymous a644d8cb93 Avoid copies in vector and matrix (#11959) 6 years ago
Scott Lahteine 693865a649 Fix some whitespace 6 years ago
Scott Lahteine 9903305dda
Merge pull request #9582 from tcm0116/2.0.x-sensorless_probing
[2.0.x] Add TMC2130 sensorless probing
6 years ago
Scott Lahteine 14df753086 Correction for block->mix_steps
Fix #11484
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
Scott Lahteine bb47009656 Apply sensorless changes to example configs 6 years ago
Thomas Moore 3286325044 Add TMC2130 sensorless probing 6 years ago
Scott Lahteine 7d5c336c56 Corrections for dylsexic TMC 6 years ago
Scott Lahteine d89d8fe852 Fix Busy State in temperature.cpp
Fix #11954
6 years ago
Giuliano Zaro 70e7a465d8 [2.0.x] Fix compile error (#11951)
Fix compile error intruduced with M109 modification
6 years ago
Hannes Brandstätter-Müller 935b120949 Anycubic Kossel: probe closer to the edge (#11950) 6 years ago
Scott Lahteine 1410e79e7f Ensure M109 handles autotemp 6 years ago
Scott Lahteine e4389f7d23
Standard methods to wait for heating (#11949) 6 years ago
Scott Lahteine bdc9889d3a Fix a sanity check 6 years ago
Scott Lahteine 321f9140d1 Followup to #11904 6 years ago
InsanityAutomation 23114aeb81 Fix garbled M119 output. Honor NUM_RUNOUT_SENSORS (#11948) 6 years ago
Scott Lahteine 1667ed9d1c Pause should use ECHOLNPGM 6 years ago
Victor Tseng 93839e2f73 Add option to enable/disable autoretract altogether (#11904) 6 years ago
Scott Lahteine ad21a4f07b Tweaks to HAL format and order 6 years ago
Scott Lahteine b682a1961a Tweak STM32F7 TMC2660 class 6 years ago
Scott Lahteine a0a3b23e35 Reduce Raptor bootscreen by 144 bytes 6 years ago
InsanityAutomation 95d793456b Add Formbot Raptor config, fix other Formbot configs (#11926) 6 years ago
Mitch Roote d016b572e3 [2.0.x] Add pin configuration for Fysetc F6 (#11932) 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 c575c5d5f6
Bring example configs up to date (#11939) 6 years ago
Scott Lahteine 6b1a4f30a8 Fix case of T-Rex 3 _Statusscreen.h 6 years ago
Scott Lahteine ab7bfa86e2 Fix case of T-Rex-3 _Statusscreen.h 6 years ago
Scott Lahteine 241168926d Update some configs 6 years ago
Scott Lahteine cb6454118c Workaround for Pronterface M29 6 years ago
Victor Tseng eeab4141db [2.0.x] Anycubic Trigorilla 14 pins tweak (#11869) 6 years ago
InsanityAutomation cb9dc56630 Add GT2560 v3 support (#11914) 6 years ago
InsanityAutomation f2e630a05e Stow probe on probing failed (#11936)
Prevents probe from being left down should probing fail and print job continue
6 years ago
Hannes Brandstätter-Müller 0b602ae101 [2.0.x] Fix Anycubic Kossel with Probe V1, stuck LCD message after stow (#11929) 6 years ago
Giuliano Zaro dc11131656 [2.0.x] fix possible race condition (#11923)
Fix some commits done in #11900
6 years ago
Scott Lahteine d6b9327c11 Followup for Endstop Noise Threshold
Followup to #11912
6 years ago
Scott Lahteine aa6e8e9325 Tweak some config comments 6 years ago
Scott Lahteine 5490a664f5
Expose: Homing Validation and Endstop Noise Threshold (#11912) 6 years ago
Scott Lahteine cee34f7290
Followup for BABYSTEP_HOTEND_Z_OFFSET (#11916) 6 years ago
teemuatlut 884ad75cb8 Update config files 6 years ago
Giuliano Zaro 18e456d38d [2.0.x] fix home endstop bug (DON'T MERGE, needs discussion) (#11900) 6 years ago
Scott Lahteine 6742026568 Followup for 6 extruders 6 years ago
Scott Lahteine 04bdff4115 Add a blank line 6 years ago
Marcio Teixeira ccbd045f02 Fixed warning about comparing signed to unsigned (#11909) 6 years ago
InsanityAutomation 1104054d73 2.0 IDEX Independent z offset and other fixes (#11862)
* Add Formbot Raptor board

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Add a second Z probe Z offset

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Modify method to utilize live adjustment of hotend z offset

Should probably move config option to babystepping and rename as it may now apply to all multiextruder systems

* Move config item and catchup other code to current method
6 years ago
Scott Lahteine 217e0efd20
General option PAUSE_BEFORE_DEPLOY_STOW (#11905) 6 years ago
Scott Lahteine 849dea92a8 Move probe extras below probe types 6 years ago
Scott Lahteine a2b0260f0f Update Sublime files 6 years ago
Hannes Brandstätter-Müller a4cdffdd69 Support for manually deployed fixed probes (#11899) 6 years ago
Scott Lahteine ddcbf80f23 Followup for Z_TRIPLE_ENDSTOPS 6 years ago
Marcio Teixeira c411e7eb0d [2.0.x] Squelch compiler warnings seen with -Wall (#11889) 6 years ago
Roxy-3D 83105590a0 Better default values for Mesh Inset 6 years ago
Roxy-3D 4163c1a514 Fix end stop and Z-probe reporting logic 6 years ago
Scott Lahteine ea9eb2fc8f Fix servo angles in config-store 6 years ago
Roxy-3D d3d6be8210 Add MAX7219 reverse units option (#11860) 6 years ago
Scott Lahteine beab9733f8 Remove extra clauses in config-store 6 years ago
Scott Lahteine 5a74b12b45 Followup to #11769 6 years ago
InsanityAutomation f38570ac55 Add custom user menu title (#11769) 6 years ago
Scott Lahteine 17494099a9 Fix parking_extruder_tool_change
Fix #11872
6 years ago
Scott Alfter 140caf99b8 E0_CS_PIN moved from A13 to A15 on RAMPS-FD v2.2 (#11865) 6 years ago
Scott Lahteine 10590c2f80 Fix some fan conditionals 6 years ago
Scott Lahteine e4ee607fc8 Fix Dual X FRS in M600
Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>
6 years ago
Scott Lahteine bae8f82ba8
[2.0] Fix Mixing Extruder mixing factors (#11861) 6 years ago
Scott Lahteine c5e5cc5e9f Fix some trailing whitespace, macros 6 years ago
AnHardt 54bd124665 2.0.x: Fix normalize_mix() (#11856)
Mix factors needed to be updated consistent with the recent Stepper/Planner code refactor.
6 years ago
Roxy-3D 5fbfbde532
Fix example file to pull in correct pins file 6 years ago
Roxy-3D 378f354939
IDEX Scaled Duplication is still under development
Take it out of the menu until it is tested and working.
6 years ago
Scott Lahteine 65045ba54b tmc_util fix part 2
Followup to 115abf9
6 years ago
Scott Lahteine 09a2bee8aa
Support more filament runout sensors in M119 (#11851) 6 years ago
Scott Lahteine 115abf9c53 Fix syntax error in front of `tmc_axes` 6 years ago
Roxy-3D 0780913848 IDEX Improvements (#11848) 6 years ago
Scott Lahteine 39732838b4 Tweak indent of Chinese languages 6 years ago
Scott Lahteine 53bd0b55cb Followup for 6 extruders 6 years ago
Scott Lahteine 1718eff54a Code changes supporting up to 6 extruders 6 years ago
Scott Lahteine f5c210d33d Config changes supporting up to 6 extruders 6 years ago
Scott Lahteine d948c6e867 RADDS Extension Board V3 support 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 8323a08642 Clean up some whitespace 6 years ago
Scott Lahteine 6286afd456 Add Triple-Z options to example configs 6 years ago
Holger Müller 1a6f2b29b8 Add support for Triple-Z steppers/endstops 6 years ago
Hannes Brandstätter-Müller bc06406d7d Fix Anycubic Kossel config (probe crash) (#11832) 6 years ago
Scott Lahteine 66f83d33e6 Fix some config comments 6 years ago
Hannes Brandstätter-Müller 84ed9b5a63 Send "G33 S P1" for Delta Height Calibration (#11831) 6 years ago
Scott Lahteine 215eee4fe5 Use 'friend' to access set_directions 6 years ago
Cassiano Leal ff51e7322d Fix for Stepper::set_directions() compilation error (#11838) 6 years ago
Scott Lahteine 809b232fa2 Fix stepper directions after M501/M502
See https://github.com/MarlinFirmware/Marlin/issues/11103#issuecomment-421387611

Co-Authored-By: tcm0116 <tcm0116@users.noreply.github.com>
6 years ago
Scott Lahteine f79a5a9dee Tweak spacing of L6470 options 6 years ago
Hannes Brandstätter-Müller c37d3ae97d [2.0.x] Fix NOZZLE_PARK_FEATURE for Anycubic Kossel (#11812) 6 years ago
HenningJW 4fb2134f00 Fix non-sensical values for Zonestar themistor table (#11817)
Values taken from Zonestar firmware for P802QA with a Melzi board. Timestamps from the firmware package are from April 2016.
6 years ago
Scott Lahteine b220a825a7 Fix raw_filwidth_value error 6 years ago
Scott Lahteine 1933d5d6fb Fix SD autostart with no LCD 6 years ago
Roman Moravčík 8bce5370c7 Updated slovak translation (#11807) 6 years ago
Giuliano Zaro 64d629ba2a [2.0.x] Italian language fix (#11796) 6 years ago
Scott Lahteine 8584d3697d Fix servo count define conflict
`MAX_SERVOS` => `NUM_SERVO_PLUGS`
6 years ago
Scott Lahteine 06949ae510 Fix MSG_FILAMENT_CHANGE_HEAT_1 for small LCD 6 years ago
Scott Lahteine d882717d98
Save some PROGMEM with constexpr (#11798)
When possible, make `active_extruder` a `constexpr` to save some PROGMEM.
6 years ago
Sam Lane 4f883d5971 [2.0.x] Extruder-Distinct Linear Advance K Factors (#11789) 6 years ago
Scott Lahteine fe9f088d60
[2.0.x] Anycubic LinearPlus, Trigorilla 1.4 (#11730) 6 years ago
Scott Lahteine b6aae2b322 Tweak RAMPS_FD_V1 pins 6 years ago
Scott Lahteine 7391e23332 Fix RigidBoard FAN_PIN collision 6 years ago
Scott Lahteine 53b8c3bd66 Add EXTERNAL_CLOSED_LOOP_CONTROLLER to examples 6 years ago
Sam Lane 1b6bc19427 Add external closed loop controller support 6 years ago
Marcio Teixeira 2ebfe90be9 Add custom preheat temp to filament change (#11475) 6 years ago
Karl Andersson 69d0ed5791 [2.0.x] Fix ambiguous function call (SERIAL_PROTOCOL_F) when using Arduino_Core_STM32 (#11747) 6 years ago
Scott Lahteine d32c4efc77 Fix some trailing whitespace 6 years ago
Alexander Amelkin bc1ba998b2 [2.0.x] Fix undefined symbol 'g29_in_progress' (#11781) 6 years ago
InsanityAutomation bad225dc04 Fix mesh leveling compile errors (#11768) 6 years ago
Sam Lane d783400330 Updates to STM32F7 HAL, for completeness (#11770) 6 years ago
Scott Lahteine 72af8e0f02 Patch extruder_advance_K edit menu
Fix #11776
6 years ago
Sebastianv650 7e8c073fba Fix extruder stops extruding with LA (#11758) 6 years ago
Scott Lahteine 0c01099f17 hop_amount => current_hop 6 years ago
Scott Lahteine eafd62308e
Use TMC2208Stepper v0.2.5 (#11714) 6 years ago
Kevin e25d2ae4a2 [2.0.x] SWITCHING_TOOLHEAD (#11623) 6 years ago
Alexander Amelkin f417408df1 [STM32F1] Fix HAL for new PlatformIO (#11749) 6 years ago
Roxy-3D 3d7f2c1fde
Fix directory name to be consistent (#11745) 6 years ago
Roxy-3D a9c98a0e47
Create _Bootscreen.h 6 years ago
Roxy-3D 9f85d3a9cb
Create _statusscreen.h 6 years ago
Roxy-3D e2e7b1d705
Break out support of the T-Rex 3 6 years ago
Roxy-3D 67996c2b66
Break out support for the T-Rex 3 6 years ago
Roxy-3D 9c8d9d282f
Break out support for Formbot T-Rex3 from previous versions 6 years ago
Roxy-3D e3aac59637
Create pins_FORMBOT_TREX3.h 6 years ago
Roxy-3D f580247581
Create pins_FORMBOT_TREX2.h 6 years ago
Roxy-3D 073857646b
seperate the T-Rex2 and T-Rex3 support 6 years ago
Roxy-3D fe4fc2883b
Add support for Formbot T-Rex3 6 years ago
Scott Lahteine 2a61c9a939 Various fixups to configs, spacing, etc. 6 years ago
Scott Lahteine b3efbc6e6e Add MANUAL_E_MOVES_RELATIVE to more configs 6 years ago
Scott Lahteine 679e4602fe Add MANUAL_E_MOVES_RELATIVE to examples 6 years ago
Marcio Teixeira beb51c2d58 Show manual extrusion moves as relative in LCD
- Implements FR#11724
- Old behavior can be restored by commenting out MANUAL_E_MOVES_RELATIVE
6 years ago
Scott Lahteine d10f29ae2e Pass segment length in G2-G3 6 years ago
Scott Lahteine dcfde2317f
Pass segment length in prepare_kinematic_move_to (#11737) 6 years ago
Roxy-3D d5379ee9d6
Fix search for white space in enqueued commands 6 years ago
Roxy-3D 8d5bea073b
Assume one Max7219 unit if not specified 6 years ago
Roxy-3D 9651ceb36b
Correct spelling of #endif 6 years ago
Scott Lahteine b213a89ef5 Sanity-check NOZZLE_PARK_POINT 6 years ago
Scott Lahteine 86ee74731e Comment for RADDS + RRDFGSC 6 years ago
Kevin ae1271b2ae RADDS: Update Full Graphic Display Pins (#11731) 6 years ago
Scott Lahteine 650d4313c4 Bring some configs up to date 6 years ago
AnHardt 530a13ab6c [2.0.x] SECURITYFIX missing max temp error when PID is used (#11717) 6 years ago
Scott Lahteine 12fded46c2 Correct some FR strings
Co-Authored-By: pipersw <pipersw@users.noreply.github.com>
6 years ago
Michael Triffon aefc2f7cf9 Add Anet A2 and A2 Plus Configurations (#11677) 6 years ago
scott0122 72fdb6bab3 Fix SWITCHING_NOZZLE zdiff (#11683) 6 years ago
Scott Lahteine 8b837dc3ad No need for last \n in G-code items 6 years ago
Scott Lahteine d1ceaf5550
[2.0.x] Followup to IDEX changes (#11707) 6 years ago
Roxy-3D d62f4df0b7
Disable LCD Pins used by new Max7219 hook up if in that mode 6 years ago
Roxy-3D fa772c31bf
Provide more options for Max7219 connection on Formbot 6 years ago
Scott Lahteine 8e18e48d49
Merge pull request #11610 from Freeviv/bugfix-2.0.x
[2.0.x] Editable servo angles
6 years ago
Giuliano Zaro 59e76e5fdf [2.0.x] Fix planner computation (#11708)
Fix #11697
6 years ago
Roxy-3D 509ee44611
Boot and status file should not have been added to main directory! 6 years ago
Roxy-3D f8abe12a9c
Boot and status file should not have been added to main directory! 6 years ago
Roxy-3D 7680b64aa6
IDEX clean up (#11690) 6 years ago
teemuatlut 49e107cea9 Restrict SW serial to AVR (#11696) 6 years ago
Scott Lahteine 18f1af2dca Fix up Teensy tests, servo sanity 6 years ago
Scott Lahteine 74a04aed55 Fix compile error with NO_LCD_MENUS 6 years ago
Scott Lahteine 509e1cf2bd Add *_DRIVER_TYPE to remaining configs 6 years ago
Scott Lahteine d55f44edba
Printcounter improvements (#11689) 6 years ago
Scott Lahteine 6a3207391f Remove obsolete HAL_timer_restrain 6 years ago
Scott Lahteine e3fc9aa35f Update some config comments 6 years ago
Scott Lahteine 136860e8bb Sanity-check SERVO pin for servo probes 6 years ago
Roman Moravčík 66de50f5f8 Updated slovak translation (#11684) 6 years ago
scott0122 ada85d5585 Improve HOTEND OFFSET Z display precision to 3 (#11686) 6 years ago
scott0122 607c1e58d9 Improve HOTEND OFFSET Z display precision to 3 (#11685) 6 years ago
Scott Lahteine 3e81745e81 Fix issues, make optional 6 years ago
Jan aa80e448e2 Store servo angles in EEPROM 6 years ago
Scott Lahteine 9953213513 Add EDITABLE_SERVO_ANGLES to example configs 6 years ago
Marcio Teixeira 0966bdcbc4 Reorganized ultralcd menu (10317) (#10360)
Replaced "Prepare" and "Control" menus with "Movement", "Temperature", "Configuration" and "Advanced Settings"
6 years ago
Scott Lahteine e40a3eef04 Support for Anet A2 Plus 6 years ago
Scott Lahteine 32e38fee74 Update Controller Fan for Y2,Z2 6 years ago
Jeonghwan Roh 59cf217e77 Fix 5 mixing steppers 6 years ago
Scott Lahteine 2a2e8c314e Suppress emergency parser G-code errors
Co-Authored-By: srieche <srieche@users.noreply.github.com>
6 years ago
Ilya Bukhonin 7ecb8b4af5 [2.0.x] Teensy 3.1 and 3.2 support (#11460) 6 years ago
Pablo Crespo 409a0632af [2.0.x] Add Morpheus Board support (#11651) 6 years ago
Marcio Teixeira 0f14977b5d LIGHTWEIGHT_UI: Allow feedrate % to exceed 255% (#11656)
- Changed type of integer used for feedrate percentage from uint8_t to uint16_t.
6 years ago
scott0122 6dc9553aa5 Fix SWITCHING_NOZZLE compile error (#11657) 6 years ago
Scott Lahteine a15e570d3b Fix SD progress with Lite Status Screen
Co-Authored-By: Lê Hoàng <icy.lord.love.angel@gmail.com>
6 years ago
Scott Lahteine 66966dbd69 Tweak comments for newer multiplexer 6 years ago
Scott Lahteine 933d833ec8 Tweak some Anet A6 comments 6 years ago
Scott Lahteine d1c9517903 Followup to hotend_offset[Z] patch 6 years ago
Scott Lahteine e2b8fc4f17 Reduce some debug strings 6 years ago
Chris Pepper b71c2b8651 [2.0.x] Update LPC176x tests, fix clean script (#11617) 6 years ago
Scott Lahteine a317bb4991 Remove stray tab 6 years ago
Scott Lahteine acf5ae3083 !ENABLED => DISABLED 6 years ago
Scott Lahteine ba1919c1eb HAL tweaks to LPC1768 main 6 years ago
Scott Lahteine 0987ed2a18 Use American English 6 years ago
Kevin 6483285bc5 HOTEND_OFFSET_Z always available (#11603) 6 years ago
Michael Triffon f8c52c9c29 Azteeg X5 Mini WiFi support (#11601) 6 years ago
jneilliii 3671c63cde Einsy Full Graphic LCD Fix (#11604)
Fixed issue with LCD timings for Einsy RAMBo board.
6 years ago
Colin Gilgenbach 593d5375ea Fix G28 resetting DUAL_NOZZLE_DUPLICATION_MODE (#11605)
There's no reason for G28 to reset DUAL_NOZZLE_DUPLICATION_MODE, because it only affects the E stepper, unlike DUAL_X_CARRIAGE which affects the X steppers as well.
6 years ago
Scott Lahteine f0dbe61692 Tweaks to motion.h reachable tests 6 years ago
Scott Lahteine 2d3317a35b Prettify Dual X Carriage description 6 years ago
Roxy-3D cd9868f442
Make position_is_reachable() smarter about IDEX machines`
On many IDEX machines the allowed travel of the X1 carraige and X2 carraige does not perfectly overlap.

This helps the issue.   But more work needs to be done at the higher level.  (For example the X1_MAX_POS should probably be factored into G26's mesh validation pattern.)
6 years ago
Scott Lahteine 97f6396b25 Fix RE_ARM LCD pins to avoid #undef 6 years ago
Scott Lahteine 0e25f66c09 Fix Ultimaker servo pin
As pointed out at https://github.com/MarlinFirmware/Marlin/issues/7981#issuecomment-407116642
6 years ago
Scott Lahteine ad12b9b46b Fix indentation, whitespace, spelling, formbot pins... 6 years ago
Scott Alfter b5537dde7f need to add E2END to pins_RAMPS_FD_V2.h (#11564) 6 years ago
Scott Lahteine 8f0bbdcc9b
Fix up Max7219 orientations (#11596) 6 years ago
jmz52 a77f8c6dd5 Implement servo support for STM32F1 (#11580)
Implement servo support for STM32F1. Original code was incomplete and depended on Servo library from stm32duino which conflicts with `module/servo.h`.
6 years ago
Dave Johnson 0456caf0ad Consolidate shared HALs and isolate HAL compile (#11552) 6 years ago
jmz52 dfe18ac633 Fix compilation error for STM32F1 with U8GLIB_SSD1306 or U8GLIB_SH1106 enabled (#11583)
The `binary.h` file required by `lcd/dogm/dogm_bitmaps.h` is not present in stm32duino environment. Binary macros are defined in `bit_constants.h` in stm32duino framework.
6 years ago
Roxy-3D b0a8ce59bd
Update Boards.h to include Formbot support 6 years ago
Roxy-3D 62ce937540
Update pins.h to include the Formbot board 6 years ago
Roxy-3D a82be36d5d
Create pins_FORMBOT.h 6 years ago
ghent360 00d24a8219 Don't call __delay_4cycles for 0 cycle delay - takes a really long time. (#11586) 6 years ago
Scott Lahteine 56f1e17a25
[2.0.x] Max7219 cleanup, simplify, and extend (#11575) 6 years ago
jmz52 0b2d686160 Fix "SD init fail" problem for STM32F1 (#11579)
Fix "SD init fail" problem for STM32F1 caused by incorrect SS pin state and incorrect SPI mode. Issue #11225
6 years ago
Scott Lahteine a98f21ec5e Marlin assumes signed chars 6 years ago
Kevin db30650731 Fix UBL/Homing (#11566) 6 years ago
Roxy-3D aae4c67e5d
Max7219 Clean Up (#11563)
Some of the Rotations did not do the right thing with setting and clearing pixels.
I think it is correct now.   But if not...  It is much closer to being correct.
6 years ago
InsanityAutomation 9de730b2bf Update tool_change.cpp (#11559) 6 years ago
InsanityAutomation c2553f9888 2.0.x - Idex match119 (#11556)
* Update ubl_G29.cpp

* Update ultralcd.cpp
6 years ago
Roxy-3D e9de321ac0
declare void Max7219_register_setup(); 6 years ago
Scott Lahteine 952a1bc9d5
Merge pull request #11551 from thinkyhead/bf2_trinamic_fixes
[2.0.x] Fix TMC2208 SW serial communication
6 years ago
petrzjunior 67613bf5bd Update Czech translations (#11510) 6 years ago
Scott Lahteine bd6d032628 Update default driver configuration
Co-Authored-By: teemuatlut <teemu.mantykallio@live.fi>
6 years ago
Scott Lahteine 1561e61df7 New TMC2208 constructor
Co-Authored-By: teemuatlut <teemu.mantykallio@live.fi>
6 years ago
Nils Hasenbanck b37bfeffeb [2.0.x] Use the new const functions of the persistentStore api (#11544) 6 years ago
Chris Pepper 5573ef62c6 [2.0.x] PersistentStore update followup (#11549) 6 years ago
Scott Lahteine 846bd24eb9 MALYAN_LCD is ok without SD 6 years ago
Scott Lahteine 834ea7fcea Remove 'const' from PersistentStore::capacity 6 years ago
Dave Johnson c64199941e Compile only selected PIO environment (#11519) 6 years ago
Andy Shaw 5be2559eda Use flash memory to emulate EEPROM (#11500)
Use a sector of the LPC flash memory to emulate EEPROM storage, removing the need to have an SD card to store system parameters.
6 years ago
Scott Lahteine 6964e1a95a Clean up trailing whitespace 6 years ago
Scott Lahteine 865ee5985f Followup persistent store with heading, const 6 years ago
Scott Lahteine a4b0148365 Easier to find 'static inline' 6 years ago
Scott Lahteine cc0a60453f
Merge pull request #11526 from hasenbanck/eeprom-cleanup
[2.0.x] Change direct eeprom access to HAL::PersistentStore
6 years ago
Roxy-3D 65c5227c29
Change M7219 I to setup Max7219 registers, but not do initialization pattern 6 years ago
Nils Hasenbanck 577aeb4aa9 All EEPROM access uses persistentStore 6 years ago
Scott Lahteine 6a8b906318 Followup for persistent_store_api.h 6 years ago
Chris Pepper 66d2b48b59 Update PersistentStore api (#11538)
- Clean up the API to use a `static` class instance to adhere to Marlin convention
- Add `const` position data access for read/write
- Add Storage capacity to the interface
6 years ago
Roxy-3D 60f1376798
Make M7219 I more robust and nice to look at
Make M2719 initialize the Max7219 registers and then run the initialization pattern (if one is specified).
6 years ago
Roxy-3D fd15b1495a add I parameter to M42 to allow access to sensitive pins 6 years ago
Scott Lahteine 11b411a872 Improve AXIS_DRIVER_TYPE macros 6 years ago
Scott Lahteine f1347f783d Optimize thermistor table 71
agData in Table 71 is extremely oversampled (see Issue #11220). I have removed the data points that perform *worse* than linearly interpolating the remaining points, and fixed up two points that were simply rounded incorrectly.

Co-Authored-By: Aaron Griffith <aargri@gmail.com>
6 years ago
Scott Lahteine 0bda22367b Allow Einsy RAMBo FAN1_PIN override 6 years ago
Scott Lahteine 1b921b246b Fix pca9632_set_led_color
…when used with an I2C screen.

Co-Authored-By: soimy <soimy@163.com>
6 years ago
Scott Lahteine aa9d329560 Reduce max accel in Creality configs 6 years ago
Scott Lahteine c93538e9f3 UBL/planner patch tweaks 6 years ago
Scott Lahteine 0af22549a6 Allow G33 to compile with no LCD 6 years ago
Thomas Moore fc55f1da01 Account for UBL correction when setting the planner position (#11486) 6 years ago
Scott Lahteine b328fb4dc9
Treat TMC2660 like non-TMC (#11508) 6 years ago
Scott Lahteine 72b086b90d Add A5984 to example configurations 6 years ago
Greg Nutt a1a5367380 Smoothieboard V1.0/1.1 and A5984 support 6 years ago
Scott Lahteine f891416e70 No raise on G28 after power-loss 6 years ago
Scott Lahteine e4ecade8d4 Fix AUTO_POWER_CONTROL compile error
Counterpart to #11467

Co-Authored-By: lsellens <lsellens@users.noreply.github.com>
6 years ago
Giuliano eee1b7c50c [2.0.x] Fix compile error (#11465)
Address #11463
6 years ago
Giuliano e85feb2545 [2.0.x] Better timing handling (#11461) 6 years ago
Scott Lahteine 79835590e3
Easier to disable homing validation (#11458) 6 years ago
Scott Lahteine 131d216afa
Fix drivers.h dependency, defer macro evaluation (#11450) 6 years ago
Scott Lahteine 9c62c47579
[2.0.x] Fix Dual X Carriage tool change crash (#11447) 6 years ago
Scott Lahteine 9bae413901
Add Bigtreetech/BIQU KFB 2.0 board (#11446) 6 years ago
Marcio Teixeira f2224755ad Fix jumping progress bar. (#11439)
- When LCD_SET_PROGRESS_MANUALLY was disabled and an SD print was not active (i.e. the printer was idle), progress_bar_percent would read uninitialized memory from stack and cause progress bar to jump wildly.
- Also updated conditions in `#ifdef` to match `ultralcd.cpp`
6 years ago
Scott Lahteine aae02827c0 Cosmetic pins changes 6 years ago
Scott Lahteine 64c493ad82 MKS_12864_OLED code cleanup 7 years ago
Scott Lahteine b826bf4194
Fix initial safe_speed in jerk code (#11417) 7 years ago
forkoz 2cc950d67e [2.0.x] MKS SBASE Trinamic examples/support (#11402) 7 years ago
Roxy-3D 16432376ab
Revert "[2.0.x]Idex and bl touch fixes" (#11407)
* Revert "[2.0.x] bltouch home refinements (#11397)"

This reverts commit 74900f7a70.

* Revert "[2.0.x]Idex and bl touch fixes (#11395)"

This reverts commit 6dafb90c01.
7 years ago
Giuliano 74900f7a70 [2.0.x] bltouch home refinements (#11397)
Just create  a better functions call logic flow
7 years ago
silentninja1 6dafb90c01 [2.0.x]Idex and bl touch fixes (#11395)
* Fix BLTouch homing

Deploy at start, dont call generic stow function at finish or raise goes too high before setting 0

* Update tool_change.cpp

* Update motion.cpp

* Update motion.cpp

* Update motion.cpp

* Update motion.cpp

* Change brackets to be more in align of Marlin coding standards
7 years ago
Giuliano 5ce5ff8e9b [2.0.x] fix bltouch homing (#11379)
Partially revert. Seems to solve the issue, but one report says G29 still fails.
7 years ago
Scott Lahteine 15d68cb496 Pre-override of ST7920 delays before HAL.h 7 years ago
Dave Johnson 8a24ff94d1 AT90USB1286 PIO cleanup and optimization (#11230)
-normalize `env` and `board` to lowercase naming convention.
-make board `name` follow descriptive convention.
-implement `-fsingle-precision-constant` compile optimization per https://github.com/MarlinFirmware/Marlin/pull/11178#issuecomment-401673901
-fix typo in 5DPRINT entry.
7 years ago
Lee Olivares 094e6d81a5 Add Einstart-S support (#11219)
Indeed the HAL does not need to be mucked around with to expose ATmega2560 pins not available as numbers on the MEGA board, I'll need to update the wiki with that tidbit and a reference to the pin-mapping comment in `fastio_1280.h`.
7 years ago
Scott Lahteine 244b9a8257 Better fastio 1280/2560 pin list
Co-Authored-By: bleughb <36889022+bleughb@users.noreply.github.com>
7 years ago
Scott Lahteine 955a7f0ae9
Improve driver.h macros (#11371) 7 years ago
MikeLud aadcf08913 [2.0.x] add Calibrate Z (M915) to Prepare Menu (#11331) 7 years ago
Giuliano 4237c3d9f8 [2.0.x] different bltouch init (#11135) 7 years ago
Andy Shaw 624986d423 Ensure ADC conversion is complete before reading (#11336)
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value.

See: https://github.com/MarlinFirmware/Marlin/issues/11323
7 years ago
Scott Lahteine e2aa635e70 Fix Anet A6 thermistors
Co-Authored-By: vitekn <vitekn@users.noreply.github.com>
7 years ago
Bo Herrmannsen 67b205fd45 Add support for board RuRAMPS4D v1.3 (#11363) 7 years ago
forkoz d1c6687ecd Update MKS sBase pins (#11357) 7 years ago
Scott Lahteine 048dbf6eca
Merge pull request #11275 from thinkyhead/bf2_pwm_adjustments
[2.0.x] Tweak some SoftPWM code
7 years ago
Scott Lahteine e05e95cf97 Clean trailing whitespace 7 years ago
Scott Lahteine 22ebbc091f Tweak some SoftPWM code 7 years ago
Scott Lahteine 32de09f5c5 Specify some extra CR-10S pins 7 years ago
J.C. Nelson 9c2bfa2ab3 Remove extra parameter to enqueue. (#11364) 7 years ago
Giuliano bd3ec66a78 [2.0.x] typo fix (#11365)
Typo fix
7 years ago
teemuatlut fbcdf5eaeb Simplify stepper driver per-axis selection 7 years ago
Scott Lahteine e5c0b490c8 Add *_DRIVER_TYPE to example configs
Co-Authored-By: teemuatlut <teemu.mantykallio@live.fi>
7 years ago
Eyal fbdbe53290 Fix get_period_inverse(0) so it doesn't crash (#11334) 7 years ago
Scott Lahteine 14e2b11195 Fix spelling in configs 7 years ago
Scott Lahteine 4685c7d59f Followup to M91x I patch 7 years ago
Roxy-3D 62fa028155
Handle dual gantry machines better 7 years ago
Roxy-3D 09485f63e9
add missing ')' 7 years ago
Roxy-3D a35abce1ac
Fix missing ')' 7 years ago
Scott Lahteine 76d4cfb064 Tweak some Max7219 code 7 years ago
Scott Lahteine 4195757585
Merge pull request #11309 from thinkyhead/bf2_manual_probe_start_z
[2.0.x] Manual Z Start Height
7 years ago
Roxy-3D 03b01e2500
Folger Tech i3-2020 now defaults to 2 Max7219 units 7 years ago
Roxy-3D db85ca93c4
Change Max7219_idle_task() to use a column instead of row if Y-Axis as 16 LED's 7 years ago
Roxy-3D 9660996cc3
Add Multi Unit Support for Max7219 to bugfix_2.0.0 (#11285)
* Add Multi Unit Support for Max7219 to bugfix_2.0.0

* Apply multi-MAX7219 to example configs

* Tweak some spacing, macros
7 years ago
Scott Lahteine 39c8aed8ba Add MANUAL_PROBE_START_Z to example configs 7 years ago
Scott Lahteine 2106fa26b1 Add MANUAL_PROBE_START_Z for manual probing 7 years ago
Scott Lahteine 17ed0f815c Fix tool_change call in UBL G29
Fix #11279, #11252
7 years ago
Scott Lahteine 6d2aff03bd
Merge pull request #11306 from thinkyhead/bf2_power_loss_pin
[2.0.x] Add support for power loss detect pin
7 years ago
Scott Lahteine 63a146d424 planner.synchronize at start of tool_change
See https://github.com/MarlinFirmware/Marlin/issues/10949#issuecomment-398540498
7 years ago
Scott Lahteine 665ac1e4d0 Add POWER_LOSS_PIN support 7 years ago
Scott Lahteine 2243f72523 Add POWER_LOSS_PIN to example configs 7 years ago
Chris Pepper 47d5fcbbcc [2.0.x] Change MKS SBASE default serial port to avoid confusion (#11301) 7 years ago
Scott Lahteine c83109c0ae
Merge pull request #11238 from xC0000005/MalyanLCDUpdate
[2.0.x] Malyan LCD Feedrate + Better Temp Handling
7 years ago
Scott Lahteine 64f007580b Fix some header comments 7 years ago
Giuliano aed1d17a2d Initialize default units (#11295)
When `INCH_MODE_SUPPORT` is enabled no default unit is set. This fixes it.
7 years ago
Scott Lahteine 8c40f0c6c7 Reduce TQ message code size 7 years ago
xC0000005 b04e0c0cbb Malyan LCD feedrate, better temp handling. 7 years ago
Scott Lahteine 065e9c3d66 Add card.longest_filename method 7 years ago
Roxy-3D 71df1f7f57
Don't display M421 information for UBL at startup
It takes too long to display the mesh data for large mesh's at startup.   We should consider ways to speed this up.
Perhaps it makes sense to display an entire row of the mesh instead of just one mesh point?
7 years ago
Scott Lahteine be7d1dfb3c
Merge pull request #11267 from teemuatlut/bf2_lpc_spi
[2.0.x] LPC1768: Expand hardware SPI class
7 years ago
Giuliano 8f686aa449 [2.0.x] Fix change filament crash (#11269)
Prevent crash, on filament change, when printer is not homed
7 years ago
teemuatlut f38c81cdde LPC176x: Expand HW SPI class 7 years ago
teemuatlut 3b5dec4b13 Add new LPC include folder 7 years ago
Scott Lahteine e486326910 Vellemann K8400 Y bed size is 180
Co-Authored-By: kaimimue <kaimimue@users.noreply.github.com>
7 years ago
Giuliano e5ea9d200f [2.0.x] fix kill printer (#11260)
This will fix kill message on dual printer with 0 alignment offset
7 years ago
Jamie Bainbridge 8c57cadbe7 Include stdlib in fontutils (#11251)
When `REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER` is defined and Re-ARM build is attempted, `u8g_fontutf8.cpp` includes `fontutils.h` which uses `abs()`.

However, `abs()` is defined in `stdlib.h` which is not included in `fontutils.h`, so compile fails with an error.

Include `stdlib.h` in `fontutils.h` so that `abs()` is defined before `u8g_fontutf8.cpp` needs to use it, resolving the compile error.

Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
7 years ago
Scott Lahteine bf7d0ba859 Assert that XY probe offsets are integers 7 years ago
Scott Lahteine 12854f1909 Add Z_CLEARANCE_MULTI_PROBE to example configs
Co-Authored-By: nightgryphon <ngryph@gmail.com>
7 years ago
Scott Lahteine 25e2ca8896 Add Z_CLEARANCE_MULTI_PROBE
Co-Authored-By: nightgryphon <ngryph@gmail.com>
7 years ago
Scott Lahteine fd8a76493b
Unify M91x parameter I meaning, simplify reports (#11249) 7 years ago
Scott Lahteine 566d05006d report_state > event_handler
Make the endstop report method track endstop changes on its own.
7 years ago
Scott Lahteine 6b521b6df2 Loosen thermistor table size limit
Co-Authored-By: Aaron Griffith <aargri@gmail.com>
7 years ago
Scott Lahteine 20761b88e0
Merge pull request #11212 from AlexanderAmelkin/2.0-HD44780-remove-unused-include
[2.0.x][HD44780] Remove unused include
7 years ago
Roxy-3D 603e136e87
Resolve issue where user can't edit UBL's mesh 7 years ago
Alexander Amelkin ed720194d2 [2.0.x][HD44780] Remove unused include
The <binary.h> header is not available in STM32 toolchain
and is not used anywhere in ultralcd_common_HD44780.h.
If it is used anywhere in HD44780 support for other platforms,
it must be included in the corresponding .cpp file directly
and put under appropriate conditional compilation directives
for the platform requiring it.

As I was unable to find such code, I consider the file unused
and hence remove the inclusion.
7 years ago
Scott Lahteine d05e832f29 Add STM32F1 support for SD-based EEPROM 7 years ago
Scott Lahteine 63f4c9bdb9 Followup to float maths patch 7 years ago
Scott Lahteine 2992112da0 Optimize delta kinematics
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine d960d448fa Optimize calculations with LROUND 7 years ago
Scott Lahteine 68e6650df7 Remove Quake Fast Inverse SQRT (it isn't faster) 7 years ago
etagle e7e896e7d7 More tweaks to fastio_Due.h 7 years ago
Chris Pepper 55f4744e54 [LPC176x] Endstop Interrupts Feature (#11202)
Enable the endstop interrupts feature for LPC176x boards. Although Smoothieboard chose to use non-interrupt capable pins for their endstops, and this has been copied by clones, so they can't use it.
7 years ago
Chris Pepper 5abf5bc8a7 [LPC176x] Fix Interrupt forward declarations (#11200) 7 years ago
Chris Pepper cbea385ed7 [2.0.x] Fix LCD_LANGUAGE options list formatting in config (#11198)
* Fix LCD_LANGUAGE options list formatting in config
* Remove 'cn' language option from list
7 years ago
Scott Lahteine 6837252fba
Merge pull request #11196 from thinkyhead/bf2_fix_m914_sgt
[2.0.x] No M914 or SGT with non-sensorless axes
7 years ago
Scott Lahteine 5379c115c8 Fix Trigorilla include typo 7 years ago
Scott Lahteine 9c058091e9 No M914 or SGT set for non-sensorless axes 7 years ago
Scott Lahteine c7ec6c68e7 Patch SCARA config to match 1.1.x 7 years ago
Scott Lahteine 480a3d3d0c Apply sensorless homing requirements only for specified axes 7 years ago
Scott Lahteine 47ee149dfd
Merge pull request #11195 from thinkyhead/bf2_tronxy_x3a
[2.0.x] Tronxy X3A configurations and thermistor
7 years ago
Scott Lahteine 8c0ec81a19 Followup to #11187 7 years ago
Scott Lahteine 48c1f32b3e Add configurations for Tronxy X3A 7 years ago
Scott Lahteine 568cfe7caa Add thermistor 501 (100K Zonestar) 7 years ago
Scott Lahteine 1a0f4dedad
Fix and improve POWER_LOSS_RECOVERY (#11187) 7 years ago
Scott Lahteine e0ab8acf19 Add "Marlin Dev Mode" option 7 years ago
Scott Lahteine 4b2af6ab48 Minor patches to POWER_LOSS_RECOVERY 7 years ago
Scott Lahteine 1ea222e6fc Turn off DISABLE_INACTIVE_EXTRUDER with SWITCHING_NOZZLE
Fix #11183
7 years ago
Roman Moravčík 8299ac121d [2.0.x] Slovak translation update (#11175) 7 years ago
teemuatlut 3de0c85d41 Fix RRW graphical LCD constructor macro (#11171) 7 years ago
TheLongAndOnly cedc158106 [2.0.x] Board specific init macro (#11170) 7 years ago
Chris Pepper 5616581eb1 [LPC176x] Update fastio _GET_INPUT, _GET_OUTPUT macros (#11168) 7 years ago
Scott Lahteine 8a8eae8d97
Implement more fastio_Due macros (#11165) 7 years ago
Scott Lahteine c51e27d11d
Do a hard kill for failed homing moves (#11161) 7 years ago
Scott Lahteine 90ba77ea0f Lose the old HOMEAXIS macro 7 years ago
Scott Lahteine 2421f3a47d Detect endstop hits in any direction 7 years ago
Scott Lahteine f9a090b2cf Fix Trigorilla 1.4 pins
See #11097
7 years ago
Scott Lahteine 8eaac0dab3
Add delta feedrate scaling (#11153) 7 years ago
Scott Lahteine 444725ae9a Non-conflicting CS pins for MKS Gen L 7 years ago
J.C. Nelson 8c9f90153e Enable Malyan LCD Support for M200 printers. (#11051) 7 years ago
Scott Lahteine fc10101b06 Tweaks to fastio_Due.h 7 years ago
Scott Lahteine 05518d6add Add newline to end of file 7 years ago
Scott Lahteine d4fde91222 Fix serial.h including itself 7 years ago
Scott Lahteine a431013eb7 Fix G33 compile warning 7 years ago
Scott Lahteine bd7f5848f1
Remove JUNCTION_DEVIATION_INCLUDE_E option (#11147) 7 years ago
Scott Lahteine fbf1c9b496
Fix and tweak POWER_LOSS_RECOVERY (#11151) 7 years ago
Colin Gilgenbach 0fff79c24b Fixes G29_with_retry behavior (#11045)
* Fix G29 (ABL) retry behavior
7 years ago
Scott Lahteine 3349eb0020 Fix SKEW_CORRECTION compile error 7 years ago
Scott Lahteine a264030526 Fix "G29" G29_MAX_RETRIES handling 7 years ago
Scott Lahteine 42f9921482 Ignore Z min endstop with separate Z-probe
To allow for the case where a Z endstop (e.g., hall effect) is higher than the probe trigger point, don't check the Z min endstop during probe moves. See #11134
7 years ago
Scott Lahteine 1b8973eb1c Fix up microsteps conditionals 7 years ago
Scott Lahteine aa4cd2e861 Eliminate stepper.* signed/unsigned warnings 7 years ago
Eduardo José Tagle edb21f349a Fix stepper/planner block handling, race conditions (#11098)
- Allow planner to alter the deceleration phase of the currently executing block.
- Remove BUSY flag, as it is NON ATOMIC to set bits in the Stepper ISR and Planner at the same time.
7 years ago
Scott Lahteine 4d3a9930c5 Match ASM comment spacing to 1.1.x 7 years ago
Scott Lahteine 053438a3aa
Poll all endstops, even when stationary (#11123) 7 years ago
Andy Shaw 3b3029c4bf Make max_e_jerk an array to reduce CPU usage (#11118) 7 years ago
Scott Lahteine d13f76b7da Patch some loop macros 7 years ago
Scott Lahteine 229b26b02c Clear LED matrix without startup test 7 years ago
Alexander Amelkin ffdbc1f42c STM32F1: Fix SD card persistent store API (#11090) 7 years ago
Giuliano 8d8f257384 [2.0.x] Fix advanced pause init values (#11095)
Fixed for cycle used to initialize default values
7 years ago
etagle 5b49fccf80 Add stepper driver DIR delay configuration option
...and recommended pulse width configuration for A4988
7 years ago
Scott Lahteine d86f25ab63 Fix Serial ISR priority for LPC1768
Co-Authored-By: p3p <p3p@p3psoft.co.uk>
7 years ago
etagle fb4e0b105b Fix endstops compilation error 7 years ago
Eduardo José Tagle 48a15d1c7e [2.0.x] Fix stepper/planner race condition and Stepper pulse timer (#11081)
* Planner: Removal of some race conditions between Stepper ISR and Planner, some of them pointed out by @AnHardt, some of my own findings
* Fixing timing on stepper pulses adding a compensation for the non-null time required to set ports.
7 years ago
Michael Triffon 7e802145cc [2.0.x] Add CR-10 stock display support for Re-Arm (EXP3) (#11068) 7 years ago
Scott Lahteine 50b6204079 Fix LIN_ADVANCE max_e_jerk_factor
According to https://github.com/MarlinFirmware/Marlin/issues/9917#issuecomment-399204568
7 years ago
Scott Lahteine 99591dc20c
Filter endstops state at all times (#11066) 7 years ago
Scott Lahteine a5c11bf578
Merge pull request #11075 from thinkyhead/bf2_value_editing
[2.0.x] Fix value editing (with callback)
7 years ago
Roxy-3D 1d7dd0edfd
Add the move_z_after_probing() functionality to UBL's G29 J 7 years ago
Scott Lahteine 383129728a Edit Z fade as whole numbers 7 years ago
Scott Lahteine 1239e8eda2 Fix value editing with callback 7 years ago
Scott Lahteine 7a84b03796 Use MIN/MAX in post-conditionals 7 years ago
Scott Lahteine a2a30ff0ac Use Tool 0 for Dual X Axis G29
See https://github.com/MarlinFirmware/Marlin/issues/5597#issuecomment-397683325
7 years ago
Scott Lahteine e366d55bc2 Don't reset stepper timeout for all g-codes 7 years ago
Scott Lahteine 7406f04029 Use MAX (not max) in stepper.h 7 years ago
Roxy-3D 7c54c4ed27
Tiny improvement to M7219
The registers within the Max7219 can get corrupted a number of ways.  This allows the Max7219 to be reset and fully initialized.
And...  it also allows the user to see the initialization pattern.
7 years ago
Giuliano a65d15c905 [2.0.x] Fix Italian msg len (#11058)
Fix message to long for 12864 display
7 years ago
Scott Lahteine d4795e5b8e
[2.0.x] Tweaks and additions for MAX7219 (#11034) 7 years ago
Scott Lahteine e23677a7b2 Update some G-code comments 7 years ago
Chris Pepper 0312c42f9d [2.0.x] LPC176x Serial cleanup (#11032) 7 years ago
Scott Lahteine c1269c2ec1 Tweak AVR critical section defines 7 years ago
Scott Lahteine da94e0bd27 Unsigned eeprom mesh addresses 7 years ago
Chris Pepper f88adcbfd5 [2.0.x][LPC176x] Fix binary linking broken by pio update (#11026) 7 years ago
Simon Jouet e2aeda61ed HAL for Espressif ESP32 Wifi 7 years ago
Scott Lahteine 091f742432 Add WIFISUPPORT to example configs 7 years ago
Scott Lahteine 19d4c7c1cd Tweak HAL header comments 7 years ago
Giuliano cce0523a95 [2.0.x] reset bltouch on home (#11018)
Added reset bltouch instead. This ensure properly stow even when in error.
7 years ago
Scott Lahteine 4c8d6df13c
Extra insurance against endstop false positives (#11013) 7 years ago
Scott Lahteine 81edbfa665
Merge pull request #11004 from ejtagle/always_honor_maximum_step_rate
[2.0.x] Fix stepper pulse minimum period and timing calculations
7 years ago
Scott Lahteine f3fed52348 Fix coolstep_min_speed / sensorless homing
Fix #8890
7 years ago
etagle a215725df6 Fix stepper pulse timing
Always honor minimum period on stepper pulse generation, and fix timing calculations

Signed-off-by: etagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 0d79128c8d Localize stepper-specific defines 7 years ago
Scott Lahteine a9861a780e Tweak HAL heading 7 years ago
Scott Lahteine cf53e502a2 No need to set input after attachInterrupt 7 years ago
Karl Andersson e0276d2f32 Official STMicroelectronics Arduino Core STM32F4 HAL compatibility (#11006) 7 years ago
Scott Lahteine 4dbec774b5 HAL_*_TIMER_RATE => *_TIMER_RATE 7 years ago
Scott Lahteine 12689f2470
Merge pull request #11001 from thinkyhead/bf2_junction_deviation_fix
[2.0.x] Updates for junction_deviation_mm
7 years ago
Scott Lahteine 9b945c13a1 Fix STM32F1 ISR_ENABLED 7 years ago
Scott Lahteine 9d04f47d98 Improvements for junction_deviation_mm
- Drop `max_jerk` with `JUNCTION_DEVIATION`
- Add `max_e_jerk_factor` for use by `LIN_ADVANCE`
- Recalculate `max_e_jerk_factor` when `junction_deviation_mm` changes
- Fix LCD editing of `junction_deviation_mm`
7 years ago
Scott Lahteine f2c3b0d476 Use bit flags for homed/known 7 years ago
Scott Lahteine 4832be52d7 Followup to G29 O 7 years ago
Robert Mendon 86170e6a66 [2.0.x] Add O (optional) flag to G28/G29 (#10913) 7 years ago
Alexey Shvetsov 2ddba201c0 STM32F1 HAL Fixes (#10999)
- Enable / disable interrupts with `__iSeiRetVal` / `__iCliRetVal`
- Add STM32F1 to Travis CI tests
7 years ago
Scott Lahteine 43bdd0bfe4 Fix indent in stepper.h 7 years ago
Scott Lahteine 2ba198a624 Tweak M122 report spacing 7 years ago
Eduardo José Tagle 5590c8ffd0 Fix MarlinSerial (AVR) (#10991)
An undocumented hw bug makes the UART lose chars when RX ISR is disabled, even for a very small amount of time. This happens when RX_BUFFER > 256, and the result is corrupted received commands. Solved by implementing pseudo-atomic operations on 16bit indices.
7 years ago
Scott Lahteine 3fd1f32b73 Fix ADC key and chamber temp 7 years ago
Scott Lahteine 117fd007a9 Followup to pin error change 7 years ago
Scott Lahteine ae07a3e4aa Multiplier edit large ranges 7 years ago
Scott Lahteine 20a5db03bb Junction Deviation limit (0.01 to 0.3) 7 years ago
Scott Lahteine a2f521d34b
Add Junction Deviation mm runtime setting (#10990) 7 years ago
Scott Lahteine 590ce1c33e Fix serial debug ouput 7 years ago
Scott Lahteine 968a5d2e63 Protected pin err for M226 7 years ago
Scott Lahteine 4b90cd8ead
Merge pull request #10922 from ejtagle/bugfix-2.0.x
[2.0.x] Adaptive multiaxis step smoothing, and tons of fixes
7 years ago
Giuliano f1cdfe3dfd [2.0.x] stow bltouch before start homing (#10987) 7 years ago
etagle 6f14bcaa3e Add MAXIMUM_STEPPER_RATE, enforce in multi-stepping
The timing value should be properly set for ALL boards. The compiler will check and set maximum step rate calculations based on those values.
7 years ago
etagle 39a7e7720d Adaptive multiaxis step smoothing
- Stepper bugs fixed
- Support MIXING_EXTRUDER with Linear Advance
- Miscellaneous cleanup
7 years ago
etagle 99af086cea Add hidden Serial overflow debug options 7 years ago
etagle d90e8fcad9 Fix XON/XOFF implementation
Pointed out by @GMagician
7 years ago
Scott Lahteine bbf80440bf Add sanity-check for MOTHERBOARD 7 years ago
Giuliano b64cc9329e [2.0.x] Fix dual enstop home (#10980) 7 years ago
Scott Lahteine 8a376e6beb Update MINIMUM_STEPPER_PULSE description 7 years ago
Scott Lahteine 3701869e6c Add HAL_timer_start for AVR, use stepper timer to time pulses 7 years ago
Giuliano e970e429b6 [2.0.x] Fix null check in lsDive (#10978) 7 years ago
etagle d82704354f Increase the planner first block HOLD delay to 100mS 7 years ago
Scott Lahteine 779d4a17a0 Highlight 64128N and common ST7565 difference
Followup to #10920, addressing #10962
7 years ago
Scott Lahteine b9418439b9 Prevent MB false-positive on bad board name 7 years ago
Scott Lahteine 88314b8910 CREALITY_ENDER is long gone
As noted in #10965
7 years ago
Scott Lahteine 334341c632
Hephestos config updates (#10960) 7 years ago
Scott Lahteine f74278b8b1 Add -4 thermocouple to list in configs 7 years ago
Scott Lahteine 7ba5afff01
Allow FAN_PIN override, pins cleanup (#10956) 7 years ago
Scott Lahteine 55aedf036b Fix M503 ABL mesh report. (Zero-based IJ indices) 7 years ago
Scott Lahteine e7623b5788 Restore Z_PROBE_PIN to pinsDebug_list.h 7 years ago
Scott Lahteine a426986df8
Ensure pins set to INPUT after attachInterrupt (#10928) 7 years ago
Scott Lahteine d8b983f624
More concise M503 output for M906, M913, M914 (#10947) 7 years ago
Giuliano eb1026d438 [2.0.x] Fix compile warning (#10931) 7 years ago
Scott Lahteine c2bdbdffaa Prevent a buffer overflow in diveToFile
Co-Authored-By: akunt
7 years ago
Giuliano c9d1a620d4 [2.0.x] fix indentations (#10934) 7 years ago
Roxy-3D d550da084f
Fix Max7219 control pins for use with 32-bit platforms 7 years ago
Scott Lahteine c16e41e9e6 STM32F4 pins cleanup 7 years ago
Scott Lahteine c685c7b7dd STM32F4: All pins can do PWM 7 years ago
Scott Lahteine 2fd9ba56da LED menu item bool (like Case Lights) 7 years ago
Scott Lahteine ad8d3150aa Cleanup for dual endstops homing 7 years ago
Scott Lahteine 61181b7f24 Add macros for ST7565 commands 7 years ago
Eduardo José Tagle d3c02410a8 [2.0.x] Small assorted collection of fixes and improvements (#10911)
* Misc fixes and improvements

- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
  Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).

* Set position immediately when possible
7 years ago
Scott Lahteine 2deff0d9b9 Fix/Improve junction deviation
- Respect axis max acceleration limits instead of forcing a fixed acceleration value.
- The `junction_unit_vec` ensures proper handling of entry and exit speeds even when the axes involved have different limits.
7 years ago
Scott Lahteine 6885ca606c Drop JUNCTION_ACCELERATION from example configs 7 years ago
Chris Pepper d87257f63c [2.0.x][LPC176x] Fix PIO build flags (#10909)
Don't build and link with different flags, the binary may not work.
7 years ago
Axel ae322e0c54 [2.0.x] Add GTM32 Pro VB support (#10898) 7 years ago
Scott Lahteine d259070980 Clean up trailing spaces from vim, etc. 7 years ago
Scott Lahteine 21d812d502 Fix the Z un-hop on G11
Co-Authored-By: zarthcode <anthony.clay@zarthcode.com>
7 years ago
Scott Lahteine d3c473002a For SCARA probe Y offset is proximal/distal 7 years ago
Scott Lahteine b90f54b0fc Improve probe logging 7 years ago
Scott Lahteine 3f2a062a57 Fix M914 value range (-64...+63)
Fix #10896
7 years ago
Scott Lahteine b6cd8d9cc6 Set deltas to park on the left 7 years ago
Scott Lahteine 9713538427 HOTENDS for Switching Nozzle with Switching Extruder 7 years ago
Scott Lahteine c68b7b3913 Update Fan 2 and E0 Auto Fan pins for Trigorilla 7 years ago
Scott Lahteine cbcb284f4a Allow libServo::attach to work on Teensy 3.5/3.6 7 years ago
Chris Pepper f89f7c4a82 [2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892) 7 years ago
Scott Lahteine 4299e5dc8b
Modify E-stepping macros for use in LINEAR_ADVANCE (#10885) 7 years ago
Scott Lahteine 8f14ef855d More concise commentary in planner.cpp 7 years ago
Scott Lahteine 6919e87656 Minor cleanup of multi-stepping logic 7 years ago
android444 16da5c62d0 Teensy 3.x fastio pullup (#10890) 7 years ago
Scott Lahteine 853a9056ac Long thermistor tables need special consideration 7 years ago
Scott Lahteine a4f9c3373f Tweak thermistor spacing 7 years ago
Scott Lahteine 9b9b62b218 delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index]) 7 years ago
Scott Lahteine 1ce97f1f6d
Faster (bisect) search in thermistor tables (#10883) 7 years ago
Scott Lahteine 0ca9db7051 Correct HOTENDS for SWITCHING_EXTRUDER 7 years ago
Scott Lahteine 945139e328 Clean up some formatting 7 years ago
android444 9c235ef821 [HAL]Add support for ST7920 - Teensy 3.x (#10872) 7 years ago
Eduardo José Tagle 7b9f0302d4 Fix Bresenham rounding errors, add link to article (#10871) 7 years ago
Scott Lahteine 2566342979 Adjust some commentary 7 years ago
Scott Lahteine 1b200f3312 Sanity check SWITCHING_EXTRUDER with SINGLENOZZLE 7 years ago
Scott Lahteine 6775a16c97 Fix switching extruder stepping with LA 7 years ago
Scott Lahteine 2e139fe50f Tweak configuration spacing 7 years ago
Scott Lahteine 931ab4ec40 Rename Junction Deviation options 7 years ago
Scott Lahteine aaaf09bda2 BEZIER_JERK_CONTROL => S_CURVE_ACCELERATION 7 years ago
Scott Lahteine cf7d5a642a
Fix manual moves for switching tools (#10868) 7 years ago
Eduardo José Tagle 1da2c4f1c1 Text LCD display routine fix. Coauthored with @MagoKimbra (#10864) 7 years ago
Bob-the-Kuhn 1c0ad8bbae wrong type of exit method 7 years ago
Scott Lahteine 01d37e00af
Fix up stepper ISR with linear advance timing (#10853)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Eduardo José Tagle 6f330f397e [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 7 years ago
Bob Kuhn 235facd545 install AVRDUDE 5.10, faster disk find for LPC1768 (#10849) 7 years ago
Scott Lahteine 645df23eb0 Fix warning with FASTER_GCODE_PARSER disabled 7 years ago
Scott Lahteine d74e333c0f Make sure FAN_ANIM_FRAMES is defined 7 years ago
Bob Kuhn e2db509d58 [2.0.x] Update/Fix LPC1768 extra script upload_extra_script.py (#10843)
* Use a different method to find the volume info in Windows
7 years ago
Scott Lahteine 7261f48872 Fix reset of endstops and move state 7 years ago
Scott Lahteine 50fa8e01c1 Minor optimization of axis_did_move bits 7 years ago
Scott Lahteine a94506ada0 Fix K8400 Y min pos, M118 comment 7 years ago
Scott Lahteine 336a022529 Support Malyan LCD without SD 7 years ago
Scott Lahteine f28e366b77 Followup for core endstops 7 years ago
Scott Lahteine 8b44745bc7
Clean up and consolidate SD-related code (#10831) 7 years ago
Scott Lahteine 9644d56b42 Patches for core motion tests 7 years ago
Scott Lahteine 5f8591528e Remove #pragmas that don't help c files 7 years ago
Scott Lahteine 230ae6a143 Default G30 to engage / disengage 7 years ago
Scott Lahteine 3e3789da85
Regression: Endstops Core compatibility (#10823)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine c89649b46e Suppress U8glib build warnings 7 years ago
Axel bbd09a99f1 32 bit boards classification cleanup (#10818)
- Ordering and match classification between `boards.h` and `pins.h`
- Check `pins.h` environments
7 years ago
Scott Lahteine ee333f6be2 Followup to endstops tweaks 7 years ago
Axel d98bc71af7 Boards classification arrangement (#10814)
STM32 ARM Cortex-M3 boards were listed as M4
7 years ago
Scott Lahteine 4b610b333e Tweak G38 formatting 7 years ago
Scott Lahteine d2647c1f19 Fix G1 behaviour after tool unpark
Fix #10777 for 2.0.x

Co-Authored-By: Ante Vukorepa <o.orcinus@gmail.com>
7 years ago
Scott Lahteine 3bb950c69a Fix DEBUG_LEVELING_FEATURE for MBL
As noted in #10777
7 years ago
Scott Lahteine 1af98519cd Group and adjust LCD buttons code 7 years ago
Scott Lahteine 0c3773d724 Cleanup in stepper_indirection.h 7 years ago
Scott Lahteine 4118199ddd Tweaks to core headers 7 years ago
Scott Lahteine 4b2f6e3b2b
[2.0.x] Add endstop noise filter (#10796) 7 years ago
Scott Lahteine 65a004564c Stepper::set_position needed for some applications 7 years ago
Scott Lahteine 435ecb6b67 Followup to stepper/planner refactor 7 years ago
Bob Kuhn 6dfbb39f83 [LPC1768] Add error-handling to upload script, update autobuild.py (#10802) 7 years ago
Scott Lahteine 68d7fcec83 Simplify and fix Z fade height edit
Fix #10761
7 years ago
Bob Kuhn d557c84a71 [2.0.x] Error for FAST_PWM_FAN with 32 bit CPU (#10798) 7 years ago
etagle 569df3fc0c Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 years ago
etagle a4af975873 Fix planner block optimization
- Fixed the planner incorrectly avoiding optimization of the block following the active one.
- Added extra conditions to terminate planner early and avoid redundant computations.
7 years ago
etagle e0ca627033 Planner block HOLD flag
Allows the Stepper ISR to wait until a given block is free for use. Allows Planner to plan the first move, which is split into two.
7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
etagle 0566badcef Add memory barrier, optimal interrupt on-off
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/)
7 years ago
Scott Lahteine c2fb2f54a1 Use assembly for AVR ISR vectors
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 206014a957 Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 59f7861bcb
Move backtrace to the HAL folder (#10790) 7 years ago
Scott Lahteine 228139eae6 Tweak some LCD comments 7 years ago
Scott Lahteine 7dc03ce721 Simplified fix for babystep pulse width
Alternative to the apparently superfluous double delay
7 years ago
Scott Lahteine 65270d6a96 Fix LIN_ADVANCE + SWITCHING_EXTRUDER
Followup to #10656
7 years ago
Bob Kuhn 62e2987488 add AT90USB support & add items to popup menu (#10779) 7 years ago
Bob Kuhn 9ad42d6617 add delay between pulse edges (#10778) 7 years ago
Scott Lahteine 83d42f33e1 Add HAS_HOTEND_OFFSET_Z conditional 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 c173a31060 Fix some compile warnings 7 years ago
Giuliano e1d9046efc [2.0.x] Temperature reading fix (#10774) 7 years ago
Chris Pepper 9b64fdbc3a [LPC176x] HAL: Add missing program space definition (#10776) 7 years ago
Scott Lahteine 50270b53a0 Clear up some more compile warnings 7 years ago
etagle 06fd4d7b28 Improve NOMORE, NOLESS, and LIMIT macros 7 years ago