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