41 #define _CHIBIOS_OSLIB_ 46 #define CH_OSLIB_STABLE 1 55 #define CH_OSLIB_VERSION "1.1.2" 60 #define CH_OSLIB_MAJOR 1 65 #define CH_OSLIB_MINOR 1 70 #define CH_OSLIB_PATCH 2 82 #if !defined(_CHIBIOS_RT_) && !defined(_CHIBIOS_NIL_) 83 #error "OS check failed, must be included after ch.h" 87 #if !defined(CH_CFG_USE_MAILBOXES) 88 #error "CH_CFG_USE_MAILBOXES not defined in chconf.h" 91 #if !defined(CH_CFG_USE_MEMCORE) 92 #error "CH_CFG_USE_MEMCORE not defined in chconf.h" 95 #if !defined(CH_CFG_USE_HEAP) 96 #error "CH_CFG_USE_HEAP not defined in chconf.h" 99 #if !defined(CH_CFG_USE_MEMPOOLS) 100 #error "CH_CFG_USE_MEMPOOLS not defined in chconf.h" 103 #if !defined(CH_CFG_USE_OBJ_FIFOS) 104 #error "CH_CFG_USE_OBJ_FIFOS not defined in chconf.h" 107 #if !defined(CH_CFG_USE_PIPES) 108 #error "CH_CFG_USE_PIPES not defined in chconf.h" 112 #if !defined(CH_CFG_USE_FACTORY) 113 #error "CH_CFG_USE_FACTORY not defined in chconf.h" 116 #if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) 117 #error "CH_CFG_FACTORY_MAX_NAMES_LENGTH not defined in chconf.h" 120 #if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY) 121 #error "CH_CFG_FACTORY_OBJECTS_REGISTRY not defined in chconf.h" 124 #if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS) 125 #error "CH_CFG_FACTORY_GENERIC_BUFFERS not defined in chconf.h" 128 #if !defined(CH_CFG_FACTORY_SEMAPHORES) 129 #error "CH_CFG_FACTORY_SEMAPHORES not defined in chconf.h" 132 #if !defined(CH_CFG_FACTORY_MAILBOXES) 133 #error "CH_CFG_FACTORY_MAILBOXES not defined in chconf.h" 136 #if !defined(CH_CFG_FACTORY_OBJ_FIFOS) 137 #error "CH_CFG_FACTORY_OBJ_FIFOS not defined in chconf.h" 141 #if !defined(CH_CUSTOMER_LIC_OSLIB) || !defined(CH_LICENSE_FEATURES) 142 #error "malformed chlicense.h" 145 #if CH_CUSTOMER_LIC_OSLIB== FALSE 146 #error "ChibiOS/LIB not licensed" 149 #if (CH_LICENSE_FEATURES != CH_FEATURES_FULL) && \ 150 (CH_LICENSE_FEATURES != CH_FEATURES_INTERMEDIATE) && \ 151 (CH_LICENSE_FEATURES != CH_FEATURES_BASIC) 152 #error "invalid CH_LICENSE_FEATURES setting" 156 #if (CH_CUSTOMER_LIC_OSLIB == FALSE) || \ 157 (CH_LICENSE_FEATURES == CH_FEATURES_INTERMEDIATE) || \ 158 (CH_LICENSE_FEATURES == CH_FEATURES_BASIC) 161 #undef CH_CFG_USE_FACTORY 163 #define CH_CFG_USE_FACTORY FALSE 170 #if (CH_CUSTOMER_LIC_OSLIB == FALSE) || \ 171 (CH_LICENSE_FEATURES == CH_FEATURES_BASIC) 174 #undef CH_CFG_USE_MEMCORE 175 #undef CH_CFG_USE_HEAP 176 #undef CH_CFG_USE_MEMPOOLS 177 #undef CH_CFG_USE_OBJ_FIFOS 178 #undef CH_CFG_USE_PIPES 180 #define CH_CFG_USE_MEMCORE FALSE 181 #define CH_CFG_USE_HEAP FALSE 182 #define CH_CFG_USE_MEMPOOLS FALSE 183 #define CH_CFG_USE_OBJ_FIFOS FALSE 184 #define CH_CFG_USE_PIPES FALSE ChibiOS objects factory structures and macros.
Binary semaphores structures and macros.
Memory Pools macros and structures.
Core memory manager macros and structures.
Objects FIFO structures and macros.
Mailboxes macros and structures.
Memory heaps macros and structures.
Pipes macros and structures.