diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-16 10:25:03 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-04-16 10:25:03 +0000 |
commit | bb42a06ea099afc1070c8421e2695bb037434e97 (patch) | |
tree | 5b32a03ed2d0f38bf024c22e043e17fee60f70fb /os/rt | |
parent | 3c90d99b01319a4c36261b0f0f6b02a2410c7c7b (diff) | |
download | ChibiOS-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')
-rw-r--r-- | os/rt/include/chchecks.h | 8 |
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
|