159 Commits (c98623983774b9773800bc7dcef695c4bad81c0e)

Author SHA1 Message Date
Scott Lahteine 63f4c9bdb9 Followup to float maths patch 7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Andy Shaw 3b3029c4bf Make max_e_jerk an array to reduce CPU usage (#11118) 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
Scott Lahteine da94e0bd27 Unsigned eeprom mesh addresses 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 a2f521d34b
Add Junction Deviation mm runtime setting (#10990) 7 years ago
Scott Lahteine 55aedf036b Fix M503 ABL mesh report. (Zero-based IJ indices) 7 years ago
Scott Lahteine d8b983f624
More concise M503 output for M906, M913, M914 (#10947) 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 08e36e264e Apply _AXIS macro 7 years ago
Scott Lahteine 625035a9ce
Fix M301 access to lpq_len (#10714)
Co-Authored-By: Zwaubel
7 years ago
Giuliano d99f1b2245 [2.0.x] EEPROM code cleanup (#10710) 7 years ago
Scott Lahteine b76344c080 More Trinamic cleanup 7 years ago
Scott Lahteine 6d9ec1852a Fix compilation of say_units
Fixes #10663
7 years ago
Scott Lahteine 55f1f8446b Show correct current units in M503 7 years ago
Sean 2d9b0a66fe Add Filament Change accelerations 7 years ago
Scott Lahteine 4c79dc1093 Fix a Serial+EEPROM compile error
Fixes #10278
7 years ago
Scott Lahteine 02f0f95d40
Handle disabled HYBRID_THRESHOLD in EEPROM (#10275) 7 years ago
Scott Lahteine 2bc7f416ee Fix missing comma in tmc_sgt
Fixes #10209
7 years ago
Bob-the-Kuhn 9656a82609 Fix G53/CNC_COORDINATE_SYSTEMS compilation, Travis testing (#10227) 7 years ago
Scott Lahteine b287560258 Fix say_M603 7 years ago
Bob-the-Kuhn 8870f9b1da Fix M503 helper functions following TMC updates (#10197) 7 years ago
Scott Lahteine 9da0797e29 Fix EEPROM size of tmc_hybrid_threshold
Followup to #10102
7 years ago
Roxy-3D 1628a9e864
make data declarations consistent 7 years ago
Scott Lahteine a46bac3100 Add 'I' parameter to M906/M913/M914; 'T' to M906/M913 7 years ago
Scott Lahteine c95450016b Improve Trinamic support in the EEPROM 7 years ago
Scott Lahteine 772810fb24 Followup to PORTVAR patch 7 years ago
Scott Lahteine 4aebe3d82e Pretty up EEPROM port args 7 years ago
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference #9983
7 years ago
Scott Lahteine 49ca67202f Patch configuration_store for extra serial port
Fix #9948
7 years ago
Scott Lahteine 966d9af98a Mesh export in Bilinear + UBL M503 7 years ago
Scott Lahteine 8d5a77001e EEPROM parity with 1.1.x 7 years ago
Scott Lahteine 0557ab5780 Fix CONFIG_ECHO_START bug
In reference to #9633
7 years ago
Scott Lahteine 2bd252b501
[2.0.x] LIN_ADVANCE v1.5 (#9712) 7 years ago
teemuatlut 5968a3e60e Add ADVANCED_PAUSE_FEATURE include 7 years ago
Scott Lahteine 472229b974 Fix #9681 7 years ago
Thomas Moore 1541224a81 Enable Z axis and delta sensorless homing (#9516) 7 years ago
Scott Lahteine 2bea1bda56 Move more strings to PROGMEM 7 years ago
Scott Lahteine 1dcfe193ac Optimize some serial strings 7 years ago
Scott Lahteine f7f8569bbf Fix skew settings report precision
Followup to changes from #8843
7 years ago
Scott Lahteine 90d011cc48 Use ADD_PORT_ARG for all cases 7 years ago
Thomas Moore 429e6ba8a6 Fix lcd_preheat dummy variable types 7 years ago
Thomas Moore cfd989d7c5 Fix EEPROM SettingsData for 32-bit architectures 7 years ago
Bob-the-Kuhn e633ce06c7 LCD contrast type mismatch is back
WORKS!
7 years ago
Thomas Moore f7efac57b7 Multi-host support 7 years ago
Scott Lahteine 7e000e6af4
More EEPROM field debugging (#9123) 7 years ago
Scott Lahteine 99516572b1 Fix TMC current read from EEPROM 7 years ago
Scott Lahteine 60d07f20e7 Make mbl.has_mesh() a method 7 years ago
Scott Lahteine 2b5a9be49c
Fix M503 skew output
Followup to 19e75ccf86
7 years ago
Scott Lahteine 702c8acdd5 Settings FIELD_TEST fix 7 years ago
Scott Lahteine e89f1453ab UBL G29 works without settings.load() 7 years ago
Scott Lahteine 950be70a33 Add FIELD_TEST to validate storage 7 years ago
Scott Lahteine 760c912ab9 Add data size validation 7 years ago
Scott Lahteine b91ca168fb Add a struct defining EEPROM storage 7 years ago
Scott Lahteine 51e0f2bee3 Add MarlinSettings::validate() 7 years ago
Scott Lahteine 878f54c27b Write filler with NO_VOLUMETRICS 7 years ago
Scott Lahteine 3ea6745b36 Pretty up TMC current write 7 years ago
Scott Lahteine 1c41de16d4 Trailing whitespace clean 7 years ago
Scott Lahteine 1746a7352e
Merge pull request #9042 from thinkyhead/bf2_M701_M702
[2.0.x] Improved Pause/Load/Unload, M701-M702
7 years ago
Roxy-3D 3a4e107b6b
use SERIAL_EOL(); instead of new line string 7 years ago
Roxy-3D 19e75ccf86
Add enough precision so planner.xy_skew_factor doesn't print as 0.00 7 years ago
Scott Lahteine 7541316bb4 Add M701/M702 Filament Load/Unload, M603 7 years ago
Scott Lahteine a80f2eea23 Group leveling reports for folding 7 years ago
Thomas Moore 8afc4f8d9d Fix UBL compilation warnings 7 years ago
Scott Lahteine 5effe1590c Fix NO_VOLUMETRICS bug 7 years ago
Scott Lahteine 4b49ea1e92 General cleanup of config-store, reset_bed_level 7 years ago
Scott Lahteine 933f76fda3 Option to disable all volumetric extrusion 7 years ago
Scott Lahteine fc9ee1a4de Fix up serial sanity check 7 years ago
teemuatlut 0cd1e91056 [2.0.x] TMC driver update (#8769) 7 years ago
victorpv a5150c83a2 [2.0.x] Multiple updates to STM32F1 HAL (#8733)
* STM32F1 HAL

Adding files for STM32F1 HAL based on libmaple/stm32duino core.
Current persistent_store uses cardreader changes to be sent in separate
commit, but could be changed to use i2c eeprom.
There is another persistent_store implementation that uses the MCU flash memory
to emulate eeprom
Adding readme with some information about the stm32 HAL.

* Switch to Timer4 to avoid a hard reset on STM32F103C6 boards

On bluepill STM32F103C6 boards, using Timer5 results in a error() vector call. Switch to 4 since these are both general purpose, 16 bit timers.

* Add support for EEPROM emulation using Flash

Some low end machines doe not have EEPROM support. Simulate it using the last two pages of flash. Flash does not allow rewrite between erases, so skip writing the working version if that's enabled.

* Basic Pins for a malyan M200

This is a work in progress to go hand in hand with the STM32 work.

* Add support for ADC with DMA. This work has exposed a problem with the pin enumerations in STM boards vs what marlin expects (i.e, try defining PA0 as a temp pin). The hack can be removed with we go to fastio completely. To see this work, set something in adc_pins to a value like PA0 and connect your pullup resistor'd thermistor.

* Missing file - change HAL_adc_init to actually do something

We have an actual ADC init function now.

* Remove pinmode hack

Remove the pin mode hack that I was using to init PA0.

Updated Readme.md

* Several changes to timers and GPIO

Faster GPIO, and faster timer functions by accesing registers and
libmaple.
Still more changes pending for the Timer's code to skip using the
HardwareTimer class altogether.

Switch all enums to be within #defines

This change allows a user to have, for instance, TEMP_4 and TEMP_BED definied but nothing else. The enums which are not defined move "out", allowing the first ones to take the slots in the enum, and since the array is sized on ADC_PIN_COUNT, we always have the right size data and in order.

* Update Malyan M200 pins

Update Malyan M200 pins with correct fan values.

* Test all pins on actual hardware, update definitions

Some of the pin definitions were from knowlege base/pdfs. Now they've been tested against actual hardware. This should be very close to final.

* Update HAL_timers_Stm32f1.cpp

* Add sample configurations for Malyan M200

Add sample configuration for Malyan M200 without bed leveling, and move fan to auto cool E0 since this printer by default has only one fan.


Choose the timer based on MCU defintion. Timer5 is not valid on C8/CB class boards, so use Timer4 for the step timer.


readme.md update

* Updates to timers, and some stm32 boards definitiions

* Correct pin toggle macro.

* Remove duplicated Malyan M200 entry from pins.h

* Update configuration_store.cpp

* Formatting, indentation

* Formatting in HAL_Stm32f1.cpp
7 years ago
Scott Lahteine 204199e1ce Only compare XYZ to check motion 7 years ago
Scott Lahteine 6686d937fb Always report position on config load/reset 7 years ago
Scott Lahteine a4e1d83599 Fix M503 S parameter 7 years ago
Jonathan Barchi 05f8e98c4a Fix for issue #8629 - mismatch between number of stored and loaded dummy items on non-delta machines. (#8631) 7 years ago
Scott Lahteine 0154e3480c New feature: BED_SKEW_CORRECTION 7 years ago
Scott Lahteine 91fb6231b2 Fix EEPROM V45 header, layout 7 years ago
Scott Lahteine a9ecb975b2 Apply LINEAR_UNIT to M503 output for M200 7 years ago
Scott Lahteine 3bba7d60f3 No retroactive changes with M851 Z
If using babystep to adjust the Z probe offset, the axis will move and the mesh will be updated at the same time, causing a doubling of the Z offset over the rest of the print.

To correct for this, the current Z position would need to be modified in the opposite direction, canceling out the additional Z offset added to the mesh. This would be confusing to users, and moreover it would not be accurate without also taking the current Z fade level and current Z height into account.

It might make sense to change the mesh in the case where no babystepping is taking place, but this could be considered an undesirable side-effect of changing the `zprobe_zoffset`.

One way to remedy this would be to return to storing the mesh with `zprobe_zoffset` included, then subtracting `zprobe_zoffset` from the returned Z value. Thus, a babystep moving the Z axis up 1mm would subtract 1 from `zprobe_zoffset` while adding 1 to all mesh Z values.

Without including the `zprobe_zoffset` in the `z_values` there is no safe way to alter the mesh in conjunction with babystepping, although it's fine without it.
7 years ago
Scott Lahteine 63257dc083 Fix M503 output for M145
Fixes #7978
7 years ago
Scott Lahteine 36426af564
Merge pull request #8356 from tcm0116/2.0.x-M600
[2.0.x] Normalize load/unload length in M600
7 years ago
LVD-AC e334efb2a7 PROBE_MANUALLY etc. 7 years ago
Scott Lahteine cba9c1cf9e Add pre-calculated planner.e_factor 7 years ago
Thomas Moore f34c3597dc Add delta_height variable in lieu of using home_offset 7 years ago
Thomas Moore 73ca5345e1 Fix Delta EEPROM 7 years ago
Scott Lahteine 85a62bbf46 Misc. fixes to compiler warnings, etc. 7 years ago
Roxy-3D 6324b09934
Revert "Fix EEPROM crc (#8284)" (#8292)
This reverts commit 172c36f517.
7 years ago
Rowan Meara 172c36f517 Fix EEPROM crc (#8284) 7 years ago
Scott Lahteine 1b40e9c464 Implement CNC_COORDINATE_SYSTEMS 7 years ago
Scott Lahteine c07bbd4154 Prettify some EEPROM code 7 years ago
Scott Lahteine 817175613a
Merge pull request #8157 from thinkyhead/bf2_anet_10_servo
[2.0.x] Define a default SERVO0_PIN for Anet 1.0
7 years ago
Scott Lahteine 723f2a77f6 Implement support for Dual X and Y endstops 7 years ago
Scott Lahteine 3e8754a38a Add/correct time units on planner vars / M205 B 7 years ago
Roxy-3D 572cf0ec95 UBL able to generate mesh and save and load it on 32-bit platforms (#8015)
* Get UBL Mesh Generation, Mesh Save & Mesh Load working with 32-Bit platforms

* clean up read_data() and write_data() for non-LPC1768 HAL's

* Get read_data() and write_data() return codes consistent

All HAL's read_data() and write_data() return false if they succeed.

* Get read_data() and write_data() return codes to be consistent

Make read_data() and write_data() return true if an error happens.

* Say UBL is now checked out on machine types in default Configuration.h file.
7 years ago
Scott Lahteine 1344ca4b2f UBL no longer needs ubl_state 7 years ago
Scott Lahteine 3e3911fb81 Use planner.leveling_active for all leveling systems 7 years ago
Scott Lahteine 9a930ebec2 Make leveling_is_active a macro 7 years ago
Scott Lahteine 1adb5a6a48 Remove obsolete UBL z_offset 7 years ago
Thomas Moore ae2173cd52 Synchronize retractions 7 years ago