Go to the documentation of this file. 30 #ifndef CHRESTRICTIONS_H 31 #define CHRESTRICTIONS_H 46 #if !defined(CH_CUSTOMER_LIC_RT) || !defined(CH_LICENSE_FEATURES) 47 #error "malformed chlicense.h" 50 #if CH_CUSTOMER_LIC_RT == FALSE 51 #error "ChibiOS/RT not licensed" 54 #if (CH_LICENSE_FEATURES != CH_FEATURES_FULL) && \ 55 (CH_LICENSE_FEATURES != CH_FEATURES_INTERMEDIATE) && \ 56 (CH_LICENSE_FEATURES != CH_FEATURES_BASIC) 57 #error "invalid CH_LICENSE_FEATURES setting" 61 #if (CH_LICENSE_FEATURES == CH_FEATURES_INTERMEDIATE) || \ 62 (CH_LICENSE_FEATURES == CH_FEATURES_BASIC) 65 #if CH_CFG_ST_FREQUENCY > 1000 66 #undef CH_CFG_ST_FREQUENCY 67 #define CH_CFG_ST_FREQUENCY 1000 71 #undef CH_DBG_STATISTICS 72 #undef CH_DBG_TRACE_MASK 74 #define CH_DBG_STATISTICS FALSE 75 #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED 81 #if CH_LICENSE_FEATURES == CH_FEATURES_BASIC 84 #undef CH_CFG_ST_TIMEDELTA 85 #define CH_CFG_ST_TIMEDELTA 0 89 #undef CH_CFG_USE_MUTEXES 90 #undef CH_CFG_USE_CONDVARS 91 #undef CH_CFG_USE_DYNAMIC 93 #define CH_CFG_USE_TM FALSE 94 #define CH_CFG_USE_MUTEXES FALSE 95 #define CH_CFG_USE_CONDVARS FALSE 96 #define CH_CFG_USE_DYNAMIC FALSE