aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-16 10:25:03 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-16 10:25:03 +0000
commitbb42a06ea099afc1070c8421e2695bb037434e97 (patch)
tree5b32a03ed2d0f38bf024c22e043e17fee60f70fb /os/rt/include
parent3c90d99b01319a4c36261b0f0f6b02a2410c7c7b (diff)
downloadChibiOS-bb42a06ea099afc1070c8421e2695bb037434e97.tar.gz
ChibiOS-bb42a06ea099afc1070c8421e2695bb037434e97.tar.bz2
ChibiOS-bb42a06ea099afc1070c8421e2695bb037434e97.zip
More licensing checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9288 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include')
-rw-r--r--os/rt/include/chchecks.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/os/rt/include/chchecks.h b/os/rt/include/chchecks.h
index 2b663df55..60f2b4c51 100644
--- a/os/rt/include/chchecks.h
+++ b/os/rt/include/chchecks.h
@@ -40,6 +40,10 @@
/* Derived constants and error checks. */
/*===========================================================================*/
+#if CH_CUSTOMER_LICENSED_RT == FALSE
+#error "ChibiOS/RT not licensed"
+#endif
+
#if (CH_LICENSE_FEATURES != CH_FEATURES_FULL) && \
(CH_LICENSE_FEATURES != CH_FEATURES_INTERMEDIATE) && \
(CH_LICENSE_FEATURES == CH_FEATURES_BASIC)
@@ -56,7 +60,7 @@
#define CH_CFG_ST_FREQUENCY 1000
#endif
-/* Statistics and trace buffer restricted.*/
+/* Restricted subsystems.*/
#undef CH_DBG_STATISTICS
#undef CH_DBG_TRACE_MASK
@@ -73,7 +77,7 @@
#undef CH_CFG_ST_TIMEDELTA
#define CH_CFG_ST_TIMEDELTA 0
-/* Several subsystems restricted.*/
+/* Restricted subsystems.*/
#undef CH_CFG_USE_TM
#undef CH_CFG_USE_MUTEXES
#undef CH_CFG_USE_CONDVARS