Go to the documentation of this file. 25 #ifndef CHRESTRICTIONS_H 26 #define CHRESTRICTIONS_H 40 #if CH_CUSTOMER_LIC_RT == FALSE 41 #error "ChibiOS/RT not licensed" 44 #if (CH_LICENSE_FEATURES != CH_FEATURES_FULL) && \ 45 (CH_LICENSE_FEATURES != CH_FEATURES_INTERMEDIATE) && \ 46 (CH_LICENSE_FEATURES != CH_FEATURES_BASIC) 47 #error "invalid CH_LICENSE_FEATURES setting" 51 #if (CH_LICENSE_FEATURES == CH_FEATURES_INTERMEDIATE) || \ 52 (CH_LICENSE_FEATURES == CH_FEATURES_BASIC) 55 #if CH_CFG_ST_FREQUENCY > 1000 56 #undef CH_CFG_ST_FREQUENCY 57 #define CH_CFG_ST_FREQUENCY 1000 61 #undef CH_DBG_STATISTICS 62 #undef CH_DBG_TRACE_MASK 64 #define CH_DBG_STATISTICS FALSE 65 #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED 71 #if CH_LICENSE_FEATURES == CH_FEATURES_BASIC 74 #undef CH_CFG_ST_TIMEDELTA 75 #define CH_CFG_ST_TIMEDELTA 0 79 #undef CH_CFG_USE_MUTEXES 80 #undef CH_CFG_USE_CONDVARS 81 #undef CH_CFG_USE_DYNAMIC 83 #define CH_CFG_USE_TM FALSE 84 #define CH_CFG_USE_MUTEXES FALSE 85 #define CH_CFG_USE_CONDVARS FALSE 86 #define CH_CFG_USE_DYNAMIC FALSE