aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chlicense.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-14 16:53:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-07-14 16:53:23 +0000
commit8a6bcce16fba8ab1a5494739caeeae79429ef37b (patch)
treedc8a3af23757419f40be89cde72e6e795baee156 /os/rt/include/chlicense.h
parent1167e05fdf90c3877a3a181b39d6397d94e9e25c (diff)
downloadChibiOS-8a6bcce16fba8ab1a5494739caeeae79429ef37b.tar.gz
ChibiOS-8a6bcce16fba8ab1a5494739caeeae79429ef37b.tar.bz2
ChibiOS-8a6bcce16fba8ab1a5494739caeeae79429ef37b.zip
Modified license details, unlocked TM module for free commercial license.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8095 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chlicense.h')
-rw-r--r--os/rt/include/chlicense.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/os/rt/include/chlicense.h b/os/rt/include/chlicense.h
index 8f1e7bb6d..254e6e930 100644
--- a/os/rt/include/chlicense.h
+++ b/os/rt/include/chlicense.h
@@ -144,10 +144,9 @@
#define CH_LICENSE_MAX_DEPLOY CH_DEPLOY_UNLIMITED
#elif CH_LICENSE == CH_LICENSE_COMMERCIAL_FREE
-#include "chcustomer.h"
#define CH_LICENSE_TYPE_STRING "Zero Cost Registered License"
-#define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING
-#define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE
+#define CH_LICENSE_ID_STRING "N/A"
+#define CH_LICENSE_ID_CODE "2015-0000"
#define CH_LICENSE_MODIFIABLE_CODE FALSE
#define CH_LICENSE_FEATURES CH_FEATURES_INTERMEDIATE
#define CH_LICENSE_MAX_DEPLOY 500
@@ -194,10 +193,6 @@
#error "CH_CFG_ST_TIMEDELTA > 2, High Resolution Time functionality restricted"
#endif
- #if CH_CFG_USE_TM == TRUE
- #error "CH_CFG_USE_TM == TRUE, Time Measurement functionality restricted"
- #endif
-
#if CH_DBG_STATISTICS == TRUE
#error "CH_DBG_STATISTICS == TRUE, Statistics functionality restricted"
#endif
@@ -208,6 +203,10 @@
#error "CH_CFG_ST_TIMEDELTA > 0, Tick-Less functionality restricted"
#endif
+ #if CH_CFG_USE_TM == TRUE
+ #error "CH_CFG_USE_TM == TRUE, Time Measurement functionality restricted"
+ #endif
+
#if CH_CFG_USE_MUTEXES_RECURSIVE == TRUE
#error "CH_CFG_USE_MUTEXES_RECURSIVE == TRUE, Recursive Mutexes functionality restricted"
#endif