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 1000 71 #define RT_USING_HOOK 72 #define RT_HOOK_USING_FUNC_PTR 73 #define RT_USING_IDLE_HOOK 74 #define RT_IDLE_HOOK_LIST_SIZE 4 75 #define IDLE_THREAD_STACK_SIZE 256 76 77 /* kservice options */ 78 79 /* end of kservice options */ 80 81 /* Inter-Thread communication */ 82 83 #define RT_USING_SEMAPHORE 84 #define RT_USING_MUTEX 85 /* end of Inter-Thread communication */ 86 87 /* Memory Management */ 88 89 #define RT_USING_MEMPOOL 90 #define RT_USING_SMALL_MEM 91 #define RT_USING_SMALL_MEM_AS_HEAP 92 #define RT_USING_HEAP 93 /* end of Memory Management */ 94 #define RT_VER_NUM 0x50201 95 #define RT_BACKTRACE_LEVEL_MAX_NR 32 96 /* end of RT-Thread Kernel */ 97 #define ARCH_ARM 98 #define ARCH_ARM_CORTEX_M 99 #define ARCH_ARM_CORTEX_M0 100 101 /* RT-Thread Components */ 102 103 #define RT_USING_COMPONENTS_INIT 104 #define RT_USING_USER_MAIN 105 #define RT_MAIN_THREAD_STACK_SIZE 2048 106 #define RT_MAIN_THREAD_PRIORITY 10 107 108 /* Using USB legacy version */ 109 110 /* end of Using USB legacy version */ 111 /* end of RT-Thread Components */ 112 113 /* RT-Thread Utestcases */ 114 115 /* end of RT-Thread Utestcases */ 116 117 /* RT-Thread online packages */ 118 119 /* IoT - internet of things */ 120 121 122 /* Wi-Fi */ 123 124 /* Marvell WiFi */ 125 126 /* end of Marvell WiFi */ 127 128 /* Wiced WiFi */ 129 130 /* end of Wiced WiFi */ 131 132 /* CYW43012 WiFi */ 133 134 /* end of CYW43012 WiFi */ 135 136 /* BL808 WiFi */ 137 138 /* end of BL808 WiFi */ 139 140 /* CYW43439 WiFi */ 141 142 /* end of CYW43439 WiFi */ 143 /* end of Wi-Fi */ 144 145 /* IoT Cloud */ 146 147 /* end of IoT Cloud */ 148 /* end of IoT - internet of things */ 149 150 /* security packages */ 151 152 /* end of security packages */ 153 154 /* language packages */ 155 156 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */ 157 158 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */ 159 160 /* XML: Extensible Markup Language */ 161 162 /* end of XML: Extensible Markup Language */ 163 /* end of language packages */ 164 165 /* multimedia packages */ 166 167 /* LVGL: powerful and easy-to-use embedded GUI library */ 168 169 /* end of LVGL: powerful and easy-to-use embedded GUI library */ 170 171 /* u8g2: a monochrome graphic library */ 172 173 /* end of u8g2: a monochrome graphic library */ 174 /* end of multimedia packages */ 175 176 /* tools packages */ 177 178 /* end of tools packages */ 179 180 /* system packages */ 181 182 /* enhanced kernel services */ 183 184 /* end of enhanced kernel services */ 185 186 /* acceleration: Assembly language or algorithmic acceleration packages */ 187 188 /* end of acceleration: Assembly language or algorithmic acceleration packages */ 189 190 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ 191 192 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ 193 194 /* Micrium: Micrium software products porting for RT-Thread */ 195 196 /* end of Micrium: Micrium software products porting for RT-Thread */ 197 /* end of system packages */ 198 199 /* peripheral libraries and drivers */ 200 201 /* HAL & SDK Drivers */ 202 203 /* STM32 HAL & SDK Drivers */ 204 205 /* end of STM32 HAL & SDK Drivers */ 206 207 /* Infineon HAL Packages */ 208 209 /* end of Infineon HAL Packages */ 210 211 /* Kendryte SDK */ 212 213 /* end of Kendryte SDK */ 214 215 /* WCH HAL & SDK Drivers */ 216 217 /* end of WCH HAL & SDK Drivers */ 218 219 /* AT32 HAL & SDK Drivers */ 220 221 /* end of AT32 HAL & SDK Drivers */ 222 223 /* HC32 DDL Drivers */ 224 225 /* end of HC32 DDL Drivers */ 226 227 /* NXP HAL & SDK Drivers */ 228 229 #define PKG_USING_NXP_LPC_DRIVER 230 #define PKG_USING_NXP_LPC_DRIVER_LATEST_VERSION 231 /* end of NXP HAL & SDK Drivers */ 232 /* end of HAL & SDK Drivers */ 233 234 /* sensors drivers */ 235 236 /* end of sensors drivers */ 237 238 /* touch drivers */ 239 240 /* end of touch drivers */ 241 /* end of peripheral libraries and drivers */ 242 243 /* AI packages */ 244 245 /* end of AI packages */ 246 247 /* Signal Processing and Control Algorithm Packages */ 248 249 /* end of Signal Processing and Control Algorithm Packages */ 250 251 /* miscellaneous packages */ 252 253 /* project laboratory */ 254 255 /* end of project laboratory */ 256 257 /* samples: kernel and components samples */ 258 259 /* end of samples: kernel and components samples */ 260 261 /* entertainment: terminal games and other interesting software packages */ 262 263 /* end of entertainment: terminal games and other interesting software packages */ 264 /* end of miscellaneous packages */ 265 266 /* Arduino libraries */ 267 268 269 /* Projects and Demos */ 270 271 /* end of Projects and Demos */ 272 273 /* Sensors */ 274 275 /* end of Sensors */ 276 277 /* Display */ 278 279 /* end of Display */ 280 281 /* Timing */ 282 283 /* end of Timing */ 284 285 /* Data Processing */ 286 287 /* end of Data Processing */ 288 289 /* Data Storage */ 290 291 /* Communication */ 292 293 /* end of Communication */ 294 295 /* Device Control */ 296 297 /* end of Device Control */ 298 299 /* Other */ 300 301 /* end of Other */ 302 303 /* Signal IO */ 304 305 /* end of Signal IO */ 306 307 /* Uncategorized */ 308 309 /* end of Arduino libraries */ 310 /* end of RT-Thread online packages */ 311 #define SOC_LPC824 312 313 /* Hardware Drivers Config */ 314 315 /* On-chip Peripheral Drivers */ 316 317 /* end of On-chip Peripheral Drivers */ 318 319 /* Onboard Peripheral Drivers */ 320 321 /* Board extended module Drivers */ 322 323 /* end of Hardware Drivers Config */ 324 325 #endif 326