Prusa MINI Firmware overview
|
Go to the documentation of this file.
52 #define pd ((screen_wizard_data_t *)screen->pdata)
60 #endif //_SCREEN_WIZARD
Definition: wizard_types.h:17
void window_set_alignment(int16_t id, uint8_t alignment)
Definition: window.c:561
void screen_wizard_init(screen_t *screen)
Definition: screen_wizard.c:31
int xyzcalib_xy_search(int16_t id_body, xyzcalib_screen_t *p_screen, xyzcalib_data_t *p_data)
Definition: xyzcalib.c:63
void fs_enable()
Definition: filament_sensor.c:90
Definition: window_text.h:15
Definition: wizard_types.h:48
firstlay_data_t firstlay
Definition: screen_wizard.h:41
Definition: wizard_types.h:32
Definition: xyzcalib.h:12
int xyzcalib_xy_measure(int16_t id_body, xyzcalib_screen_t *p_screen, xyzcalib_data_t *p_data)
Definition: xyzcalib.c:75
screen_t screen_wizard
Definition: screen_wizard.c:548
selftest_data_t selftest
Definition: screen_wizard.h:39
int wizard_msgbox1(const char *text, uint16_t flags, uint16_t id_icon)
Definition: wizard_ui.c:47
variant8_t variant8_ui8(uint8_t ui8)
Definition: variant8.c:18
screen_variant_t screen_variant
Definition: screen_wizard.h:38
Definition: wizard_types.h:10
Definition: wizard_types.h:30
Definition: window_frame.h:18
void wizard_done_screen(screen_t *screen)
Definition: screen_wizard.c:543
int wizard_selftest_cool(int16_t id_body, selftest_cool_screen_t *p_screen, selftest_cool_data_t *p_data)
Definition: selftest_cool.c:77
int wizard_firstlay_print(int16_t id_body, firstlay_screen_t *p_screen, firstlay_data_t *p_data, float z_offset)
Definition: firstlay.c:118
Definition: selftest_home.h:25
Definition: filament.h:26
int xyzcalib_home(int16_t id_body, xyzcalib_screen_t *p_screen, xyzcalib_data_t *p_data)
Definition: xyzcalib.c:39
Definition: firstlay.h:30
Definition: filament_sensor.h:22
uint8_t flags
Definition: screen_wizard.h:37
void wizard_init(float t_noz, float t_bed)
Definition: wizard_ui.c:111
Definition: wizard_types.h:43
float z_offset
Definition: marlin_vars.h:87
#define pd
Definition: screen_filebrowser.cpp:39
void window_destroy_children(int16_t id)
Definition: window.c:157
selftest_home_screen_t selftest_home_screen
Definition: screen_wizard.h:18
#define WINDOW_EVENT_ENC_UP
Definition: window.h:41
#define MSGBOX_RES_NO
Definition: window_msgbox.h:45
void window_invalidate(int16_t id)
Definition: window.c:304
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
#define _START_TEMP_BED
Definition: wizard_config.h:46
int marlin_processing(void)
Definition: marlin_client.c:145
int xyzcalib_z(int16_t id_body, xyzcalib_screen_t *p_screen, xyzcalib_data_t *p_data)
Definition: xyzcalib.c:53
void window_destroy(int16_t id)
Definition: window.c:132
window_frame_t frame_footer
Definition: screen_wizard.h:31
#define EEVAR_RUN_FIRSTLAY
Definition: eeprom.h:16
LD_UNLD_STATE_t wizard_load_unload(LD_UNLD_STATE_t state)
Definition: wizard_load_unload.c:74
#define WINDOW_FLG_VISIBLE
Definition: window.h:24
int xyzcalib_is_ok(int16_t id_body, xyzcalib_screen_t *p_screen, xyzcalib_data_t *p_data)
Definition: xyzcalib.c:92
_TEST_STATE_t
Definition: wizard_types.h:84
selftest_temp_screen_t selftest_temp_screen
Definition: screen_wizard.h:20
#define IDR_PNG_icon_pepa
Definition: resource.h:44
void wizard_init_disable_PID(float t_noz, float t_bed)
Definition: wizard_ui.c:135
int wizard_selftest_y(int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data)
Definition: selftest_fans_axis.c:367
static int is_state_in_wizard_mask(wizard_state_t st)
Definition: screen_wizard.c:19
_TEST_STATE_t state_print
Definition: firstlay.h:67
void eeprom_set_var(uint8_t id, variant8_t var)
Definition: eeprom.c:88
Definition: wizard_types.h:18
selftest_cool_screen_t selftest_cool_screen
Definition: screen_wizard.h:19
void wizard_ui_set_progress(int ctl, float val)
int wizard_selftest_is_ok(int16_t id_body, selftest_data_t *p_data)
Definition: selftest.c:5
wizard_state_t state
Definition: screen_wizard.h:36
firstlay_screen_t firstlay_screen
Definition: screen_wizard.h:23
Definition: screen_wizard.h:16
#define MSGBOX_DEF_BUTTON1
Definition: window_msgbox.h:55
const char * wizard_get_caption(screen_t *screen)
Definition: screen_wizard.c:494
const filament_t filaments[FILAMENTS_END]
Definition: filament.cpp:20
Definition: wizard_types.h:46
Definition: wizard_types.h:15
Definition: wizard_types.h:35
#define ALIGN_LEFT_BOTTOM
Definition: guitypes.h:22
void window_show(int16_t id)
Definition: window.c:529
Definition: wizard_types.h:20
Definition: filament.h:27
Definition: wizard_types.h:42
void wizard_firstlay_event_dn(firstlay_screen_t *p_screen)
Definition: firstlay.c:241
Definition: selftest_cool.h:17
Definition: wizard_types.h:13
void screen_close(void)
Definition: screen.c:80
Definition: wizard_types.h:36
Definition: wizard_types.h:31
LD_UNLD_STATE_t load_unload_state
Definition: firstlay.h:43
#define _START_TEMP_NOZ
Definition: wizard_config.h:47
int wizard_selftest_z(int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data)
Definition: selftest_fans_axis.c:378
Definition: wizard_types.h:28
#define MSGBOX_BTN_DONE
Definition: wizard_ui.h:13
Definition: selftest_temp.h:27
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
Definition: wizard_types.h:19
xyzcalib_screen_t xyzcalib_screen
Definition: screen_wizard.h:22
#define EEVAR_RUN_XYZCALIB
Definition: eeprom.h:15
Definition: wizard_types.h:16
Definition: wizard_types.h:37
#define EEVAR_RUN_SELFTEST
Definition: eeprom.h:14
Definition: wizard_types.h:45
Definition: wizard_types.h:39
window_frame_t frame
Definition: screen_wizard.h:30
Definition: wizard_types.h:22
Definition: wizard_types.h:21
Definition: selftest_temp.h:16
static _TEST_STATE_t init_state(wizard_state_t st)
Definition: screen_wizard.c:23
uint64_t wizard_mask
Definition: screen_wizard.c:17
#define MSGBOX_RES_YES
Definition: window_msgbox.h:44
Definition: wizard_types.h:11
#define WINDOW_CLS_FRAME
Definition: window.h:9
void wizard_done_screen(screen_t *screen)
Definition: screen_wizard.c:543
FILAMENT_t get_filament()
Definition: filament.cpp:41
Definition: firstlay.h:63
Definition: filament_sensor.h:20
fsensor_t fs_get_state()
Definition: filament_sensor.c:67
Definition: wizard_types.h:27
Definition: wizard_types.h:40
int wizard_selftest_fan0(int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data)
Definition: selftest_fans_axis.c:81
Definition: selftest_cool.h:30
void marlin_gcode(const char *gcode)
Definition: marlin_client.c:195
marlin_vars_t * marlin_update_vars(uint64_t msk)
Definition: marlin_client.c:368
Definition: wizard_types.h:41
int wizard_selftest_home(int16_t id_body, selftest_home_screen_t *p_screen, selftest_home_data_t *p_data)
Definition: selftest_home.c:28
int wizard_selftest_fan1(int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data)
Definition: selftest_fans_axis.c:99
Definition: wizard_load_unload.h:15
window_frame_t frame_body
Definition: screen_wizard.h:35
const uint8_t[]
Definition: 404_html.c:3
#define MARLIN_VAR_MSK(v_id)
Definition: marlin_vars.h:35
float Z_offset
Definition: firstlay.h:49
void window_hide(int16_t id)
Definition: window.c:539
Definition: xyzcalib.h:22
Definition: selftest.h:21
Definition: wizard_types.h:26
#define WINDOW_CLS_TEXT
Definition: window.h:10
void screen_wizard_draw(screen_t *screen)
Definition: screen_wizard.c:98
Definition: wizard_types.h:85
void wizard_firstlay_event_up(firstlay_screen_t *p_screen)
Definition: firstlay.c:249
Definition: selftest_fans_axis.h:16
#define MSGBOX_BTN_YESNO
Definition: window_msgbox.h:24
This file contains all the functions prototypes for the HAL module driver.
int16_t window_create_ptr(int16_t cls_id, int16_t id_parent, rect_ui16_t rect, void *ptr)
Definition: window.c:102
Definition: filament_sensor.h:21
Definition: wizard_types.h:9
wizard_state_t
Definition: wizard_types.h:7
Definition: wizard_types.h:8
Definition: wizard_types.h:23
Definition: marlin_vars.h:77
void marlin_start_processing(void)
Definition: marlin_client.c:174
void screen_wizard_done(screen_t *screen)
Definition: screen_wizard.c:81
int wizard_selftest_temp(int16_t id_body, selftest_temp_screen_t *p_screen, selftest_temp_data_t *p_data)
Definition: selftest_temp.c:131
Definition: screen_wizard.h:28
Definition: selftest_fans_axis.h:37
FILAMENT_t
Definition: filament.h:25
#define WINDOW_EVENT_LOOP
Definition: window.h:49
float marlin_set_z_offset(float val)
Definition: marlin_client.c:409
fsensor_t fs_wait_inicialized()
Definition: filament_sensor.c:104
Definition: wizard_load_unload.h:10
int wizard_msgbox(const char *text, uint16_t flags, uint16_t id_icon)
Definition: wizard_ui.c:42
xyzcalib_data_t xyzcalib
Definition: screen_wizard.h:40
Definition: selftest_home.h:16
selftest_fans_axis_screen_t selftest_fans_axis_screen
Definition: screen_wizard.h:17
int screen_wizard_event(screen_t *screen, window_t *window, uint8_t event, void *param)
Definition: screen_wizard.c:101
void fs_disable()
Definition: filament_sensor.c:97
Definition: wizard_types.h:29
uint16_t marlin_set_print_speed(uint16_t val)
Definition: marlin_client.c:417
Definition: wizard_types.h:44
Nozzle nozzle
Definition: nozzle.cpp:29
Definition: wizard_types.h:34
Definition: wizard_types.h:24
const char * wizard_get_caption(screen_t *screen)
Definition: screen_wizard.c:494
const screen_t * pscreen_wizard
Definition: screen_wizard.c:559
window_text_t header
Definition: screen_wizard.h:33
#define MSGBOX_BTN_NEXT
Definition: wizard_ui.h:12
#define WINDOW_EVENT_ENC_DN
Definition: window.h:40
Definition: wizard_types.h:14
#define MARLIN_VAR_Z_OFFSET
Definition: marlin_vars.h:23
Definition: wizard_types.h:87
int wizard_selftest_x(int16_t id_body, selftest_fans_axis_screen_t *p_screen, selftest_fans_axis_data_t *p_data)
Definition: selftest_fans_axis.c:356
status_footer_t footer
Definition: screen_wizard.h:34
Definition: wizard_types.h:33