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_USING_IDLE_HOOK 17 #define RT_IDLE_HOOK_LIST_SIZE 4 18 #define IDLE_THREAD_STACK_SIZE 256 19 #define RT_DEBUG 20 21 /* Inter-Thread communication */ 22 23 #define RT_USING_SEMAPHORE 24 #define RT_USING_MUTEX 25 #define RT_USING_EVENT 26 #define RT_USING_MAILBOX 27 #define RT_USING_MESSAGEQUEUE 28 29 /* Memory Management */ 30 31 #define RT_USING_MEMPOOL 32 #define RT_USING_SMALL_MEM 33 #define RT_USING_HEAP 34 35 /* Kernel Device Object */ 36 37 #define RT_USING_DEVICE 38 #define RT_USING_CONSOLE 39 #define RT_CONSOLEBUF_SIZE 128 40 #define RT_CONSOLE_DEVICE_NAME "uart1" 41 #define RT_VER_NUM 0x40001 42 #define ARCH_ARM 43 #define ARCH_ARM_CORTEX_M 44 #define ARCH_ARM_CORTEX_M7 45 46 /* RT-Thread Components */ 47 48 #define RT_USING_COMPONENTS_INIT 49 #define RT_USING_USER_MAIN 50 #define RT_MAIN_THREAD_STACK_SIZE 2048 51 #define RT_MAIN_THREAD_PRIORITY 10 52 53 /* C++ features */ 54 55 56 /* Command shell */ 57 58 #define RT_USING_FINSH 59 #define FINSH_THREAD_NAME "tshell" 60 #define FINSH_USING_HISTORY 61 #define FINSH_HISTORY_LINES 5 62 #define FINSH_USING_SYMTAB 63 #define FINSH_USING_DESCRIPTION 64 #define FINSH_THREAD_PRIORITY 20 65 #define FINSH_THREAD_STACK_SIZE 4096 66 #define FINSH_CMD_SIZE 80 67 #define FINSH_USING_MSH 68 #define FINSH_USING_MSH_DEFAULT 69 #define FINSH_USING_MSH_ONLY 70 #define FINSH_ARG_MAX 10 71 72 /* Device virtual file system */ 73 74 75 /* Device Drivers */ 76 77 #define RT_USING_DEVICE_IPC 78 #define RT_PIPE_BUFSZ 512 79 #define RT_USING_SERIAL 80 #define RT_SERIAL_USING_DMA 81 #define RT_SERIAL_RB_BUFSZ 64 82 #define RT_USING_PIN 83 84 /* Using WiFi */ 85 86 87 /* Using USB */ 88 89 90 /* POSIX layer and C standard library */ 91 92 93 /* Network */ 94 95 /* Socket abstraction layer */ 96 97 98 /* light weight TCP/IP stack */ 99 100 101 /* Modbus master and slave stack */ 102 103 104 /* AT commands */ 105 106 107 /* VBUS(Virtual Software BUS) */ 108 109 110 /* Utilities */ 111 112 113 /* ARM CMSIS */ 114 115 116 /* RT-Thread online packages */ 117 118 /* IoT - internet of things */ 119 120 121 /* Wi-Fi */ 122 123 /* Marvell WiFi */ 124 125 126 /* Wiced WiFi */ 127 128 129 /* IoT Cloud */ 130 131 132 /* security packages */ 133 134 135 /* language packages */ 136 137 138 /* multimedia packages */ 139 140 141 /* tools packages */ 142 143 144 /* system packages */ 145 146 147 /* peripheral libraries and drivers */ 148 149 /* sensors drivers */ 150 151 152 /* miscellaneous packages */ 153 154 155 /* samples: kernel and components samples */ 156 157 #define SOC_FAMILY_STM32 158 #define SOC_SERIES_STM32H7 159 160 /* Hardware Drivers Config */ 161 162 #define SOC_STM32H743II 163 164 /* Onboard Peripheral Drivers */ 165 166 /* On-chip Peripheral Drivers */ 167 168 #define BSP_USING_GPIO 169 #define BSP_USING_UART 170 #define BSP_USING_UART1 171 172 /* Board extended module Drivers */ 173 174 175 #endif 176