1 #ifndef RT_CONFIG_H__ 2 #define RT_CONFIG_H__ 3 4 /* Automatically generated file; DO NOT EDIT. */ 5 /* RT-Thread Configuration */ 6 7 /* RT-Thread Kernel */ 8 9 #define RT_NAME_MAX 8 10 #define RT_ALIGN_SIZE 8 11 #define RT_THREAD_PRIORITY_32 12 #define RT_THREAD_PRIORITY_MAX 32 13 #define RT_TICK_PER_SECOND 1000 14 #define RT_USING_OVERFLOW_CHECK 15 #define RT_USING_HOOK 16 #define RT_HOOK_USING_FUNC_PTR 17 #define RT_USING_IDLE_HOOK 18 #define RT_IDLE_HOOK_LIST_SIZE 4 19 #define IDLE_THREAD_STACK_SIZE 256 20 #define RT_USING_TIMER_SOFT 21 #define RT_TIMER_THREAD_PRIO 4 22 #define RT_TIMER_THREAD_STACK_SIZE 512 23 24 /* kservice optimization */ 25 26 #define RT_KSERVICE_USING_STDLIB 27 #define RT_DEBUG 28 29 /* Inter-Thread communication */ 30 31 #define RT_USING_SEMAPHORE 32 #define RT_USING_MUTEX 33 #define RT_USING_EVENT 34 #define RT_USING_MAILBOX 35 #define RT_USING_MESSAGEQUEUE 36 37 /* Memory Management */ 38 39 #define RT_PAGE_MAX_ORDER 11 40 #define RT_USING_MEMPOOL 41 #define RT_USING_SMALL_MEM 42 #define RT_USING_SMALL_MEM_AS_HEAP 43 #define RT_USING_HEAP 44 45 /* Kernel Device Object */ 46 47 #define RT_USING_DEVICE 48 #define RT_USING_CONSOLE 49 #define RT_CONSOLEBUF_SIZE 128 50 #define RT_CONSOLE_DEVICE_NAME "uart5" 51 #define RT_VER_NUM 0x50000 52 #define RT_USING_CPU_FFS 53 #define ARCH_ARM 54 #define ARCH_ARM_CORTEX_M 55 #define ARCH_ARM_CORTEX_M4 56 57 /* RT-Thread Components */ 58 59 #define RT_USING_COMPONENTS_INIT 60 #define RT_USING_USER_MAIN 61 #define RT_MAIN_THREAD_STACK_SIZE 2048 62 #define RT_MAIN_THREAD_PRIORITY 10 63 #define RT_USING_MSH 64 #define RT_USING_FINSH 65 #define FINSH_USING_MSH 66 #define FINSH_THREAD_NAME "tshell" 67 #define FINSH_THREAD_PRIORITY 20 68 #define FINSH_THREAD_STACK_SIZE 4096 69 #define FINSH_USING_HISTORY 70 #define FINSH_HISTORY_LINES 5 71 #define FINSH_USING_SYMTAB 72 #define FINSH_CMD_SIZE 80 73 #define MSH_USING_BUILT_IN_COMMANDS 74 #define FINSH_USING_DESCRIPTION 75 #define FINSH_ARG_MAX 10 76 77 /* Device Drivers */ 78 79 #define RT_USING_DEVICE_IPC 80 #define RT_UNAMED_PIPE_NUMBER 64 81 #define RT_USING_SERIAL 82 #define RT_USING_SERIAL_V1 83 #define RT_SERIAL_USING_DMA 84 #define RT_SERIAL_RB_BUFSZ 64 85 #define RT_USING_PIN 86 87 /* Using USB */ 88 89 90 /* C/C++ and POSIX layer */ 91 92 #define RT_LIBC_DEFAULT_TIMEZONE 8 93 94 /* POSIX (Portable Operating System Interface) layer */ 95 96 97 /* Interprocess Communication (IPC) */ 98 99 100 /* Socket is in the 'Network' category */ 101 102 103 /* Network */ 104 105 106 /* Utilities */ 107 108 109 /* RT-Thread Utestcases */ 110 111 112 /* RT-Thread online packages */ 113 114 /* IoT - internet of things */ 115 116 117 /* Wi-Fi */ 118 119 /* Marvell WiFi */ 120 121 122 /* Wiced WiFi */ 123 124 125 /* IoT Cloud */ 126 127 128 /* security packages */ 129 130 131 /* language packages */ 132 133 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */ 134 135 136 /* XML: Extensible Markup Language */ 137 138 139 /* multimedia packages */ 140 141 /* LVGL: powerful and easy-to-use embedded GUI library */ 142 143 144 /* u8g2: a monochrome graphic library */ 145 146 147 /* PainterEngine: A cross-platform graphics application framework written in C language */ 148 149 150 /* tools packages */ 151 152 153 /* system packages */ 154 155 /* enhanced kernel services */ 156 157 158 /* acceleration: Assembly language or algorithmic acceleration packages */ 159 160 161 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ 162 163 164 /* Micrium: Micrium software products porting for RT-Thread */ 165 166 167 /* peripheral libraries and drivers */ 168 169 170 /* Kendryte SDK */ 171 172 173 /* AI packages */ 174 175 176 /* miscellaneous packages */ 177 178 /* project laboratory */ 179 180 /* samples: kernel and components samples */ 181 182 183 /* entertainment: terminal games and other interesting software packages */ 184 185 186 /* Arduino libraries */ 187 188 189 /* Sensor libraries */ 190 191 192 /* Display libraries */ 193 194 195 /* Timing libraries */ 196 197 198 /* Project libraries */ 199 200 #define SOC_FAMILY_IFX 201 #define SOC_SERIES_IFX_PSOC62 202 203 /* Hardware Drivers Config */ 204 205 #define SOC_CY8C624ABZI_S2D44 206 207 /* Onboard Peripheral Drivers */ 208 209 #define BSP_USING_USB_TO_USART 210 211 /* On-chip Peripheral Drivers */ 212 213 #define BSP_USING_GPIO 214 #define BSP_USING_UART 215 #define BSP_USING_UART5 216 217 /* Board extended module Drivers */ 218 219 220 #endif 221