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."
|
6 gadi atpakaļ |
Marek Bel
|
1585dc66b0
Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500
|
6 gadi atpakaļ |
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).
|
6 gadi atpakaļ |
Marek Bel
|
ccfcc6f989
Document.
|
6 gadi atpakaļ |
Marek Bel
|
3662f60f8f
if max_feedrate_silent and max_acceleration_units_per_sq_second_silent were never stored to eeprom, use default values;
|
6 gadi atpakaļ |
Marek Bel
|
c38fef281d
Use cs.max_feedrate_silent, cs.max_acceleration_units_per_sq_second_silent from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
ca179a2d18
Use cs.filament_size from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
e225e9cab0
Use cs.volumetric_enabled from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
a201128b20
Use cs.retract_length, cs.retract_feedrate, cs.retract_zlift, cs.retract_recover_length and cs.retract_recover_feedrate from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
7e593e6922
Use cs.autoretract_enabled from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
20ba2b1c79
Use cs.bedKp, cs.bedKi and cs.bedKd from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
54bcc8aa52
Use cs.Kp, cs.Ki and cs.Kd from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
959d0069fa
Use cs.add_homing from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
ac7c062161
Use cs.max_jerk from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
bb66bfe6a7
Use cs.minsegmenttime from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
10428b30d9
Use cs.mintravelfeedrate from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
26e2fd1c76
Use cs.minimumfeedrate from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
b8fefceb4d
Use cs.retract_acceleration from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
7dbe0afdc4
Use cs.acceleration from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
cee51cf9c3
Use cs.max_acceleration_units_per_sq_second_normal from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
02becb5e6a
Use cs.max_feedrate_normal from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
3f28632443
Use cs.axis_steps_per_unit from ConfigurationStore.
|
6 gadi atpakaļ |
Marek Bel
|
d611cad087
Temporary hide M500_conf cs to allow automated renaming.
|
6 gadi atpakaļ |
Marek Bel
|
e94dc1341a
Use M500_conf cs in Config_ StoreSettings, RetrieveSettings and ResetDefault.
|
6 gadi atpakaļ |
Marek Bel
|
991db0e71d
Finish default_conf.
|
6 gadi atpakaļ |
Marek Bel
|
d9e2dcc736
Incomplete.
|
6 gadi atpakaļ |
Marek Bel
|
58af1ae4c4
Add configuration store struct.
|
6 gadi atpakaļ |
Robert Pelnar
|
e73f84279e
EEPROM offset fixed - added dummy lcd_contrast
|
6 gadi atpakaļ |
PavelSindler
|
5bc40aff85
Merge pull request #975 from XPila/MK3-new_lang
|
6 gadi atpakaļ |
Robert Pelnar
|
f819b6b304
debug output from EEPROM_WRITE_VAR and EEPROM_READ_VAR
|
6 gadi atpakaļ |