Commit Graph

2022 Commits

Author SHA1 Message Date
PavelSindler
866d6758c3
Merge pull request #1243 from mkbel/simplify_EEPROM_M500
Simplify eeprom m500
2018-10-10 13:11:17 +02:00
mkbel
0d7fae8a28
Merge pull request #1247 from mkbel/doc
Format fsensor documentation.
2018-10-09 22:35:18 +02:00
Marek Bel
9dff6431e6 Format fsensor documentation. 2018-10-09 22:33:54 +02:00
Marek Bel
08fcfa775d Merge branch 'MK3_dev' into simplify_EEPROM_M500 2018-10-08 20:41:30 +02:00
Marek Bel
9cae0c378a Rename _EEPROM_writeData to EEPROM_writeData. Rename _EEPROM_readData to EEPROM_readData. Add return value to EEPROM_writeData to detect failure to write. Do not mark data as valid, if write has failed. Remove EEPROM_WRITE_VAR and EEPROM_READ_VAR macros. Make pos input only parameter. Convert EEPROM_OFFSET macro to typed constatant EEPROM_M500_base, it was defined in two places, leave it in one place. Use Config_StoreSettings() instead of erase_eeprom_section(). Compare float with 0xff byte by byte to avoid compiler warning "Dereferencing type punned pointer will break strict aliasing rules." 2018-10-08 20:24:56 +02:00
Marek Bel
1585dc66b0 Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500
Known limitation: Unable to compile.
2018-10-08 15:58:49 +02:00
PavelSindler
d79025de58
Merge pull request #1230 from mkbel/improve_erase_EEPROM
PFW-608 Decrease wear of mass erase EEPROM and do it faster.
2018-10-08 10:14:22 +02:00
Marek Bel
c77672bf0f PFW-608 Decrease wear of mass erase EEPROM and do it faster. 2018-10-05 18:11:26 +02:00
PavelSindler
d2aa13d333
Merge pull request #1199 from mkbel/document_gcodes1
Documentation: Put scattered and unscattered Gcode documentation toge…
2018-10-04 16:29:39 +02:00
PavelSindler
3a58489c6a
Merge pull request #1169 from mkbel/remove_duplicate_debouncing_4
Remove duplicate debouncing 4
2018-10-02 11:21:17 +02:00
Marek Bel
0e33db0064 Documentation: Put scattered and unscattered Gcode documentation together in process_commands documentation. Mention at least existence of all implemented commands. Document T<n> and T? commands. 2018-09-26 18:55:31 +02:00
Marek Bel
4151e19781 Remove attribute packed. It is not needed on 8-bit platform. Change of platform would be detected by static_assert (sizeof(M500_conf) == 188). 2018-09-25 16:27:20 +02:00
Marek Bel
ccfcc6f989 Document. 2018-09-24 18:32:01 +02:00
Marek Bel
3662f60f8f if max_feedrate_silent and max_acceleration_units_per_sq_second_silent were never stored to eeprom, use default values; 2018-09-24 18:13:20 +02:00
Marek Bel
c38fef281d Use cs.max_feedrate_silent, cs.max_acceleration_units_per_sq_second_silent from ConfigurationStore. 2018-09-24 17:33:58 +02:00
Marek Bel
ca179a2d18 Use cs.filament_size from ConfigurationStore. 2018-09-24 17:29:02 +02:00
Marek Bel
e225e9cab0 Use cs.volumetric_enabled from ConfigurationStore. 2018-09-24 17:12:16 +02:00
Marek Bel
a201128b20 Use cs.retract_length, cs.retract_feedrate, cs.retract_zlift, cs.retract_recover_length and cs.retract_recover_feedrate from ConfigurationStore. 2018-09-24 17:10:25 +02:00
Marek Bel
7e593e6922 Use cs.autoretract_enabled from ConfigurationStore. 2018-09-24 17:03:10 +02:00
Marek Bel
20ba2b1c79 Use cs.bedKp, cs.bedKi and cs.bedKd from ConfigurationStore. 2018-09-24 16:57:48 +02:00
Marek Bel
54bcc8aa52 Use cs.Kp, cs.Ki and cs.Kd from ConfigurationStore. 2018-09-24 16:54:50 +02:00
Marek Bel
f2ae3fb1f7 Use cs.zprobe_zoffset from ConfigurationStore. 2018-09-24 16:47:57 +02:00
Marek Bel
959d0069fa Use cs.add_homing from ConfigurationStore. 2018-09-24 16:42:28 +02:00
Marek Bel
ac7c062161 Use cs.max_jerk from ConfigurationStore. 2018-09-24 16:35:33 +02:00
Marek Bel
bb66bfe6a7 Use cs.minsegmenttime from ConfigurationStore. 2018-09-24 16:22:50 +02:00
Marek Bel
10428b30d9 Use cs.mintravelfeedrate from ConfigurationStore. 2018-09-24 16:01:58 +02:00
Marek Bel
26e2fd1c76 Use cs.minimumfeedrate from ConfigurationStore. 2018-09-24 15:57:24 +02:00
Marek Bel
b8fefceb4d Use cs.retract_acceleration from ConfigurationStore. 2018-09-24 15:53:35 +02:00
Marek Bel
7dbe0afdc4 Use cs.acceleration from ConfigurationStore. 2018-09-24 15:47:36 +02:00
Marek Bel
cee51cf9c3 Use cs.max_acceleration_units_per_sq_second_normal from ConfigurationStore. 2018-09-24 15:40:35 +02:00
Marek Bel
02becb5e6a Use cs.max_feedrate_normal from ConfigurationStore. 2018-09-24 15:09:19 +02:00
Marek Bel
3f28632443 Use cs.axis_steps_per_unit from ConfigurationStore. 2018-09-24 14:54:41 +02:00
Marek Bel
d611cad087 Temporary hide M500_conf cs to allow automated renaming. 2018-09-24 14:42:01 +02:00
Marek Bel
e94dc1341a Use M500_conf cs in Config_ StoreSettings, RetrieveSettings and ResetDefault. 2018-09-24 14:34:43 +02:00
Marek Bel
991db0e71d Finish default_conf. 2018-09-23 23:36:01 +02:00
Marek Bel
d9e2dcc736 Incomplete. 2018-09-23 22:21:28 +02:00
Marek Bel
58af1ae4c4 Add configuration store struct. 2018-09-21 20:52:44 +02:00
PavelSindler
29e578b5f8
Merge pull request #1147 from mkbel/add_wizard_unload
Add possibility to unload filament from wizard first layer calibration
2018-09-19 10:27:19 +02:00
Marek Bel
05d3b7032d Update documentation. 2018-09-18 17:48:11 +02:00
Marek Bel
a7fdfdd258 Put repetitive code into separate function. No change in functionality. 2018-09-18 17:15:13 +02:00
Marek Bel
6ee97468ee Remove lcd_buttons_update() call from all other places than interrupt. There is no known reason, why lcd_buttons_update() should be called from multiple places and multiple contexts. Remove mutex, which is not needed anymore, and wasn't implemented properly anyway (Operation was not atomic.). 2018-09-18 16:05:49 +02:00
Marek Bel
f532da4b17 Remove duplicate button debouncing code. Save 254B flash. 2018-09-18 14:39:01 +02:00
Marek Bel
90a10a692a Enable button debouncing also in modal mode (!lcd_update_enabled). In lcd_clicked() consume click event immediately. 2018-09-18 14:38:50 +02:00
Marek Bel
ab2d350ed1 Don't enable lcd update in lcd_show_fullscreen_message_and_wait_P(). Don't show menu in wizard when ejecting filament. 2018-09-17 21:23:13 +02:00
Marek Bel
a687b8e64a Don't enable lcd update inside mmu_eject_filament(). 2018-09-17 17:12:36 +02:00
Marek Bel
f496076508 Remove redundant code. No change in functionality. 2018-09-14 18:33:03 +02:00
Marek Bel
635a1b4cd8 Add possibility to to select preheat temperature when unloading filament in first layer calibration wizard.
Known limitations:
During filament eject, menu is shown for some moment.
2018-09-14 18:29:14 +02:00
Marek Bel
fe30e58fb5 Add possibility to unload filament from wizard before first layer calibration, if it is not PLA.
Known limitations:
Preheat temperature other than PLA can not be selected.
During filament eject, menu is shown for some moment.
2018-09-14 16:06:25 +02:00
Marek Bel
d14822b22f Give wizard states human readable names. Use uint8_t as underlying type - saves 20B of FLASH memory. 2018-09-13 16:37:41 +02:00
PavelSindler
acff75ac00
Merge pull request #1138 from mkbel/add_cancel
Add cancel
2018-09-13 14:30:26 +02:00