Prusa MINI Firmware overview
|
Go to the documentation of this file.
28 #define FIRSTLAY_SCREEN_TERM_X 25
29 #define FIRSTLAY_SCREEN_TERM_Y 10
_FL_STATE state
Definition: firstlay.h:32
Definition: window_text.h:15
window_text_t text_Z_pos
Definition: firstlay.h:45
static uint32_t line_head
Definition: firstlay.c:35
Definition: firstlay.h:25
const size_t V2_gcodes_head_PETG_sz
Definition: firstlay.c:25
window_numb_t spin_baby_step
Definition: firstlay.h:47
const size_t max_gcodes_in_one_run
Definition: firstlay.c:33
#define FIRSTLAY_SCREEN_TERM_Y
Definition: firstlay.h:29
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
void _set_gcode_first_lines()
Definition: firstlay.c:444
#define WINDOW_CLS_TERM
Definition: window.h:17
Definition: firstlay.h:30
static size_t head_gcode_sz
Definition: firstlay.c:40
#define WINDOW_CLS_NUMB
Definition: window.h:11
const char * V2_gcodes_head_FLEX[]
Definition: firstlay.c:21
Definition: wizard_types.h:88
Definition: firstlay.h:24
const char * V2_gcodes_head_ASA[]
Definition: firstlay.c:20
void window_destroy_children(int16_t id)
Definition: window.c:157
Definition: firstlay.h:22
void window_set_format(int16_t id, const char *format)
Definition: window.c:403
color_t color_text
Definition: window_numb.h:20
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
uint16_t x
Definition: guitypes.h:65
term_t * term
Definition: window_term.h:20
#define WIZARD_MARGIN_LEFT
Definition: wizard_ui.h:8
_FL_STATE
Definition: firstlay.h:21
#define IDR_FNT_NORMAL
Definition: resource.h:10
_TEST_STATE_t
Definition: wizard_types.h:84
static const char ** head_gcode
Definition: firstlay.c:38
void marlin_do_babysteps_Z(float offs)
Definition: marlin_client.c:433
Definition: filament.h:28
_TEST_STATE_t state_print
Definition: firstlay.h:67
void _wizard_firstlay_Z_step(firstlay_screen_t *p_screen)
Definition: firstlay.c:257
#define FIRSTLAY_SCREEN_TERM_X
Definition: firstlay.h:28
#define NULL
Definition: usbd_def.h:53
const size_t commands_in_queue_use_max
Definition: firstlay.c:32
window_progress_t progress
Definition: firstlay.h:33
void window_show(int16_t id)
Definition: window.c:529
static const char * _wizard_firstlay_text
Definition: firstlay.c:52
Definition: filament.h:27
int marlin_error_clr(uint8_t err_id)
Definition: marlin_client.c:324
void wizard_firstlay_event_dn(firstlay_screen_t *p_screen)
Definition: firstlay.c:241
Definition: guitypes.h:64
int16_t id
Definition: window.h:79
const size_t V2_gcodes_head_FLEX_sz
Definition: firstlay.c:27
LD_UNLD_STATE_t load_unload_state
Definition: firstlay.h:43
#define COLOR_GRAY
Definition: guitypes.h:50
#define MARLIN_ERR_ProbingFailed
Definition: marlin_errors.h:9
static const char ** body_gcode
Definition: firstlay.c:39
Definition: window_numb.h:17
#define WIZARD_X_SPACE
Definition: wizard_ui.h:10
window_t win
Definition: window_term.h:16
void window_set_text(int16_t id, const char *text)
Definition: window.c:340
uint8_t marlin_get_gqueue(void)
Definition: marlin_client.c:381
#define COLOR_ORANGE
Definition: guitypes.h:57
float Z_offset_request
Definition: firstlay.h:50
#define WINDOW_CLS_PROGRESS
Definition: window.h:20
uint16_t y
Definition: guitypes.h:66
float extruder_start_len
Definition: firstlay.h:42
LD_UNLD_STATE_t
Definition: wizard_load_unload.h:9
const char * V2_gcodes_head_PETG[]
Definition: firstlay.c:19
#define V__GCODES_HEAD_END
Definition: firstlay.c:288
#define MSGBOX_BTN_RETRYCANCEL
Definition: window_msgbox.h:25
Definition: wizard_types.h:86
static size_t gcode_sz
Definition: firstlay.c:42
static size_t G28_pos
Definition: firstlay.c:43
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
void window_set_value(int16_t id, float value)
Definition: window.c:363
FILAMENT_t get_filament()
Definition: filament.cpp:41
const char * V2_gcodes_body[]
Definition: firstlay.c:22
Definition: firstlay.h:63
static size_t body_gcode_sz
Definition: firstlay.c:41
Definition: filament.h:30
static size_t G29_pos
Definition: firstlay.c:44
void wizard_firstlay_event_dn(firstlay_screen_t *p_screen)
Definition: firstlay.c:241
void marlin_gcode(const char *gcode)
Definition: marlin_client.c:195
int _run_gcode_line(uint32_t *p_line, const char *gcodes[], size_t gcodes_count)
Definition: firstlay.c:450
const uint8_t[]
Definition: 404_html.c:3
const size_t commands_in_queue_size
Definition: firstlay.c:31
void wizard_init_screen_firstlay(int16_t id_body, firstlay_screen_t *p_screen, firstlay_data_t *p_data)
Definition: firstlay.c:67
float Z_offset
Definition: firstlay.h:49
_TEST_STATE_t state_load
Definition: firstlay.h:66
#define WINDOW_CLS_TEXT
Definition: window.h:10
window_text_t text_state
Definition: firstlay.h:35
Definition: wizard_types.h:85
void wizard_firstlay_event_up(firstlay_screen_t *p_screen)
Definition: firstlay.c:249
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
#define MSGBOX_RES_RETRY
Definition: window_msgbox.h:42
void term_init(term_t *pt, uint8_t cols, uint8_t rows, uint8_t *buff)
Definition: term.c:6
window_text_t text_direction_arrow
Definition: firstlay.h:46
const size_t V2_gcodes_body_sz
Definition: firstlay.c:28
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
#define IDR_FNT_SMALL
Definition: resource.h:9
#define V__GCODES_HEAD_BEGIN
Definition: firstlay.c:283
uint32_t timer0
Definition: firstlay.h:59
Definition: window_term.h:15
static uint32_t line_body
Definition: firstlay.c:36
const char * V2_gcodes_head_PLA[]
Definition: firstlay.c:18
font_t * font
Definition: window_text.h:19
int wizard_msgbox(const char *text, uint16_t flags, uint16_t id_icon)
Definition: wizard_ui.c:42
int marlin_error(uint8_t err_id)
Definition: marlin_client.c:304
const size_t V2_gcodes_head_PLA_sz
Definition: firstlay.c:24
void wizard_firstlay_event_up(firstlay_screen_t *p_screen)
Definition: firstlay.c:249
#define TERM_BUFF_SIZE(c, r)
Definition: term.h:36
const size_t V2_gcodes_head_ASA_sz
Definition: firstlay.c:26
int _get_progress()
Definition: firstlay.c:435
Definition: firstlay.h:23
point_ui16_t font_meas_text(font_t *pf, const char *str)
Definition: guitypes.c:97
void wizard_init_screen_firstlay(int16_t id_body, firstlay_screen_t *p_screen, firstlay_data_t *p_data)
Definition: firstlay.c:67
window_t win
Definition: window_progress.h:16
Definition: window_progress.h:15
window_t win
Definition: window_numb.h:18
window_t win
Definition: window_text.h:16
Definition: wizard_types.h:87
int term_printf(term_t *pt, const char *fmt,...)
Definition: term.c:178
Definition: filament.h:29