@@ -115,41 +115,40 @@ config RT_USING_TIMER_SOFT
115115 thread.
116116
117117if RT_USING_TIMER_SOFT
118- config RT_TIMER_THREAD_PRIO
119- int "The priority level value of timer thread"
120- default 4
121-
122- config RT_TIMER_THREAD_STACK_SIZE
123- int "The stack size of timer thread"
124- default 512
118+ config RT_TIMER_THREAD_PRIO
119+ int "The priority level value of timer thread"
120+ default 4
125121
122+ config RT_TIMER_THREAD_STACK_SIZE
123+ int "The stack size of timer thread"
124+ default 512
126125endif
127126
128127menu "kservice optimization"
129128
130- config RT_KSERVICE_USING_STDLIB
131- bool "Enable kservice to use standard C library"
132- default n
129+ config RT_KSERVICE_USING_STDLIB
130+ bool "Enable kservice to use standard C library"
131+ default n
133132
134- config RT_KSERVICE_USING_TINY_SIZE
135- bool "Enable kservice to use tiny size"
136- default n
133+ config RT_KSERVICE_USING_TINY_SIZE
134+ bool "Enable kservice to use tiny size"
135+ default n
137136
138- config RT_USING_ASM_MEMCPY
139- bool
140- default n
137+ config RT_USING_ASM_MEMCPY
138+ bool
139+ default n
141140
142- config RT_USING_ASM_MEMSET
143- bool
144- default n
141+ config RT_USING_ASM_MEMSET
142+ bool
143+ default n
145144
146- config RT_USING_TINY_FFS
147- bool "Enable kservice to use tiny finding first bit set method"
148- default n
145+ config RT_USING_TINY_FFS
146+ bool "Enable kservice to use tiny finding first bit set method"
147+ default n
149148
150- config RT_PRINTF_LONGLONG
151- bool "Enable rt_xprintf functions to support long long format"
152- default n
149+ config RT_PRINTF_LONGLONG
150+ bool "Enable rt_xprintf functions to support long long format"
151+ default n
153152
154153endmenu
155154
@@ -159,121 +158,122 @@ menuconfig RT_DEBUG
159158
160159if RT_DEBUG
161160
162- config RT_DEBUG_COLOR
163- bool "Enable color debugging log"
164- default n
161+ config RT_DEBUG_COLOR
162+ bool "Enable color debugging log"
163+ default n
165164
166- config RT_DEBUG_INIT_CONFIG
167- bool "Enable debugging of components initialization"
168- default n
165+ config RT_DEBUG_INIT_CONFIG
166+ bool "Enable debugging of components initialization"
167+ default n
169168
170- config RT_DEBUG_INIT
171- int
172- default 1 if RT_DEBUG_INIT_CONFIG
169+ config RT_DEBUG_INIT
170+ int
171+ default 1 if RT_DEBUG_INIT_CONFIG
173172
174- config RT_DEBUG_THREAD_CONFIG
175- bool "Enable debugging of Thread State Changes"
176- default n
173+ config RT_DEBUG_THREAD_CONFIG
174+ bool "Enable debugging of Thread State Changes"
175+ default n
177176
178- config RT_DEBUG_THREAD
179- int
180- default 1 if RT_DEBUG_THREAD_CONFIG
177+ config RT_DEBUG_THREAD
178+ int
179+ default 1 if RT_DEBUG_THREAD_CONFIG
181180
182- config RT_DEBUG_SCHEDULER_CONFIG
183- bool "Enable debugging of Scheduler"
184- default n
181+ config RT_DEBUG_SCHEDULER_CONFIG
182+ bool "Enable debugging of Scheduler"
183+ default n
185184
186- config RT_DEBUG_SCHEDULER
187- int
188- default 1 if RT_DEBUG_SCHEDULER_CONFIG
185+ config RT_DEBUG_SCHEDULER
186+ int
187+ default 1 if RT_DEBUG_SCHEDULER_CONFIG
189188
190- config RT_DEBUG_IPC_CONFIG
191- bool "Enable debugging of IPC"
192- default n
189+ config RT_DEBUG_IPC_CONFIG
190+ bool "Enable debugging of IPC"
191+ default n
193192
194- config RT_DEBUG_IPC
195- int
196- default 1 if RT_DEBUG_IPC_CONFIG
193+ config RT_DEBUG_IPC
194+ int
195+ default 1 if RT_DEBUG_IPC_CONFIG
197196
198- config RT_DEBUG_TIMER_CONFIG
199- bool "Enable debugging of Timer"
200- default n
197+ config RT_DEBUG_TIMER_CONFIG
198+ bool "Enable debugging of Timer"
199+ default n
201200
202- config RT_DEBUG_TIMER
203- int
204- default 1 if RT_DEBUG_TIMER_CONFIG
201+ config RT_DEBUG_TIMER
202+ int
203+ default 1 if RT_DEBUG_TIMER_CONFIG
205204
206- config RT_DEBUG_IRQ_CONFIG
207- bool "Enable debugging of IRQ(Interrupt Request)"
208- default n
205+ config RT_DEBUG_IRQ_CONFIG
206+ bool "Enable debugging of IRQ(Interrupt Request)"
207+ default n
209208
210- config RT_DEBUG_IRQ
211- int
212- default 1 if RT_DEBUG_IRQ_CONFIG
209+ config RT_DEBUG_IRQ
210+ int
211+ default 1 if RT_DEBUG_IRQ_CONFIG
213212
214- config RT_DEBUG_MEM_CONFIG
215- bool "Enable debugging of Small Memory Algorithm"
216- default n
213+ config RT_DEBUG_MEM_CONFIG
214+ bool "Enable debugging of Small Memory Algorithm"
215+ default n
217216
218- config RT_DEBUG_MEM
219- int
220- default 1 if RT_DEBUG_MEM_CONFIG
217+ config RT_DEBUG_MEM
218+ int
219+ default 1 if RT_DEBUG_MEM_CONFIG
221220
222- config RT_DEBUG_SLAB_CONFIG
223- bool "Enable debugging of SLAB Memory Algorithm"
224- default n
221+ config RT_DEBUG_SLAB_CONFIG
222+ bool "Enable debugging of SLAB Memory Algorithm"
223+ default n
225224
226- config RT_DEBUG_SLAB
227- int
228- default 1 if RT_DEBUG_SLAB_CONFIG
225+ config RT_DEBUG_SLAB
226+ int
227+ default 1 if RT_DEBUG_SLAB_CONFIG
229228
230- config RT_DEBUG_MEMHEAP_CONFIG
231- bool "Enable debugging of Memory Heap Algorithm"
232- default n
229+ config RT_DEBUG_MEMHEAP_CONFIG
230+ bool "Enable debugging of Memory Heap Algorithm"
231+ default n
233232
234- config RT_DEBUG_MEMHEAP
235- int
236- default 1 if RT_DEBUG_MEMHEAP_CONFIG
233+ config RT_DEBUG_MEMHEAP
234+ int
235+ default 1 if RT_DEBUG_MEMHEAP_CONFIG
237236
238- config RT_DEBUG_MODULE_CONFIG
239- bool "Enable debugging of Application Module"
240- default n
237+ config RT_DEBUG_MODULE_CONFIG
238+ bool "Enable debugging of Application Module"
239+ default n
241240
242- config RT_DEBUG_MODULE
243- int
244- default 1 if RT_DEBUG_MODULE_CONFIG
241+ config RT_DEBUG_MODULE
242+ int
243+ default 1 if RT_DEBUG_MODULE_CONFIG
245244
246245endif
247246
248247menu "Inter-Thread communication"
249248
250- config RT_USING_SEMAPHORE
251- bool "Enable semaphore"
252- default y
249+ config RT_USING_SEMAPHORE
250+ bool "Enable semaphore"
251+ default y
253252
254- config RT_USING_MUTEX
255- bool "Enable mutex"
256- default y
253+ config RT_USING_MUTEX
254+ bool "Enable mutex"
255+ default y
257256
258- config RT_USING_EVENT
259- bool "Enable event flag"
260- default y
257+ config RT_USING_EVENT
258+ bool "Enable event flag"
259+ default y
261260
262- config RT_USING_MAILBOX
263- bool "Enable mailbox"
264- default y
261+ config RT_USING_MAILBOX
262+ bool "Enable mailbox"
263+ default y
265264
266- config RT_USING_MESSAGEQUEUE
267- bool "Enable message queue"
268- default y
265+ config RT_USING_MESSAGEQUEUE
266+ bool "Enable message queue"
267+ default y
268+
269+ config RT_USING_SIGNALS
270+ bool "Enable signals"
271+ select RT_USING_MEMPOOL
272+ default n
273+ help
274+ A signal is an asynchronous notification sent to a specific thread
275+ in order to notify it of an event that occurred.
269276
270- config RT_USING_SIGNALS
271- bool "Enable signals"
272- select RT_USING_MEMPOOL
273- default n
274- help
275- A signal is an asynchronous notification sent to a specific thread
276- in order to notify it of an event that occurred.
277277endmenu
278278
279279menu "Memory Management"
0 commit comments