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