ChibiOS 21.11.4
License Settings

Detailed Description

This module contains all the definitions required for defining a licensing scheme for customers or public releases.

Collaboration diagram for License Settings:

Allowed Features Levels

#define CH_FEATURES_BASIC   0
#define CH_FEATURES_INTERMEDIATE   1
#define CH_FEATURES_FULL   2

Deployment Options

#define CH_DEPLOY_UNLIMITED   -1
#define CH_DEPLOY_NONE   0

Licensing Options

#define CH_LICENSE_GPL   0
#define CH_LICENSE_GPL_EXCEPTION   1
#define CH_LICENSE_COMMERCIAL_FREE   2
#define CH_LICENSE_COMMERCIAL_DEV_1000   3
#define CH_LICENSE_COMMERCIAL_DEV_5000   4
#define CH_LICENSE_COMMERCIAL_FULL   5
#define CH_LICENSE_COMMERCIAL_RUNTIME   6
#define CH_LICENSE_PARTNER   7

Macros

#define CH_LICENSE_TYPE_STRING   "GNU General Public License 3 (GPL3)"
 License identification string.
#define CH_LICENSE_ID_STRING   "N/A"
 Customer identification string.
#define CH_LICENSE_ID_CODE   "N/A"
 Customer code.
#define CH_LICENSE_MODIFIABLE_CODE   TRUE
 Code modifiability restrictions.
#define CH_LICENSE_FEATURES   CH_FEATURES_FULL
 Code functionality restrictions.
#define CH_LICENSE_MAX_DEPLOY   CH_DEPLOY_UNLIMITED
 Code deploy restrictions.

Macro Definition Documentation

◆ CH_FEATURES_BASIC

#define CH_FEATURES_BASIC   0

Definition at line 41 of file chlicense.h.

◆ CH_FEATURES_INTERMEDIATE

#define CH_FEATURES_INTERMEDIATE   1

Definition at line 42 of file chlicense.h.

◆ CH_FEATURES_FULL

#define CH_FEATURES_FULL   2

Definition at line 43 of file chlicense.h.

◆ CH_DEPLOY_UNLIMITED

#define CH_DEPLOY_UNLIMITED   -1

Definition at line 50 of file chlicense.h.

◆ CH_DEPLOY_NONE

#define CH_DEPLOY_NONE   0

Definition at line 51 of file chlicense.h.

◆ CH_LICENSE_GPL

#define CH_LICENSE_GPL   0

Definition at line 58 of file chlicense.h.

◆ CH_LICENSE_GPL_EXCEPTION

#define CH_LICENSE_GPL_EXCEPTION   1

Definition at line 59 of file chlicense.h.

◆ CH_LICENSE_COMMERCIAL_FREE

#define CH_LICENSE_COMMERCIAL_FREE   2

Definition at line 60 of file chlicense.h.

◆ CH_LICENSE_COMMERCIAL_DEV_1000

#define CH_LICENSE_COMMERCIAL_DEV_1000   3

Definition at line 61 of file chlicense.h.

◆ CH_LICENSE_COMMERCIAL_DEV_5000

#define CH_LICENSE_COMMERCIAL_DEV_5000   4

Definition at line 62 of file chlicense.h.

◆ CH_LICENSE_COMMERCIAL_FULL

#define CH_LICENSE_COMMERCIAL_FULL   5

Definition at line 63 of file chlicense.h.

◆ CH_LICENSE_COMMERCIAL_RUNTIME

#define CH_LICENSE_COMMERCIAL_RUNTIME   6

Definition at line 64 of file chlicense.h.

◆ CH_LICENSE_PARTNER

#define CH_LICENSE_PARTNER   7

Definition at line 65 of file chlicense.h.

◆ CH_LICENSE_TYPE_STRING

#define CH_LICENSE_TYPE_STRING   "GNU General Public License 3 (GPL3)"

License identification string.

This string identifies the license in a machine-readable format.

Definition at line 196 of file chlicense.h.

◆ CH_LICENSE_ID_STRING

#define CH_LICENSE_ID_STRING   "N/A"

Customer identification string.

This information is only available for registered commercial users.

Definition at line 202 of file chlicense.h.

◆ CH_LICENSE_ID_CODE

#define CH_LICENSE_ID_CODE   "N/A"

Customer code.

This information is only available for registered commercial users.

Definition at line 208 of file chlicense.h.

◆ CH_LICENSE_MODIFIABLE_CODE

#define CH_LICENSE_MODIFIABLE_CODE   TRUE

Code modifiability restrictions.

This setting defines if the source code is user-modifiable or not.

Definition at line 214 of file chlicense.h.

◆ CH_LICENSE_FEATURES

#define CH_LICENSE_FEATURES   CH_FEATURES_FULL

Code functionality restrictions.

Definition at line 219 of file chlicense.h.

◆ CH_LICENSE_MAX_DEPLOY

#define CH_LICENSE_MAX_DEPLOY   CH_DEPLOY_UNLIMITED

Code deploy restrictions.

This is the per-core deploy limit allowed under the current license scheme.

Definition at line 226 of file chlicense.h.