Prusa MINI Firmware overview
|
◆ update_firmware_screen()
254 render_text_align(
rect_ui16(5, 250, 230, 40),
"RESET PRINTER", font1,
COLOR_ORANGE,
COLOR_WHITE,
padding_ui8(2, 6, 2, 2),
ALIGN_CENTER);
◆ gui_run()
176 #ifdef PIDCALIBRATION
178 #endif //PIDCALIBRATION
196 int8_t gui_timeout_id;
222 #ifdef PIDCALIBRATION
223 if (curr != pscreen_PID) {
224 #endif //PIDCALIBRATION
229 #ifdef PIDCALIBRATION
231 #endif //PIDCALIBRATION
◆ pscreen_splash
◆ pscreen_watchdog
◆ pscreen_test
◆ pscreen_test_gui
◆ pscreen_test_term
◆ pscreen_test_msgbox
◆ pscreen_test_graph
◆ pscreen_test_temperature
◆ pscreen_home
◆ pscreen_filebrowser
◆ pscreen_printing
◆ pscreen_menu_preheat
◆ pscreen_menu_filament
◆ pscreen_preheating
◆ pscreen_menu_calibration
◆ pscreen_menu_settings
◆ pscreen_menu_temperature
◆ pscreen_menu_move
◆ pscreen_menu_info
◆ pscreen_menu_tune
◆ pscreen_menu_service
◆ pscreen_sysinfo
◆ pscreen_version_info
◆ pscreen_test_disp_mem
◆ pscreen_messages
◆ pscreen_mesh_bed_lv
◆ pscreen_wizard
◆ HAL_IWDG_Reset
◆ hspi2
◆ hiwdg
Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
◆ guimain_spi_test
◆ st7789v_cfg
◆ jogwheel_cfg
◆ gui_marlin_vars
◆ menu_timeout_enabled
int8_t menu_timeout_enabled = 1 |
#define RENDER_FLG(a, r)
Definition: display_helper.h:10
screen_t * pscreen_test_msgbox
Definition: screen_test_msgbox.c:147
screen_t * pscreen_test_term
Definition: screen_test_term.c:78
int16_t window_register_class(window_class_t *cls)
Definition: window.c:90
jogwheel_config_t jogwheel_config
Definition: jogwheel.c:95
int16_t WINDOW_CLS_DLG_LOADUNLOAD
Definition: window_dlg_statemachine.c:37
uint16_t window_msgbox_id_icon[5]
Definition: window_msgbox.c:62
screen_t *const pscreen_lan_settings
Definition: screen_lan_settings.c:294
gui_loop_cb_t * gui_loop_cb
Definition: gui.c:32
#define MARLIN_EVT_SafetyTimerExpired
Definition: marlin_events.h:35
Definition: guitypes.h:76
int16_t WINDOW_CLS_LCDSIM
Definition: window_lcdsim.c:6
#define COLOR_WHITE
Definition: guitypes.h:41
uint8_t jogwheel_changed
Definition: jogwheel.c:14
void sys_reset(void)
Definition: sys.cpp:20
void update_firmware_screen(void)
Definition: guimain.c:247
void gui_init(void)
Definition: gui.c:43
uint8_t marlin_message_received(void)
Definition: marlin_client.c:507
const window_class_dlg_preheat_t window_class_dlg_preheat
Definition: window_dlg_preheat.c:114
screen_t * pscreen_menu_calibration
Definition: screen_menu_calibration.c:101
int16_t screen_register(screen_t *pscreen)
Definition: screen.c:24
#define ALIGN_CENTER
Definition: guitypes.h:19
static rect_ui16_t rect_ui16(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
Definition: guitypes.h:159
font_t * font
Definition: guitypes.h:110
const jogwheel_config_t jogwheel_cfg
Definition: guimain.c:95
static padding_ui8_t padding_ui8(uint8_t l, uint8_t t, uint8_t r, uint8_t b)
Definition: guitypes.h:164
#define IDR_FNT_NORMAL
Definition: resource.h:10
int16_t WINDOW_CLS_DLG_PREHEAT
Definition: window_dlg_preheat.c:22
#define MSGBOX_ICO_WARNING
Definition: window_msgbox.h:35
#define IDR_FNT_SPECIAL
Definition: resource.h:13
screen_t * pscreen_menu_service
Definition: screen_menu_service.c:147
screen_t * pscreen_filebrowser
Definition: screen_filebrowser.cpp:177
#define MARLIN_CMD_M600
Definition: marlin_events.h:57
#define IDR_PNG_icon_pepa
Definition: resource.h:44
display_draw_text_t * draw_text
Definition: display.h:35
#define ST7789V_DEF_MADCTL
Definition: st7789v.h:14
int diag_fastboot
Definition: diag.c:11
void screen_open(int16_t screen_id)
Definition: screen.c:62
screen_t * pscreen_menu_preheat
Definition: screen_menu_preheat.cpp:93
void marlin_client_loop(void)
Definition: marlin_client.c:118
#define NULL
Definition: usbd_def.h:53
#define F(str)
Definition: UHS_macros.h:164
int16_t WINDOW_CLS_LOGO
Definition: window_logo.c:11
const screen_t * pscreen_marlin
Definition: screen_marlin.c:33
screen_t * pscreen_menu_filament
Definition: screen_menu_filament.c:124
screen_t * screen_get_curr(void)
Definition: screen.c:114
const window_class_dlg_wait_t window_class_dlg_wait
Definition: window_dlg_wait.c:128
#define MSGBOX_BTN_OK
Definition: window_msgbox.h:20
const window_class_file_list_t window_class_file_list
Definition: window_file_list.c:250
int16_t WINDOW_CLS_DLG_WAIT
Definition: window_dlg_wait.c:25
osStatus osDelay(uint32_t millisec)
Wait for Timeout (Time Delay)
Definition: cmsis_os.c:365
display_fill_rect_t * fill_rect
Definition: display.h:33
dlg_result_t gui_dlg_change(void)
Definition: window_dlg_change.c:35
void screen_close(void)
Definition: screen.c:80
#define IDR_PNG_header_icon_question
Definition: resource.h:69
screen_t * pscreen_wizard
Definition: screen_wizard.c:559
screen_t * pscreen_splash
Definition: screen_splash.c:144
const window_class_temp_graph_t window_class_temp_graph
Definition: window_temp_graph.c:132
HAL_StatusTypeDef HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg)
const st7789v_config_t st7789v_cfg
Definition: guimain.c:85
screen_t * pscreen_mesh_bed_lv
Definition: screen_mesh_bed_lv.cpp:228
#define COLOR_ORANGE
Definition: guitypes.h:57
marlin_vars_t * marlin_client_init(void)
Definition: marlin_client.c:84
screen_t * pscreen_printing
Definition: screen_printing.cpp:161
screen_t * pscreen_menu_info
Definition: screen_menu_info.c:66
screen_t * pscreen_menu_move
Definition: screen_menu_move.c:85
int sys_fw_is_valid(void)
Definition: sys.cpp:266
screen_t * pscreen_test_temperature
Definition: screen_test_temperature.cpp:109
#define JOGWHEEL_PIN_EN1
Definition: config_a3ides2209_02.h:59
#define MARLIN_EVT_CommandBegin
Definition: marlin_events.h:33
#define JOGWHEEL_PIN_ENC
Definition: config_a3ides2209_02.h:61
SPI_HandleTypeDef hspi2
Definition: main.c:81
#define IDR_PNG_header_icon_error
Definition: resource.h:67
#define JOGWHEEL_DEF_FLG
Definition: jogwheel.h:15
void screen_stack_push(int16_t screen_id)
Definition: screen.c:48
uint8_t flg
Definition: jogwheel.h:24
uint16_t jogwheel_button_down
Definition: jogwheel.c:13
int HAL_IWDG_Reset
Definition: main.c:103
IWDG_HandleTypeDef hiwdg
Definition: watchdog.h:24
const window_class_logo_t window_class_logo
Definition: window_logo.c:51
#define JOGWHEEL_FLG_INV_DIR
Definition: jogwheel.h:8
marlin_vars_t * gui_marlin_vars
Definition: guimain.c:102
void render_text_align(rect_ui16_t rc, const char *text, font_t *font, color_t clr0, color_t clr1, padding_ui8_t padding, uint16_t flags)
Definition: display_helper.c:6
#define IDR_PNG_header_icon_info
Definition: resource.h:66
screen_t * pscreen_test_gui
Definition: screen_test_gui.c:131
#define IDR_FNT_BIG
Definition: resource.h:11
#define _dbg(...)
Definition: dbg.h:50
#define IDR_PNG_header_icon_warning
Definition: resource.h:68
display_t * display
Definition: display.c:6
screen_t * pscreen_menu_settings
Definition: screen_menu_settings.c:133
screen_t * pscreen_test_graph
Definition: screen_test_graph.c:111
uint32_t marlin_command(void)
Definition: marlin_client.c:159
screen_t * pscreen_home
Definition: screen_home.cpp:278
font_t * resource_font(uint16_t id)
Definition: guitypes.c:186
int16_t WINDOW_CLS_FILE_LIST
Definition: window_file_list.c:24
#define ST7789V_DEF_COLMOD
Definition: st7789v.h:13
int8_t gui_get_menu_timeout_id(void)
Definition: gui_timer.c:147
#define ST7789V_FLG_DMA
Definition: st7789v.h:9
#define ST7789V_PIN_RS
Definition: config_a3ides2209_02.h:54
#define COLOR_BLACK
Definition: guitypes.h:40
int16_t id
Definition: screen.h:19
const window_class_dlg_statemachine_t window_class_dlg_statemachine
Definition: window_dlg_statemachine.c:246
#define JOGWHEEL_PIN_EN2
Definition: config_a3ides2209_02.h:60
#define WINDOW_EVENT_MESSAGE
Definition: window.h:51
screen_t * pscreen_test
Definition: screen_test.c:157
#define ST7789V_PIN_CS
Definition: config_a3ides2209_02.h:53
font_t * font_big
Definition: guitypes.h:111
gui_defaults_t gui_defaults
Definition: gui.c:20
void render_icon_align(rect_ui16_t rc, uint16_t id_res, color_t clr0, uint16_t flags)
Definition: display_helper.c:55
uint16_t st7789v_reset_delay
Definition: st7789v.c:920
void hwio_beeper_tone2(float frq, uint32_t del, float vol)
Definition: hwio_a3ides_2209_02.c:530
screen_t * pscreen_sysinfo
Definition: screen_sysinf.c:123
void screen_dispatch_event(window_t *window, uint8_t event, void *param)
Definition: screen.c:103
int8_t gui_timer_expired(int8_t id)
Definition: gui_timer.c:139
#define ST7789V_PIN_RST
Definition: config_a3ides2209_02.h:55
int8_t menu_timeout_enabled
Definition: guimain.c:103
screen_t * pscreen_menu_tune
Definition: screen_menu_tune.cpp:203
screen_t *const pscreen_print_preview
Definition: screen_print_preview.c:77
screen_t * pscreen_watchdog
Definition: screen_watchdog.c:78
void gui_timer_delete(int8_t id)
Definition: gui_timer.c:79
int16_t WINDOW_CLS_TEMP_GRAPH
Definition: window_temp_graph.c:8
screen_t * pscreen_menu_temperature
Definition: screen_menu_temperature.c:76
screen_t * pscreen_messages
Definition: screen_messages.c:122
screen_t * pscreen_version_info
Definition: screen_version_info.cpp:109
const window_class_lcdsim_t window_class_lcdsim
Definition: window_lcdsim.c:58
int marlin_event_clr(uint8_t evt_id)
Definition: marlin_client.c:252
st7789v_config_t st7789v_config
Definition: st7789v.c:905
screen_t * pscreen_test_disp_mem
Definition: screen_test_disp_mem.c:629