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