• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1menu "FreeRTOS"
2	config FREERTOS
3		bool "Enable FreeRTOS"
4
5	choice FREERTOS_VER
6		depends on FREERTOS
7		prompt "FreeRTOS Version"
8		default FREERTOS_V9
9
10		config FREERTOS_V9
11			bool "FreeRTOS v9.0.0"
12		config FREERTOS_V10
13			bool "FreeRTOS v10"
14	endchoice
15
16	config FREERTOS_POSIX
17		depends on FREERTOS_V10
18		bool "FreeRTOS POSIX"
19		default n
20
21	menu "Memory Debug"
22		config MALLOC_STATIS
23			bool "Enable malloc statistics"
24			default n
25
26		config MEM_DEBUG
27			bool "Enable memory debug"
28			default n
29			help
30				When this option is enable, more memory will be consumed because
31				a fixed length debug block will be appended to every memory allocated
32				from heap.
33
34				Moreover, suggest disable task/watchdog when this option is enabled
35				in case os_dump_memory_stats() triggers watchdog.
36
37		config MEM_DEBUG_FUNC_NAME
38			depends on MEM_DEBUG
39			bool "Enable memory debug"
40			default y
41
42		config MEM_DEBUG_FUNC_NAME_LEN
43			depends on MEM_DEBUG_FUNC_NAME
44			int "Function name length"
45			default 16
46
47		config MEM_DEBUG_TASK_NAME
48			depends on MEM_DEBUG
49			bool "Enable memory debug"
50			default y
51
52		config MEM_DEBUG_TASK_NAME_LEN
53			depends on MEM_DEBUG_TASK_NAME
54			int "Task name length"
55			default 8
56	endmenu
57endmenu
58
59menu "LITEOS_M"
60
61	config LITEOS_M
62		bool "liteos_m"
63		default n
64
65	config LITEOS_M_V3
66		bool "liteos_m v3.0.1-LTS"
67		default n
68
69	config LITEOS_M_MST
70		bool "liteos_m master 2022.9.8"
71		default n
72
73	config LITEOS_M_BK
74		depends on LITEOS_M_V3 || LITEOS_M_MST
75			bool "liteos_m bk adapter"
76			default n
77endmenu
78
79menu "NON_OS"
80	config NON_OS
81		bool "non_os"
82		default n
83endmenu
84
85config CUSTOMIZE_HEAP_SIZE
86	int "Customize heap size, default 160k"
87	default 163840