Prusa MINI Firmware overview
Version

Macros

#define LWIP_VERSION_MAJOR   2
 
#define LWIP_VERSION_MINOR   0
 
#define LWIP_VERSION_REVISION   3
 
#define LWIP_VERSION_RC   LWIP_RC_RELEASE
 
#define LWIP_RC_RELEASE   255
 
#define LWIP_RC_DEVELOPMENT   0
 
#define LWIP_VERSION_IS_RELEASE   (LWIP_VERSION_RC == LWIP_RC_RELEASE)
 
#define LWIP_VERSION_IS_DEVELOPMENT   (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT)
 
#define LWIP_VERSION_IS_RC   ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT))
 
#define LWIP_VERSTR2(x)   #x
 
#define LWIP_VERSTR(x)   LWIP_VERSTR2(x)
 
#define LWIP_VERSION_STRING_SUFFIX   ""
 
#define LWIP_VERSION
 
#define LWIP_VERSION_STRING   LWIP_VERSTR(LWIP_VERSION_MAJOR) "." LWIP_VERSTR(LWIP_VERSION_MINOR) "." LWIP_VERSTR(LWIP_VERSION_REVISION) LWIP_VERSION_STRING_SUFFIX
 

Detailed Description

Macro Definition Documentation

◆ LWIP_VERSION_MAJOR

#define LWIP_VERSION_MAJOR   2

X.x.x: Major version of the stack

◆ LWIP_VERSION_MINOR

#define LWIP_VERSION_MINOR   0

x.X.x: Minor version of the stack

◆ LWIP_VERSION_REVISION

#define LWIP_VERSION_REVISION   3

x.x.X: Revision of the stack

◆ LWIP_VERSION_RC

#define LWIP_VERSION_RC   LWIP_RC_RELEASE

For release candidates, this is set to 1..254 For official releases, this is set to 255 (LWIP_RC_RELEASE) For development versions (Git), this is set to 0 (LWIP_RC_DEVELOPMENT)

◆ LWIP_RC_RELEASE

#define LWIP_RC_RELEASE   255

LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases

◆ LWIP_RC_DEVELOPMENT

#define LWIP_RC_DEVELOPMENT   0

LWIP_VERSION_RC is set to LWIP_RC_DEVELOPMENT for Git versions

◆ LWIP_VERSION_IS_RELEASE

#define LWIP_VERSION_IS_RELEASE   (LWIP_VERSION_RC == LWIP_RC_RELEASE)

◆ LWIP_VERSION_IS_DEVELOPMENT

#define LWIP_VERSION_IS_DEVELOPMENT   (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT)

◆ LWIP_VERSION_IS_RC

#define LWIP_VERSION_IS_RC   ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT))

◆ LWIP_VERSTR2

#define LWIP_VERSTR2 (   x)    #x

◆ LWIP_VERSTR

#define LWIP_VERSTR (   x)    LWIP_VERSTR2(x)

◆ LWIP_VERSION_STRING_SUFFIX

#define LWIP_VERSION_STRING_SUFFIX   ""

◆ LWIP_VERSION

#define LWIP_VERSION
Value:

Provides the version of the stack

◆ LWIP_VERSION_STRING

Provides the version of the stack as string

u32_t
uint32_t u32_t
Definition: arch.h:123
LWIP_VERSION_REVISION
#define LWIP_VERSION_REVISION
Definition: init.h:57
LWIP_VERSION_MAJOR
#define LWIP_VERSION_MAJOR
Definition: init.h:53
LWIP_VERSION_MINOR
#define LWIP_VERSION_MINOR
Definition: init.h:55
LWIP_VERSION_RC
#define LWIP_VERSION_RC
Definition: init.h:61