9043 Commits (a15e570d3b28ebbdd140aa3dea600f7a9d66fe3b)

Author SHA1 Message Date
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