diff options
Diffstat (limited to 'os/rt/include/chrestrictions.h')
-rw-r--r-- | os/rt/include/chrestrictions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/rt/include/chrestrictions.h b/os/rt/include/chrestrictions.h index 91dc5401f..3871b3c59 100644 --- a/os/rt/include/chrestrictions.h +++ b/os/rt/include/chrestrictions.h @@ -37,6 +37,11 @@ /* Derived constants and error checks. */
/*===========================================================================*/
+/* License checks.*/
+#if !defined(CH_CUSTOMER_LIC_RT) || !defined(CH_LICENSE_FEATURES)
+#error "malformed chlicense.h"
+#endif
+
#if CH_CUSTOMER_LIC_RT == FALSE
#error "ChibiOS/RT not licensed"
#endif
|