72 Commits (93cc3a8492e6c5848f4c50a9cb42322db7695714)

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