28 Commits (b3efbc6e6e16a45e81506d9d901086b9d9fe20c5)

Author SHA1 Message Date
Scott Lahteine 8f0bbdcc9b
Fix up Max7219 orientations (#11596) 6 years ago
Scott Lahteine 56f1e17a25
[2.0.x] Max7219 cleanup, simplify, and extend (#11575) 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
Dave Johnson c64199941e Compile only selected PIO environment (#11519) 6 years ago
Giuliano eee1b7c50c [2.0.x] Fix compile error (#11465)
Address #11463
7 years ago
Scott Lahteine 76d4cfb064 Tweak some Max7219 code 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 229b26b02c Clear LED matrix without startup test 7 years ago
Scott Lahteine d4795e5b8e
[2.0.x] Tweaks and additions for MAX7219 (#11034) 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 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine a1062eec5b
Better handling of DELAY_NS and DELAY_US (#10716)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Roxy-3D c2c02bdc67
Change Max7219 coordinates to traditional (X,Y) 7 years ago
Scott Lahteine 212e52e485 Basic delay for Max7219 on ARM 7 years ago
Karl Andersson 58ca3be1ec delayMicroseconds() cannot be called in critical section (#10535)
on the STM32 platform
7 years ago
Luc Van Daele 646aa20b43 Overhaul of G33 Delta Calibration (#8822) 7 years ago
Roxy-3D 26cc12eaa4 Resolve corruption of Max7219 Debug LED Matrix 7 years ago
Roxy-3D f5f1b069ad
Convert UBL mesh tilting to all use the same algorithm (#9204)
A number of regressions were patched also. The UBL G29 P2 and P4 Press and Hold had stopped working. It is very possible this is broken in the bugfix_v1.1.x branch also.

The main purpose of the Pull Request is to get the 3-Point mesh tilting to use the LSF algorithm just like the grid based mesh tilt. This simplifies the logic and reduces the code size some what. But the real reason to do it is the 3-Point case can be solved exactly. And by feeding these numbers into the LSF algorithm it provides a way to check all that code for 'correctness'.
7 years ago
Scott Lahteine 1ce0fb336b Patch Max7219_LED_Set input args 7 years ago
Scott Lahteine 32512332df Apply some formatting 7 years ago
Scott Lahteine d48cb6bf41 Apply coding standards to Max7219 7 years ago
Scott Lahteine 50f09cc029 Miscellaneous cleanup 7 years ago
Scott Lahteine ada90f7335 Clean up trailing spaces 7 years ago
Roxy-3D 3f5f39576b Reprint option for last SD Memory card file (#8106)
* Re-Print of same SD Memory Card file with single click

* Re-Print of same SD Memory Card file with single click
* This is the bugfix-v2.0.0 version of  https://github.com/MarlinFirmware/Marlin/pull/8104
7 years ago
Roxy-3D 6cb26c98c8 Fix Baby Stepping on 32-Bit platforms (#8001)
Also, Max7219 debug code was used for this effort.   It has been
improved and hardened.
7 years ago
Roxy-3D 0e260c6c1d Get FolgerTech i3-2020 working again with 32-bit platforms (#7944)
Setup FolgerTech i3-2020 Configuration files as a reference platform for
32-Bit work.

Also fix MAX7219 debug lights on 32-bit platforms.
7 years ago
Scott Lahteine 8fbb833de9 Encapsulate RGB(W) LEDs 7 years ago