1 #ifndef RT_CONFIG_H__ 2 #define RT_CONFIG_H__ 3 4 /* RT-Thread Kernel */ 5 6 /* klibc options */ 7 8 /* rt_vsnprintf options */ 9 10 /* end of rt_vsnprintf options */ 11 12 /* rt_vsscanf options */ 13 14 /* end of rt_vsscanf options */ 15 16 /* rt_memset options */ 17 18 /* end of rt_memset options */ 19 20 /* rt_memcpy options */ 21 22 /* end of rt_memcpy options */ 23 24 /* rt_memmove options */ 25 26 /* end of rt_memmove options */ 27 28 /* rt_memcmp options */ 29 30 /* end of rt_memcmp options */ 31 32 /* rt_strstr options */ 33 34 /* end of rt_strstr options */ 35 36 /* rt_strcasecmp options */ 37 38 /* end of rt_strcasecmp options */ 39 40 /* rt_strncpy options */ 41 42 /* end of rt_strncpy options */ 43 44 /* rt_strcpy options */ 45 46 /* end of rt_strcpy options */ 47 48 /* rt_strncmp options */ 49 50 /* end of rt_strncmp options */ 51 52 /* rt_strcmp options */ 53 54 /* end of rt_strcmp options */ 55 56 /* rt_strlen options */ 57 58 /* end of rt_strlen options */ 59 60 /* rt_strnlen options */ 61 62 /* end of rt_strnlen options */ 63 /* end of klibc options */ 64 #define RT_NAME_MAX 8 65 #define RT_USING_NANO 66 #define RT_CPUS_NR 1 67 #define RT_ALIGN_SIZE 8 68 #define RT_THREAD_PRIORITY_32 69 #define RT_THREAD_PRIORITY_MAX 32 70 #define RT_TICK_PER_SECOND 100 71 #define IDLE_THREAD_STACK_SIZE 256 72 73 /* kservice options */ 74 75 /* end of kservice options */ 76 77 /* Inter-Thread communication */ 78 79 #define RT_USING_SEMAPHORE 80 #define RT_USING_MUTEX 81 #define RT_USING_EVENT 82 #define RT_USING_MAILBOX 83 #define RT_USING_MESSAGEQUEUE 84 /* end of Inter-Thread communication */ 85 86 /* Memory Management */ 87 88 #define RT_USING_MEMPOOL 89 #define RT_USING_SMALL_MEM 90 #define RT_USING_SMALL_MEM_AS_HEAP 91 #define RT_USING_HEAP 92 /* end of Memory Management */ 93 #define RT_VER_NUM 0x50201 94 #define RT_BACKTRACE_LEVEL_MAX_NR 32 95 /* end of RT-Thread Kernel */ 96 #define ARCH_ARM 97 #define ARCH_ARM_CORTEX_M 98 #define ARCH_ARM_CORTEX_M0 99 100 /* RT-Thread Components */ 101 102 #define RT_USING_COMPONENTS_INIT 103 #define RT_USING_USER_MAIN 104 #define RT_MAIN_THREAD_STACK_SIZE 512 105 #define RT_MAIN_THREAD_PRIORITY 10 106 107 /* Using USB legacy version */ 108 109 /* end of Using USB legacy version */ 110 /* end of RT-Thread Components */ 111 112 /* RT-Thread Utestcases */ 113 114 /* end of RT-Thread Utestcases */ 115 116 /* RT-Thread online packages */ 117 118 /* IoT - internet of things */ 119 120 121 /* Wi-Fi */ 122 123 /* Marvell WiFi */ 124 125 /* end of Marvell WiFi */ 126 127 /* Wiced WiFi */ 128 129 /* end of Wiced WiFi */ 130 131 /* CYW43012 WiFi */ 132 133 /* end of CYW43012 WiFi */ 134 135 /* BL808 WiFi */ 136 137 /* end of BL808 WiFi */ 138 139 /* CYW43439 WiFi */ 140 141 /* end of CYW43439 WiFi */ 142 /* end of Wi-Fi */ 143 144 /* IoT Cloud */ 145 146 /* end of IoT Cloud */ 147 /* end of IoT - internet of things */ 148 149 /* security packages */ 150 151 /* end of security packages */ 152 153 /* language packages */ 154 155 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */ 156 157 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */ 158 159 /* XML: Extensible Markup Language */ 160 161 /* end of XML: Extensible Markup Language */ 162 /* end of language packages */ 163 164 /* multimedia packages */ 165 166 /* LVGL: powerful and easy-to-use embedded GUI library */ 167 168 /* end of LVGL: powerful and easy-to-use embedded GUI library */ 169 170 /* u8g2: a monochrome graphic library */ 171 172 /* end of u8g2: a monochrome graphic library */ 173 /* end of multimedia packages */ 174 175 /* tools packages */ 176 177 /* end of tools packages */ 178 179 /* system packages */ 180 181 /* enhanced kernel services */ 182 183 /* end of enhanced kernel services */ 184 185 /* acceleration: Assembly language or algorithmic acceleration packages */ 186 187 /* end of acceleration: Assembly language or algorithmic acceleration packages */ 188 189 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ 190 191 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ 192 193 /* Micrium: Micrium software products porting for RT-Thread */ 194 195 /* end of Micrium: Micrium software products porting for RT-Thread */ 196 /* end of system packages */ 197 198 /* peripheral libraries and drivers */ 199 200 /* HAL & SDK Drivers */ 201 202 /* STM32 HAL & SDK Drivers */ 203 204 /* end of STM32 HAL & SDK Drivers */ 205 206 /* Infineon HAL Packages */ 207 208 /* end of Infineon HAL Packages */ 209 210 /* Kendryte SDK */ 211 212 /* end of Kendryte SDK */ 213 214 /* WCH HAL & SDK Drivers */ 215 216 /* end of WCH HAL & SDK Drivers */ 217 218 /* AT32 HAL & SDK Drivers */ 219 220 /* end of AT32 HAL & SDK Drivers */ 221 222 /* HC32 DDL Drivers */ 223 224 /* end of HC32 DDL Drivers */ 225 226 /* NXP HAL & SDK Drivers */ 227 228 /* end of NXP HAL & SDK Drivers */ 229 /* end of HAL & SDK Drivers */ 230 231 /* sensors drivers */ 232 233 /* end of sensors drivers */ 234 235 /* touch drivers */ 236 237 /* end of touch drivers */ 238 /* end of peripheral libraries and drivers */ 239 240 /* AI packages */ 241 242 /* end of AI packages */ 243 244 /* Signal Processing and Control Algorithm Packages */ 245 246 /* end of Signal Processing and Control Algorithm Packages */ 247 248 /* miscellaneous packages */ 249 250 /* project laboratory */ 251 252 /* end of project laboratory */ 253 254 /* samples: kernel and components samples */ 255 256 /* end of samples: kernel and components samples */ 257 258 /* entertainment: terminal games and other interesting software packages */ 259 260 /* end of entertainment: terminal games and other interesting software packages */ 261 /* end of miscellaneous packages */ 262 263 /* Arduino libraries */ 264 265 266 /* Projects and Demos */ 267 268 /* end of Projects and Demos */ 269 270 /* Sensors */ 271 272 /* end of Sensors */ 273 274 /* Display */ 275 276 /* end of Display */ 277 278 /* Timing */ 279 280 /* end of Timing */ 281 282 /* Data Processing */ 283 284 /* end of Data Processing */ 285 286 /* Data Storage */ 287 288 /* Communication */ 289 290 /* end of Communication */ 291 292 /* Device Control */ 293 294 /* end of Device Control */ 295 296 /* Other */ 297 298 /* end of Other */ 299 300 /* Signal IO */ 301 302 /* end of Signal IO */ 303 304 /* Uncategorized */ 305 306 /* end of Arduino libraries */ 307 /* end of RT-Thread online packages */ 308 #define SOC_LPC1114 309 310 /* Hardware Drivers Config */ 311 312 /* On-chip Peripheral Drivers */ 313 314 /* end of On-chip Peripheral Drivers */ 315 316 /* Onboard Peripheral Drivers */ 317 318 /* Board extended module Drivers */ 319 320 /* end of Hardware Drivers Config */ 321 322 #endif 323