22 Commits (dc2d215355e7c9dd0bdc59a046b371ffe85e1161)

Author SHA1 Message Date
Scott Lahteine 7f4e4b1212 UBL name/state methods 8 years ago
Brian 7852369987 Implement CRC16, develop mesh allocation table
- Add crc16 utility function
 - Implement CRC16 for config store, remove old checksum, increment layout version
 - Move UBL mesh store/load to MarlinSettings; increment UBL_VERSION
 - Begin to lay out MAT structure, prototype functions, etc.
 - Rename ubl.state.eeprom_storage_slot to .storage_slot
 - Misc. optimization
 - Cleanup/standardize/improve some messages

This is a work in progress!
8 years ago
Scott Lahteine 14a4257c7b UBL tabs, whitespace, spelling, etc. 8 years ago
Scott Lahteine a7fb55ea6d Use GRID_MAX_POINTS. Some formatting 8 years ago
oldmcg 91841d75c9 UBL_DELTA (#6695)
UBL on Delta's....     Should be close!    Should not affect any Cartesian printer.
8 years ago
Brian ae676490c9 M421: Add 'adjust closest point' capability
- Split M421 into separate versions for bilinear and ubl
- Fix minor issue in G26
8 years ago
Roxy-3D b63e82f309 M421 Mesh Point Offset and misc. UBL clean up (#6685)
* M421 Mesh Point Offset and misc. UBL clean up

Allow M421 to accept an offset as well as absolute value for a specified
mesh point.
And misc. UBL clean up to reduce redundent code.

* Better error checking for M421

* Fix M421 Y index bug

I just noticed....  We've had a Y index bug for who knows how long?
8 years ago
Brian 4da14b14f4 UBL Cleanup/Bugfix
- Fix bug in ubl_line_to_destination
- Improve/fix output of some ubl.h functions
8 years ago
Scott Lahteine ca1dd739a3 Organize ubl.h defines by the files they serve 8 years ago
Scott Lahteine 0449f69179 Cleanup patch to recent merge 8 years ago
Scott Lahteine 2887c20788 Add a function to home all axes (i.e., gcode_G28) 8 years ago
Brian 4e1448e75a Various fixes for compiler warnings
add BLTouch-related messages in english and (rusty) french;
add missing endstops.h in ultralcd.cpp;
fix misc. compiler warnings;
fix lsf_reset - ZERO macro can't handle a pointer as it would only memset the size of the pointer, not the size of the entire struct
8 years ago
Scott Lahteine 8bf3a3fcdb Remove inaccurate comments from ubl.h 8 years ago
Scott Lahteine 47557d5a19 Fix up formatting in ubl.h 8 years ago
Roxy-3D d467e97679 Smart-Fill and Mesh-Tilting (both 3-point and grid) working!
Also...   The memory corruption issue may be fixed.   The GCC compiler
was inlining static functions and this caused the G29() stack frame to
become much larger than the AVR could handle.
8 years ago
Brian f41fb2b635 Numerous UBL-related changes:
* relocated ubl state to config. store:
 * removed a number of ubl state variables and padding which were largely unused - saved 58 bytes of both SRAM and EEPROM;
 * modified ubl sanity_check - no longer checks removed state variables that were otherwise unused, where checking didn't seem to accomplish anything, ultimately;
 * removed pre_initialized state, saving 64 bytes of SRAM;
 * removed automatic saving of UBL state after UBL activation/deactivation;
* consolidated multiple GRID_MAX_POINTS_X/Y to 'Global Leveling' section of EEPROM;
* minor update to G29 Sx notes/instructions;
* renamed mesh load and save parameter to 'slot' from 'm' for clarity;
8 years ago
Brian f1a4758cef use progmem instead of sram for mesh_index_to_x/ypos array;
fix maximum mesh_index_ array size at 16 (15+1);
8 years ago
Brian 88649b06a6 use planner.z_fade_height, etc. instead of private, ubl-specific g29 fade height 8 years ago
Roxy-3D 14cf527bb8 Getting setup for debugging 8 years ago
Roxy-3D ef3da3971e Update ubl.h 8 years ago
Scott Lahteine 4abd53f65a Adjust indentation in ubl.h 8 years ago
Scott Lahteine f5c5c1f771 Rename all UBL files with a ubl_ prefix 8 years ago