Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
Functions
menu_support.cpp File Reference
#include "
sys.h
"
#include "../Marlin/src/lcd/menu/menu.h"
Functions
void
menu_support
()
Function Documentation
◆
menu_support()
void
menu_support
(
)
8
{
9
START_MENU();
10
MENU_BACK(MSG_MAIN);
11
// 01234567890123456789
12
// STATIC_ITEM_P("");
13
#if (BOARD == A3IDES2209_REV01)
14
STATIC_ITEM_P(
"Marlin-A3ides 2209"
);
15
#elif (BOARD == A3IDES2209_REV02)
16
STATIC_ITEM_P(
"Marlin-A3ides 2209-2"
);
17
#elif (BOARD == A3IDES2130_REV01)
18
STATIC_ITEM_P(
"Marlin-A3ides 2130"
);
19
#else
20
STATIC_ITEM_P(
"Marlin - A3ides ????"
);
21
#endif
22
char
version[32];
23
char
build[32];
24
int
ver_maj = FW_VERSION / 100;
25
int
ver_min = (FW_VERSION - 100 * ver_maj) / 10;
26
int
ver_sub = FW_VERSION % 10;
27
const
char
*stages[] = {
"pre-alpha"
,
"alpha"
,
"beta"
,
"RC"
,
"final"
};
28
sprintf(version,
" %d.%d.%d %s"
, ver_maj, ver_min, ver_sub, (
char
*)stages[FW_STAGENR]);
29
#if (PRINTER_TYPE == PRINTER_PRUSA_MINI)
30
const
char
*printer =
"MINI"
;
31
#else
32
const
char
*printer =
"???"
;
33
#endif
34
#ifdef _DEBUG
35
sprintf(build,
" %d%s (DEBUG_%s)"
,
version_build_nr
, (
char
*)
FW_BUILDSX
, printer);
36
#else //_DEBUG
37
sprintf(build,
" %d%s (%s)"
,
version_build_nr
, (
char
*)
FW_BUILDSX
, printer);
38
#endif //_DEBUG
39
STATIC_ITEM_P(
"version: "
);
40
STATIC_ITEM(version);
41
STATIC_ITEM_P(
"build: "
);
42
STATIC_ITEM(build);
43
END_MENU();
44
}
FW_BUILDSX
#define FW_BUILDSX
Definition:
config.h:12
version_build_nr
const int version_build_nr
build number
Definition:
version.c:44
Prusa-Firmware-Buddy-Private1
src
common
menu_support.cpp
Generated by
1.8.16