Commit Graph

180 Commits (11a724d8fc3eb51c271b540be4bf90a289eae2ae)

Author SHA1 Message Date
Scott Lahteine e337df2e98 Miscellaneous tweaks to serial outputs, code cleanups
Vben 4817b39d98 Added new feature for AutoParking Extruder (APE)
Scott Lahteine 4eff18854b Rename options with swap_ prefix
Scott Lahteine 14482d2f2a Strip auto-retract for impossible M(IN|AX)_AUTORETRACT combo
Scott Lahteine fee696db5d Improve retract() for G10/G11/autoretract
Scott Lahteine cf96109056 Implement the EEPROM_CHITCHAT option
Scott Lahteine dcec7178d1 Expose DISABLE_M503 option as a test option
dot-bob b3c36c98fd Edit digipot currents via LCD, save to EEPROM
Scott Lahteine e94f79ccea Patch some serial macros
Bob-the-Kuhn 28d72f48f1 change to DWORD
Scott Lahteine 4134a6b526 Save 88b PROGMEM, 48 bytes SRAM in settings.reset
Scott Lahteine efc198f952 Spacing, const, comments
Scott Lahteine d28f5d8a78 Fix: z_endstop_adj is never initialized
Scott Lahteine 01e7e234c6 Add more options to the Bed Leveling menu
Scott Lahteine 082da23391 One fewer EOL in M503 output
Scott Lahteine af81cb4cbb Patch for M503 output
Scott Lahteine f4028fe088 New GCode Parser - Implementation
Scott Lahteine 11fc9564c9 Add live editing option to LCD menu
Brian 43c24f0027 Fix recent regressions, &c.
- fix broken `M421` due to less-than-careful optimization
- add HOME_AFTER_DEACTIVATE define to advanced config so not everyone has to rehome after steppers are deactivated
- misc. cleanups (remove unused label, unused variables)
Brian 3370329751 Fix broken EEPROM save/load
Scott Lahteine 7f4e4b1212 UBL name/state methods
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!
fixoid c2321b1cdd Separate SWITCHING_NOZZLE and SWITCHING_EXTRUDER
Scott Lahteine 14a4257c7b UBL tabs, whitespace, spelling, etc.
Scott Lahteine 233f824dd6 Define GRID_MAX_POINTS
Roxy-3D b63e82f309 M421 Mesh Point Offset and misc. UBL clean up ()
* 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?
Scott Lahteine 081bf1f879 Patch #else / #endif comments
Scott Lahteine 56ca47ab9d Patch configuration temp units
Scott Lahteine 6e4a5cc8c6 Patch missing const in temp_abs
Scott Lahteine ce507deb9f Support temperature units in M503
LVD-AC da2abad636 Various cleanups of G33
- update comment section
- redefined P5 grid
- minor clean to probe radius routine
- updated EEPROM version to V37 according remark in 
Scott Lahteine ed81e9b3d3 Adjust leveling conditionals
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
Scott Lahteine 671a44b8aa Merge pull request from teemuatlut/LVD-Delta
Delta auto-calibration updates
LVD-AC 585c00a728 Proposed changes
This is what I did yesterday:

- basicly gave the tests more comprehensive names; put all the
declarations at the top; got rid of the magic negative C-value (renamed
to P + A, O, T)

- "cos(RADIANS(180 + 30 * axis)) * (1 + circles * 0.1 * ((zig_zag) ? 1 :
-1)) * delta_calibration_radius" compiles wrong is zig_zag statement is
without brackets

- DELTA_TOWER_ANGLE_TRIM reset to 3 values (the calcs use the 3th value
to normalize will not compile otherwise)

-Wrote 3 dummies to keep EEPROM lenght the same

-Reset the configs to the 'original' with autocal + menu disabled (but
can be enabled of course)
Scott Lahteine baf3b91460 DELTA_TOWER_ANGLE_TRIM only needs AB
LVD-AC ed6b361e27 cleanup ready to squash
LVD-AC dcf30a69d6 Allowing #define DELTA_TOWER_ANGLE_TRIM[C_AXIS]
More consistent with M665 where C-value is allowed as well, then
normalized
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;
Scott Lahteine 091179d960 bed_level_grid => z_values (also *_virt array)
Scott Lahteine 23cdbbb2d3 Add a method to refresh bilinear bed level after a change
Scott Lahteine ccda63c473 Drop the accessor form for LCD value editing
Brian 88649b06a6 use planner.z_fade_height, etc. instead of private, ubl-specific g29 fade height
LVD-AC 004928148c Tower angles
Adding '7-point' tower angle correction calibration
LVD-AC 13c8493878 M665 rework and related issues (all delta's)
- Making M665 compatible with repetier (see
http://reprap.org/wiki/G_code#M665:_Set_delta_configuration)

- M665 B also sets the radius for manual calibration menu

- Converting tower ajustment definitions to arrays - tower angle
corrections compatible with Esher 3D wizzard

- Only tower angles need to be adjustable with M665 and stored to EEPROM
- tower radius and diag rod can be adjusted in the FW only with #define
Scott Lahteine 55f9e76610 Merge pull request from thinkyhead/rc_cleanup_followup
Cleanup after some direct commits
Scott Lahteine b98bc034ae Replace c_assert hack with static_assert
MagoKimbra ed52275a14 Fix double definition in configuration_store
Scott Lahteine a00ae4790a Replace M905 with unique code M900
Thomas Moore f8e77d6545 Add Linear Advance values to EEPROM and enable configuration of K via LCD