diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-01-31 16:08:48 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-01-31 16:08:48 +0000 |
commit | 69aa39ff927e44c72f7f4824ee47934660c5055c (patch) | |
tree | 51b43e7a5ade3970fe3cacad6f8f0ae23b8ef2a4 /os/license/chlicense.h | |
parent | c63901b6b6b80ea74e77a5c7865189505bd3909a (diff) | |
download | ChibiOS-69aa39ff927e44c72f7f4824ee47934660c5055c.tar.gz ChibiOS-69aa39ff927e44c72f7f4824ee47934660c5055c.tar.bz2 ChibiOS-69aa39ff927e44c72f7f4824ee47934660c5055c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10076 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/license/chlicense.h')
-rw-r--r-- | os/license/chlicense.h | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/os/license/chlicense.h b/os/license/chlicense.h index a0c8ed2c7..72322d872 100644 --- a/os/license/chlicense.h +++ b/os/license/chlicense.h @@ -55,15 +55,20 @@ #define CH_LICENSE_GPL 0
#define CH_LICENSE_GPL_EXCEPTION 1
#define CH_LICENSE_COMMERCIAL_FREE 2
-#define CH_LICENSE_COMMERCIAL_DEVELOPER 3
-#define CH_LICENSE_COMMERCIAL_FULL 4
-#define CH_LICENSE_PARTNER 5
+#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
/** @} */
#include "chcustomer.h"
#if CH_LICENSE == CH_LICENSE_PARTNER
#include "chpartner.h"
#endif
+#if CH_LICENSE == CH_LICENSE_COMMERCIAL_RUNTIME
+#include "chruntime.h"
+#endif
/*===========================================================================*/
/* Module pre-compile time settings. */
@@ -120,15 +125,23 @@ #define CH_LICENSE_MAX_DEPLOY CH_DEPLOY_UNLIMITED
#elif CH_LICENSE == CH_LICENSE_COMMERCIAL_FREE
-#define CH_LICENSE_TYPE_STRING "Zero Cost Registered License"
+#define CH_LICENSE_TYPE_STRING "Zero Cost Registered License for 500 Cores"
#define CH_LICENSE_ID_STRING "N/A"
-#define CH_LICENSE_ID_CODE "2015-0000"
+#define CH_LICENSE_ID_CODE "2017-0000"
#define CH_LICENSE_MODIFIABLE_CODE FALSE
#define CH_LICENSE_FEATURES CH_FEATURES_INTERMEDIATE
#define CH_LICENSE_MAX_DEPLOY 500
-#elif CH_LICENSE == CH_LICENSE_COMMERCIAL_DEVELOPER
-#define CH_LICENSE_TYPE_STRING "Developer-Only Commercial License"
+#elif CH_LICENSE == CH_LICENSE_COMMERCIAL_DEVELOPER_1000
+#define CH_LICENSE_TYPE_STRING "Developer Commercial License for 1000 Cores"
+#define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING
+#define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE
+#define CH_LICENSE_MODIFIABLE_CODE TRUE
+#define CH_LICENSE_FEATURES CH_FEATURES_FULL
+#define CH_LICENSE_DEPLOY_LIMIT 1000
+
+#elif CH_LICENSE == CH_LICENSE_COMMERCIAL_DEVELOPER_5000
+#define CH_LICENSE_TYPE_STRING "Developer Commercial License for 5000 Cores"
#define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING
#define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE
#define CH_LICENSE_MODIFIABLE_CODE TRUE
@@ -136,13 +149,21 @@ #define CH_LICENSE_DEPLOY_LIMIT 5000
#elif CH_LICENSE == CH_LICENSE_COMMERCIAL_FULL
-#define CH_LICENSE_TYPE_STRING "Full Commercial License"
+#define CH_LICENSE_TYPE_STRING "Full Commercial License for Unlimited Deployment"
#define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING
#define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE
#define CH_LICENSE_MODIFIABLE_CODE TRUE
#define CH_LICENSE_FEATURES CH_FEATURES_FULL
#define CH_LICENSE_MAX_DEPLOY CH_DEPLOY_UNLIMITED
+#elif CH_LICENSE == CH_LICENSE_COMMERCIAL_RUNTIME
+#define CH_LICENSE_TYPE_STRING "Runtime Commercial License"
+#define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING
+#define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE
+#define CH_LICENSE_MODIFIABLE_CODE TRUE
+#define CH_LICENSE_FEATURES CH_FEATURES_FULL
+#define CH_LICENSE_MAX_DEPLOY CH_RUNTIME_MAX_DEPLOY
+
#elif CH_LICENSE == CH_LICENSE_PARTNER
#define CH_LICENSE_TYPE_STRING "Partners Special Commercial License"
#define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING
|