Prusa MINI Firmware overview
configuration_store.h
Go to the documentation of this file.
1 /**
2  * Marlin 3D Printer Firmware
3  * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4  *
5  * Based on Sprinter and grbl.
6  * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 #pragma once
23 
24 #include "../inc/MarlinConfig.h"
25 
26 #if ENABLED(EEPROM_SETTINGS)
27  #include "../HAL/shared/persistent_store_api.h"
28 #endif
29 
31  public:
32  static uint16_t datasize();
33 
34  static void reset();
35  static bool save(); // Return 'true' if data was saved
36 
37  FORCE_INLINE static bool init_eeprom() {
38  reset();
39  #if ENABLED(EEPROM_SETTINGS)
40  const bool success = save();
41  #if ENABLED(EEPROM_CHITCHAT)
42  if (success) report();
43  #endif
44  return success;
45  #else
46  return true;
47  #endif
48  }
49 
50  #if ENABLED(SD_FIRMWARE_UPDATE)
51  static bool sd_update_status(); // True if the SD-Firmware-Update EEPROM flag is set
52  static bool set_sd_update_status(const bool enable); // Return 'true' after EEPROM is set (-> always true)
53  #endif
54 
55  #if ENABLED(EEPROM_SETTINGS)
56 
57  static bool load(); // Return 'true' if data was loaded ok
58  static bool validate(); // Return 'true' if EEPROM data is ok
59 
60  static inline void first_load() {
61  static bool loaded = false;
62  if (!loaded && load()) loaded = true;
63  }
64 
65  #if ENABLED(AUTO_BED_LEVELING_UBL) // Eventually make these available if any leveling system
66  // That can store is enabled
67  static uint16_t meshes_start_index();
68  FORCE_INLINE static uint16_t meshes_end_index() { return meshes_end; }
69  static uint16_t calc_num_meshes();
70  static int mesh_slot_offset(const int8_t slot);
71  static void store_mesh(const int8_t slot);
72  static void load_mesh(const int8_t slot, void * const into=nullptr);
73 
74  //static void delete_mesh(); // necessary if we have a MAT
75  //static void defrag_meshes(); // "
76  #endif
77  #else
79  static bool load() { reset(); report(); return true; }
81  static void first_load() { (void)load(); }
82  #endif
83 
84  #if DISABLED(DISABLE_M503)
85  static void report(const bool forReplay=false);
86  #else
88  static void report(const bool=false) {}
89  #endif
90 
91  private:
92  static void postprocess();
93 
94  #if ENABLED(EEPROM_SETTINGS)
95 
96  static bool eeprom_error, validating;
97 
98  #if ENABLED(AUTO_BED_LEVELING_UBL) // Eventually make these available if any leveling system
99  // That can store is enabled
100  static const uint16_t meshes_end; // 128 is a placeholder for the size of the MAT; the MAT will always
101  // live at the very end of the eeprom
102  #endif
103 
104  static bool _load();
105  static bool size_error(const uint16_t size);
106  #endif
107 };
108 
109 extern MarlinSettings settings;
SettingsDataStruct::bilinear_grid_spacing
xy_int_t bilinear_grid_spacing
Definition: configuration_store.cpp:195
planner.h
WITHIN
#define WITHIN(N, L, H)
Definition: macros.h:195
XYZval::z
T z
Definition: types.h:286
z_values
bed_mesh_t z_values
SERIAL_CHAR
#define SERIAL_CHAR(x)
Definition: serial.h:69
SettingsDataStruct::planner_skew_factor
skew_factor_t planner_skew_factor
Definition: configuration_store.cpp:309
endstops.h
crc
png_uint_32 crc
Definition: png.c:2247
reset_bed_level
void reset_bed_level()
delta_segments_per_second
float delta_segments_per_second
SettingsDataStruct::z2_endstop_adj
float z2_endstop_adj
Definition: configuration_store.cpp:230
DEFAULT_EJERK
#define DEFAULT_EJERK
Definition: Configuration_A3ides_2209_MINI.h:733
SettingsData
struct SettingsDataStruct SettingsData
SettingsDataStruct::planner_leveling_active
bool planner_leveling_active
Definition: configuration_store.cpp:205
backlash
Backlash backlash
SettingsDataStruct
Definition: configuration_store.cpp:138
EEPROM_OFFSET
#define EEPROM_OFFSET
Definition: configuration_store.cpp:41
XYZval::a
T a
Definition: types.h:287
XYZEval< float >
tmc_stepper_current_t::E1
uint16_t E1
Definition: configuration_store.cpp:119
DUMMY_PID_VALUE
#define DUMMY_PID_VALUE
Definition: temperature.h:69
tmc_stealth_enabled_t::Z2
bool Z2
Definition: configuration_store.cpp:122
temperature.h
mbl
mesh_bed_leveling mbl
SettingsDataStruct::tmc_stepper_current
tmc_stepper_current_t tmc_stepper_current
Definition: configuration_store.cpp:286
skew_factor_t
Definition: planner.h:196
SettingsDataStruct::crc
uint16_t crc
Definition: configuration_store.cpp:140
tmc_stealth_enabled_t
Definition: configuration_store.cpp:122
tmc_stealth_enabled_t::E4
bool E4
Definition: configuration_store.cpp:122
DEFAULT_MAX_ACCELERATION
#define DEFAULT_MAX_ACCELERATION
Definition: Configuration_A3ides_2209_MINI.h:696
PIDC_t::Ki
float Ki
Definition: temperature.h:57
SettingsDataStruct::parser_volumetric_enabled
bool parser_volumetric_enabled
Definition: configuration_store.cpp:280
tmc_hybrid_threshold_t::E2
uint32_t E2
Definition: configuration_store.cpp:120
planner_settings_t::min_feedrate_mm_s
feedRate_t min_feedrate_mm_s
Definition: planner.h:186
SettingsDataStruct::ui_preheat_hotend_temp
int16_t ui_preheat_hotend_temp[2]
Definition: configuration_store.cpp:239
XYZval::x
T x
Definition: types.h:286
report_M92
void report_M92(const bool echo=true, const int8_t e=-1)
Definition: M92.cpp:26
PersistentStore::write_data
static bool write_data(int &pos, const uint8_t *value, size_t size, uint16_t *crc)
tmc_stealth_enabled_t::X2
bool X2
Definition: configuration_store.cpp:122
stepper.h
planner_settings_t::max_feedrate_mm_s
feedRate_t max_feedrate_mm_s[XYZE_N]
Definition: planner.h:182
probe_offset
constexpr xyz_pos_t probe_offset
Definition: probe.h:58
tmc_stealth_enabled_t::E2
bool E2
Definition: configuration_store.cpp:122
Planner::bed_level_matrix
static matrix_3x3 bed_level_matrix
Definition: planner.h:278
SettingsDataStruct::tmc_stealth_enabled
tmc_stealth_enabled_t tmc_stealth_enabled
Definition: configuration_store.cpp:289
E4
Definition: L6470_Marlin.h:30
E1
Definition: L6470_Marlin.h:30
settings
MarlinSettings settings
Definition: configuration_store.cpp:344
PREHEAT_1_TEMP_BED
#define PREHEAT_1_TEMP_BED
Definition: Configuration_A3ides_2209_MINI.h:1379
SettingsDataStruct::backlash_smoothing_mm
float backlash_smoothing_mm
Definition: configuration_store.cpp:330
indirection.h
printcounter.h
X_AXIS
Definition: types.h:37
PROGMEM
static const uint32_t _DMA[] PROGMEM
Definition: configuration_store.cpp:128
g29_auto.gcode
list gcode
Definition: g29_auto.py:44
PIDC_t::Kd
float Kd
Definition: temperature.h:57
unified_bed_leveling::report_state
static void report_state()
DEBUG_EOL
#define DEBUG_EOL()
Definition: debug_out.h:86
Backlash::correction
static constexpr uint8_t correction
Definition: backlash.h:41
DEBUG_ECHOLNPGM
#define DEBUG_ECHOLNPGM(...)
Definition: debug_out.h:79
MarlinSettings::first_load
static FORCE_INLINE void first_load()
Definition: configuration_store.h:81
DEBUG_ERROR_START
#define DEBUG_ERROR_START()
Definition: debug_out.h:73
DEFAULT_TRAVEL_ACCELERATION
#define DEFAULT_TRAVEL_ACCELERATION
Definition: Configuration_A3ides_2209_MINI.h:709
SettingsDataStruct::servo_angles
uint16_t servo_angles[EEPROM_NUM_SERVOS][2]
Definition: configuration_store.cpp:211
stepper
Stepper stepper
Definition: stepper.cpp:82
planner_settings_t::retract_acceleration
float retract_acceleration
Definition: planner.h:183
PID_t::Kp
float Kp
Definition: temperature.h:56
SettingsDataStruct::lpq_len
int16_t lpq_len
Definition: configuration_store.cpp:247
Planner::leveling_active
static bool leveling_active
Definition: planner.h:276
tmc_hybrid_threshold_t::E5
uint32_t E5
Definition: configuration_store.cpp:120
SERIAL_ECHOPAIR
#define SERIAL_ECHOPAIR(V...)
Definition: serial.h:114
PersistentStore::access_finish
static bool access_finish()
unified_bed_leveling::reset
static void reset()
SettingsDataStruct::planner_settings
planner_settings_t planner_settings
Definition: configuration_store.cpp:147
tmc_stealth_enabled_t::Y
bool Y
Definition: configuration_store.cpp:122
validate
static FRESULT validate(_FDID *obj, FATFS **fs)
Definition: ff.c:3215
E0
Definition: L6470_Marlin.h:30
HAS_CLASSIC_E_JERK
#define HAS_CLASSIC_E_JERK
Definition: Conditionals_post.h:47
SettingsDataStruct::motor_current_setting
uint32_t motor_current_setting[3]
Definition: configuration_store.cpp:299
SettingsDataStruct::grid_max_y
uint8_t grid_max_y
Definition: configuration_store.cpp:194
planner_settings_t
Definition: planner.h:178
Planner::calculate_volumetric_multipliers
static void calculate_volumetric_multipliers()
SettingsDataStruct::runout_distance_mm
float runout_distance_mm
Definition: configuration_store.cpp:162
PersistentStore::access_start
static bool access_start()
mesh_bed_leveling::reset
static void reset()
tmc_stealth_enabled_t::E3
bool E3
Definition: configuration_store.cpp:122
SettingsDataStruct::tmc_sgt
tmc_sgt_t tmc_sgt
Definition: configuration_store.cpp:288
i
uint8_t i
Definition: screen_test_graph.c:72
SERIAL_ECHOLNPAIR_F
#define SERIAL_ECHOLNPAIR_F(V...)
Definition: serial.h:177
unified_bed_leveling::storage_slot
static int8_t storage_slot
Definition: ubl.h:106
LOOP_XYZE_N
#define LOOP_XYZE_N(VAR)
Definition: types.h:62
Y
Definition: L6470_Marlin.h:30
leveling_is_valid
bool leveling_is_valid()
unscalePID_d
#define unscalePID_d(d)
Definition: temperature.h:152
AxisEnum
AxisEnum
Definition: types.h:36
PIDC_t
Definition: temperature.h:57
tmc_hybrid_threshold_t::Y
uint32_t Y
Definition: configuration_store.cpp:120
PREHEAT_2_TEMP_HOTEND
#define PREHEAT_2_TEMP_HOTEND
Definition: Configuration_A3ides_2209_MINI.h:1383
DEBUG_ECHOLNPAIR
#define DEBUG_ECHOLNPAIR(...)
Definition: debug_out.h:82
SettingsDataStruct::version
char version[4]
Definition: configuration_store.cpp:139
recovery
PrintJobRecovery recovery
tmc_stepper_current_t::E5
uint16_t E5
Definition: configuration_store.cpp:119
SettingsDataStruct::lcd_contrast
int16_t lcd_contrast
Definition: configuration_store.cpp:264
DEBUG_ECHO_START
#define DEBUG_ECHO_START()
Definition: debug_out.h:72
tmc_stepper_current_t::X
uint16_t X
Definition: configuration_store.cpp:119
delta_height
float delta_height
feedRate_t
float feedRate_t
Definition: types.h:80
Z3
Definition: L6470_Marlin.h:30
update_workspace_offset
#define update_workspace_offset(x)
Definition: motion.h:127
PIDC_t::Kp
float Kp
Definition: temperature.h:57
SettingsDataStruct::coordinate_system
xyz_pos_t coordinate_system[MAX_COORDINATE_SYSTEMS]
Definition: configuration_store.cpp:304
SettingsDataStruct::planner_max_jerk
xyze_float_t planner_max_jerk
Definition: configuration_store.cpp:149
skew_factor_t::yz
const float yz
Definition: planner.h:206
tmc_stealth_enabled_t::E5
bool E5
Definition: configuration_store.cpp:122
SettingsDataStruct::grid_max_x
uint8_t grid_max_x
Definition: configuration_store.cpp:194
scalePID_d
#define scalePID_d(d)
Definition: temperature.h:151
delta_endstop_adj
abc_float_t delta_endstop_adj
MarlinSettings::save
static bool save()
Definition: configuration_store.cpp:2198
unified_bed_leveling::sanity_check
static bool sanity_check()
MarlinSettings::reset
static void reset()
Definition: configuration_store.cpp:2208
XYZ
#define XYZ
Definition: macros.h:27
mesh_bed_leveling::z_values
static float z_values[GRID_MAX_POINTS_X][GRID_MAX_POINTS_Y]
Definition: mesh_bed_leveling.h:43
tmc_stepper_current_t::Y2
uint16_t Y2
Definition: configuration_store.cpp:119
tmc_stealth_enabled_t::X
bool X
Definition: configuration_store.cpp:122
BLTouch::last_written_mode
static bool last_written_mode
Definition: bltouch.h:69
DEBUG_ECHOPGM
#define DEBUG_ECHOPGM(...)
Definition: debug_out.h:78
SettingsDataStruct::planner_extruder_advance_K
float planner_extruder_advance_K[EXTRUDERS]
Definition: configuration_store.cpp:294
tmc_sgt_t::Y
int16_t Y
Definition: configuration_store.cpp:121
Z
Definition: L6470_Marlin.h:30
matrix_3x3
Definition: vector_3.h:73
SettingsDataStruct::probe_offset
xyz_pos_t probe_offset
Definition: configuration_store.cpp:184
LINEAR_UNIT
#define LINEAR_UNIT(V)
Definition: parser.h:299
SettingsDataStruct::hotendPID
PIDC_t hotendPID[HOTENDS]
Definition: configuration_store.cpp:246
SettingsDataStruct::runout_sensor_enabled
bool runout_sensor_enabled
Definition: configuration_store.cpp:161
Backlash::distance_mm
static const xyz_float_t distance_mm
Definition: backlash.h:42
tmc_hybrid_threshold_t
Definition: configuration_store.cpp:120
E_AXIS_N
#define E_AXIS_N(E)
Definition: Conditionals_LCD.h:454
bltouch
BLTouch bltouch
SettingsDataStruct::y2_endstop_adj
float y2_endstop_adj
Definition: configuration_store.cpp:230
Planner::refresh_positioning
static void refresh_positioning()
Definition: planner.cpp:2806
delta_diagonal_rod
float delta_diagonal_rod
FORCE_INLINE
#define FORCE_INLINE
Definition: macros.h:40
DEBUG_ERROR_MSG
#define DEBUG_ERROR_MSG(...)
Definition: debug_out.h:85
SERIAL_ECHO_MSG
#define SERIAL_ECHO_MSG(S)
Definition: serial.h:183
XYZval::b
T b
Definition: types.h:287
PSTR
#define PSTR(str)
Definition: pgmspace.h:31
set_bed_leveling_enabled
void set_bed_leveling_enabled(const bool enable=true)
SettingsDataStruct::mesh_num_x
uint8_t mesh_num_x
Definition: configuration_store.cpp:173
bilinear_start
xy_int_t bilinear_start
tmc_stealth_enabled_t::Z
bool Z
Definition: configuration_store.cpp:122
DEFAULT_MINTRAVELFEEDRATE
#define DEFAULT_MINTRAVELFEEDRATE
Definition: Configuration_A3ides_2209_MINI_adv.h:515
current_position
xyze_pos_t current_position
Definition: motion.cpp:102
E3
Definition: L6470_Marlin.h:30
recalc_delta_settings
void recalc_delta_settings()
tmc_hybrid_threshold_t::X
uint32_t X
Definition: configuration_store.cpp:120
Stepper::digipot_current
static void digipot_current(const uint8_t driver, const int16_t current)
Definition: stepper.cpp:2495
SettingsDataStruct::autoretract_enabled
bool autoretract_enabled
Definition: configuration_store.cpp:275
ExtUI::onConfigurationStoreWritten
void onConfigurationStoreWritten(bool success)
Definition: marlin_server.cpp:937
EEPROM_VERSION
#define EEPROM_VERSION
Definition: configuration_store.cpp:40
settings
MarlinSettings settings
Definition: configuration_store.cpp:344
E2
Definition: L6470_Marlin.h:30
X2
Definition: L6470_Marlin.h:30
tmc_hybrid_threshold_t::Z3
uint32_t Z3
Definition: configuration_store.cpp:120
COPY
Definition: inflate.h:36
SettingsDataStruct::fwretract_settings
fwretract_settings_t fwretract_settings
Definition: configuration_store.cpp:274
MarlinSettings::report
static FORCE_INLINE void report(const bool=false)
Definition: configuration_store.h:88
COUNT
#define COUNT(a)
Definition: macros.h:200
SettingsDataStruct::mbl_z_values
float mbl_z_values[3][3]
Definition: configuration_store.cpp:177
tmc_stepper_current_t
Definition: configuration_store.cpp:119
PREHEAT_2_FAN_SPEED
#define PREHEAT_2_FAN_SPEED
Definition: Configuration_A3ides_2209_MINI.h:1385
LOOP_L_N
#define LOOP_L_N(VAR, N)
Definition: types.h:58
unscalePID_i
#define unscalePID_i(i)
Definition: temperature.h:150
LOOP_XYZ
#define LOOP_XYZ(VAR)
Definition: types.h:60
SettingsDataStruct::mesh_num_y
uint8_t mesh_num_y
Definition: configuration_store.cpp:173
planner_settings_t::travel_acceleration
float travel_acceleration
Definition: planner.h:183
planner_settings_t::axis_steps_per_mm
float axis_steps_per_mm[XYZE_N]
Definition: planner.h:181
bilinear_grid_spacing
xy_int_t bilinear_grid_spacing
DISABLED
#define DISABLED(V...)
Definition: macros.h:178
tmc_hybrid_threshold_t::Z
uint32_t Z
Definition: configuration_store.cpp:120
SettingsDataStruct::bilinear_start
xy_int_t bilinear_start
Definition: configuration_store.cpp:195
void
void
Definition: png.h:1083
SettingsDataStruct::ui_preheat_fan_speed
uint8_t ui_preheat_fan_speed[2]
Definition: configuration_store.cpp:241
ExtUI::onStoreSettings
void onStoreSettings(char *)
Definition: marlin_server.cpp:932
DEFAULT_MINIMUMFEEDRATE
#define DEFAULT_MINIMUMFEEDRATE
Definition: Configuration_A3ides_2209_MINI_adv.h:514
runout
FilamentMonitor runout
ExtUI::onLoadSettings
void onLoadSettings(char const *)
Definition: marlin_server.cpp:927
TFilamentMonitor::reset
static void reset()
Definition: runout.h:76
ALIM
#define ALIM(I, ARR)
Definition: configuration_store.cpp:125
tmc_hybrid_threshold_t::E4
uint32_t E4
Definition: configuration_store.cpp:120
tmc_sgt_t::Z
int16_t Z
Definition: configuration_store.cpp:121
planner_settings_t::acceleration
float acceleration
Definition: planner.h:183
tmc_stealth_enabled_t::Z3
bool Z3
Definition: configuration_store.cpp:122
tmc_stealth_enabled_t::E0
bool E0
Definition: configuration_store.cpp:122
PREHEAT_1_FAN_SPEED
#define PREHEAT_1_FAN_SPEED
Definition: Configuration_A3ides_2209_MINI.h:1380
planner_settings_t::max_acceleration_mm_per_s2
uint32_t max_acceleration_mm_per_s2[XYZE_N]
Definition: planner.h:179
pgm_read_float
#define pgm_read_float(addr)
Definition: pgmspace.h:109
SERIAL_ECHOPGM
#define SERIAL_ECHOPGM(S)
Definition: serial.h:173
Planner::reset_acceleration_rates
static void reset_acceleration_rates()
Definition: planner.cpp:2788
configuration_store.h
printStatistics
Definition: printcounter.h:38
tmc_hybrid_threshold_t::E1
uint32_t E1
Definition: configuration_store.cpp:120
reset_stepper_drivers
void reset_stepper_drivers()
Definition: indirection.cpp:41
DEFAULT_ACCELERATION
#define DEFAULT_ACCELERATION
Definition: Configuration_A3ides_2209_MINI.h:707
ExtUI::onFactoryReset
void onFactoryReset()
Definition: marlin_server.cpp:922
SERIAL_ECHOLNPAIR
#define SERIAL_ECHOLNPAIR(V...)
Definition: serial.h:144
SettingsDataStruct::mbl_z_offset
float mbl_z_offset
Definition: configuration_store.cpp:172
XYval< int16_t >
tmc_hybrid_threshold_t::Z2
uint32_t Z2
Definition: configuration_store.cpp:120
createSpeedLookupTable.a
list a
Definition: createSpeedLookupTable.py:29
HOTEND_LOOP
#define HOTEND_LOOP()
Definition: Conditionals_LCD.h:436
scalePID_i
#define scalePID_i(i)
Definition: temperature.h:149
DEFAULT_MINSEGMENTTIME
#define DEFAULT_MINSEGMENTTIME
Definition: Configuration_A3ides_2209_MINI_adv.h:532
SettingsDataStruct::ui_preheat_bed_temp
int16_t ui_preheat_bed_temp[2]
Definition: configuration_store.cpp:239
PIDC_t::Kc
float Kc
Definition: temperature.h:57
SettingsDataStruct::planner_bed_level_matrix
matrix_3x3 planner_bed_level_matrix
Definition: configuration_store.cpp:189
HAS_CLASSIC_JERK
#define HAS_CLASSIC_JERK
Definition: Conditionals_post.h:46
Endstops::z2_endstop_adj
static float z2_endstop_adj
Definition: endstops.h:51
uint8_t
const uint8_t[]
Definition: 404_html.c:3
DEFAULT_MAX_FEEDRATE
#define DEFAULT_MAX_FEEDRATE
Definition: Configuration_A3ides_2209_MINI.h:687
SettingsDataStruct::home_offset
xyz_pos_t home_offset
Definition: configuration_store.cpp:152
AXIS_IS_TMC
#define AXIS_IS_TMC(A)
Definition: drivers.h:91
SettingsDataStruct::planner_filament_size
float planner_filament_size[EXTRUDERS]
Definition: configuration_store.cpp:281
mesh_bed_leveling::z_offset
static float z_offset
Definition: mesh_bed_leveling.h:43
tmc_sgt_t::X2
int16_t X2
Definition: configuration_store.cpp:121
PREHEAT_2_TEMP_BED
#define PREHEAT_2_TEMP_BED
Definition: Configuration_A3ides_2209_MINI.h:1384
skew_factor_t::xz
const float xz
Definition: planner.h:206
SettingsDataStruct::backlash_correction
uint8_t backlash_correction
Definition: configuration_store.cpp:329
delta_tower_angle_trim
abc_float_t delta_tower_angle_trim
tmc_hybrid_threshold_t::Y2
uint32_t Y2
Definition: configuration_store.cpp:120
ui
MarlinUI ui
update_software_endstops
void update_software_endstops(const AxisEnum axis)
Definition: motion.cpp:503
tmc_stealth_enabled_t::Y2
bool Y2
Definition: configuration_store.cpp:122
Z2
Definition: L6470_Marlin.h:30
E_STEPPERS
#define E_STEPPERS
Definition: Conditionals_LCD.h:429
SettingsDataStruct::bedPID
PID_t bedPID
Definition: configuration_store.cpp:252
fwretract_settings_t
Definition: fwretract.h:30
DEBUG_ECHO
#define DEBUG_ECHO(...)
Definition: debug_out.h:75
XYZval::y
T y
Definition: types.h:286
DEFAULT_NOMINAL_FILAMENT_DIA
#define DEFAULT_NOMINAL_FILAMENT_DIA
Definition: Configuration_A3ides_2209_MINI.h:151
MMS_TO_MMM
#define MMS_TO_MMM(MM_S)
Definition: types.h:84
DEFAULT_AXIS_STEPS_PER_UNIT
#define DEFAULT_AXIS_STEPS_PER_UNIT
Definition: Configuration_A3ides_2209_MINI.h:677
Y_AXIS
Definition: types.h:38
PersistentStore::read_data
static bool read_data(int &pos, uint8_t *value, size_t size, uint16_t *crc, const bool writing=true)
tmc_stepper_current_t::E2
uint16_t E2
Definition: configuration_store.cpp:119
hotend_offset
constexpr xyz_pos_t hotend_offset[1]
Definition: motion.h:136
tmc_hybrid_threshold_t::X2
uint32_t X2
Definition: configuration_store.cpp:120
ubl
unified_bed_leveling ubl
NOZZLE_TO_PROBE_OFFSET
#define NOZZLE_TO_PROBE_OFFSET
Definition: Configuration_A3ides_2209_MINI.h:858
PersistentStore::capacity
static size_t capacity()
SettingsDataStruct::esteppers
uint8_t esteppers
Definition: configuration_store.cpp:145
MAX_COORDINATE_SYSTEMS
#define MAX_COORDINATE_SYSTEMS
Definition: gcode.h:322
tmc_stepper_current_t::E4
uint16_t E4
Definition: configuration_store.cpp:119
Z_AXIS
Definition: types.h:39
tmc_stepper_current_t::Y
uint16_t Y
Definition: configuration_store.cpp:119
EXTRUDERS
#define EXTRUDERS
Definition: Configuration_A3ides_2209_MINI.h:148
tmc_hybrid_threshold_t::E3
uint32_t E3
Definition: configuration_store.cpp:120
report_current_position
void report_current_position()
Definition: motion.cpp:199
status
static status_t status
Definition: filament_sensor.c:37
SERIAL_ECHOPAIR_F
#define SERIAL_ECHOPAIR_F(S, V...)
Definition: serial.h:176
pgm_read_dword
#define pgm_read_dword(addr)
Definition: pgmspace.h:105
SettingsDataStruct::bltouch_last_written_mode
bool bltouch_last_written_mode
Definition: configuration_store.cpp:216
E5
Definition: L6470_Marlin.h:30
Endstops::enable_globally
static void enable_globally(const bool onoff=true)
Definition: endstops.cpp:285
SERIAL_EOL
#define SERIAL_EOL()
Definition: serial.h:181
skew_factor_t::xy
const float xy
Definition: planner.h:205
delta_radius
float delta_radius
tmc_stepper_current_t::Z3
uint16_t Z3
Definition: configuration_store.cpp:119
ExtUI::onConfigurationStoreRead
void onConfigurationStoreRead(bool success)
Definition: marlin_server.cpp:941
FilamentMonitorBase::enabled
static bool enabled
Definition: runout.h:53
MarlinSettings::load
static FORCE_INLINE bool load()
Definition: configuration_store.h:79
persistentStore
PersistentStore persistentStore
Definition: persistent_store_api.cpp:28
SettingsDataStruct::ubl_storage_slot
int8_t ubl_storage_slot
Definition: configuration_store.cpp:206
refresh_bed_level
void refresh_bed_level()
HOTENDS
#define HOTENDS
Definition: Conditionals_LCD.h:425
tmc_hybrid_threshold_t::E0
uint32_t E0
Definition: configuration_store.cpp:120
tmc_stepper_current_t::E0
uint16_t E0
Definition: configuration_store.cpp:119
XYZval< float >
VOLUMETRIC_UNIT
#define VOLUMETRIC_UNIT(V)
Definition: parser.h:300
PID_PARAM
#define PID_PARAM(F, H)
Definition: temperature.h:87
tmc_sgt_t::X
int16_t X
Definition: configuration_store.cpp:121
E_AXIS
Definition: types.h:40
SettingsDataStruct::planner_junction_deviation_mm
float planner_junction_deviation_mm
Definition: configuration_store.cpp:150
serialprintPGM
void serialprintPGM(PGM_P str)
Definition: serial.cpp:35
TEMP_UNIT
#define TEMP_UNIT(N)
Definition: parser.h:363
delta_calibration_radius
float delta_calibration_radius
IS_CARTESIAN
#define IS_CARTESIAN
Definition: Conditionals_LCD.h:546
Planner::settings
static planner_settings_t settings
Definition: planner.h:251
SettingsDataStruct::tmc_hybrid_threshold
tmc_hybrid_threshold_t tmc_hybrid_threshold
Definition: configuration_store.cpp:287
SERIAL_ECHOLNPGM
#define SERIAL_ECHOLNPGM(S)
Definition: serial.h:174
X
Definition: L6470_Marlin.h:30
SettingsDataStruct::z3_endstop_adj
float z3_endstop_adj
Definition: configuration_store.cpp:230
tmc_stepper_current_t::X2
uint16_t X2
Definition: configuration_store.cpp:119
XYZval::c
T c
Definition: types.h:287
tmc_sgt_t
Definition: configuration_store.cpp:121
SettingsDataStruct::x2_endstop_adj
float x2_endstop_adj
Definition: configuration_store.cpp:230
SettingsDataStruct::recovery_enabled
bool recovery_enabled
Definition: configuration_store.cpp:269
unified_bed_leveling::echo_name
static void echo_name()
SettingsDataStruct::z_values
float z_values[3][3]
Definition: configuration_store.cpp:199
MarlinSettings
Definition: configuration_store.h:30
planner_settings_t::min_travel_feedrate_mm_s
feedRate_t min_travel_feedrate_mm_s
Definition: planner.h:186
fil_change_settings_t
Definition: pause.h:29
tmc_stepper_current_t::Z2
uint16_t Z2
Definition: configuration_store.cpp:119
Y2
Definition: L6470_Marlin.h:30
tmc_stealth_enabled_t::E1
bool E1
Definition: configuration_store.cpp:122
PID_t
Definition: temperature.h:56
EEPROM_NUM_SERVOS
#define EEPROM_NUM_SERVOS
Definition: configuration_store.cpp:80
probe.h
MarlinSettings::init_eeprom
static FORCE_INLINE bool init_eeprom()
Definition: configuration_store.h:37
thermalManager
Temperature thermalManager
Definition: temperature.cpp:89
UNUSED
#define UNUSED(X)
Definition: stm32f4xx_hal_def.h:74
endstops
Endstops endstops
Definition: endstops.cpp:51
STATS_EEPROM_ADDRESS
#define STATS_EEPROM_ADDRESS
Definition: printcounter.h:33
MarlinSettings::datasize
static uint16_t datasize()
Definition: configuration_store.cpp:346
PrintJobRecovery::enabled
static bool enabled
Definition: power_loss_recovery.h:138
SettingsDataStruct::backlash_distance_mm
xyz_float_t backlash_distance_mm
Definition: configuration_store.cpp:328
DEFAULT_RETRACT_ACCELERATION
#define DEFAULT_RETRACT_ACCELERATION
Definition: Configuration_A3ides_2209_MINI.h:708
tmc_stepper_current_t::Z
uint16_t Z
Definition: configuration_store.cpp:119
planner_settings_t::min_segment_time_us
uint32_t min_segment_time_us
Definition: planner.h:179
tool_change.h
unified_bed_leveling::z_values
static bed_mesh_t z_values
Definition: ubl.h:108
SettingsDataStruct::planner_z_fade_height
float planner_z_fade_height
Definition: configuration_store.cpp:167
ENABLED
#define ENABLED(V...)
Definition: macros.h:177
tmc_stepper_current_t::E3
uint16_t E3
Definition: configuration_store.cpp:119
PREHEAT_1_TEMP_HOTEND
#define PREHEAT_1_TEMP_HOTEND
Definition: Configuration_A3ides_2209_MINI.h:1378
planner
Planner planner
Definition: planner.cpp:111
size
static png_bytep size_t size
Definition: pngwrite.c:2170
createSpeedLookupTable.parser
parser
Definition: createSpeedLookupTable.py:14
PrintJobRecovery::enable
static void enable(const bool onoff)
Planner::skew_factor
static skew_factor_t skew_factor
Definition: planner.h:299