Repository navigation
Expand file tree
/
Copy pathKconfig
More file actions
84 lines (77 loc) · 2.99 KB
/
Copy pathKconfig
File metadata and controls
84 lines (77 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
mainmenu "Ellu's Modules"
menu "System Configuration"
choice
prompt "Enable RTOS Support"
help
Select the RTOS you are using.
default MOD_CFG_USE_OS_NONE
config MOD_CFG_USE_OS_NONE
bool "None"
config MOD_CFG_USE_OS_FREERTOS
bool "FreeRTOS"
config MOD_CFG_USE_OS_RTT
bool "RT-Thread"
config MOD_CFG_USE_OS_KLITE
bool "KLite RTOS"
endchoice
choice
prompt "System Time/Tick Provider"
help
Select the system time source that offers m_tick/m_time_* functions.
default MOD_CFG_TIME_MATHOD_PERF_COUNTER
config MOD_CFG_TIME_MATHOD_HAL
bool "ST HAL Library"
config MOD_CFG_TIME_MATHOD_PERF_COUNTER
bool "PerfCounter Library"
endchoice
choice
prompt "System Heap Provider"
help
Select the memory manager that offers m_alloc/m_free/m_realloc functions.
Be aware that if you are using an RTOS, the RTOS's memory manager should best be used.
default MOD_CFG_HEAP_MATHOD_KLITE if MOD_CFG_USE_OS_KLITE
default MOD_CFG_HEAP_MATHOD_FREERTOS if MOD_CFG_USE_OS_FREERTOS
default MOD_CFG_HEAP_MATHOD_RTT if MOD_CFG_USE_OS_RTT
default MOD_CFG_HEAP_MATHOD_STDLIB
config MOD_CFG_HEAP_MATHOD_STDLIB
bool "Standard Library (stdlib.h)"
config MOD_CFG_HEAP_MATHOD_LWMEM
bool "LwMEM Memory Manager"
config MOD_CFG_HEAP_MATHOD_HEAP4
bool "Heap4 Memory Manager (modified from FreeRTOS)"
config MOD_CFG_HEAP_MATHOD_KLITE
bool "KLite RTOS Memory Manager"
depends on MOD_CFG_USE_OS_KLITE
config MOD_CFG_HEAP_MATHOD_FREERTOS
bool "FreeRTOS Memory Manager"
depends on MOD_CFG_USE_OS_FREERTOS
config MOD_CFG_HEAP_MATHOD_RTT
bool "RT-Thread Memory Manager"
depends on MOD_CFG_USE_OS_RTT
endchoice
choice
prompt "System Delay Provider"
help
Select the system delay source that offers m_delay_* functions.
Be aware that if you are using an RTOS, the RTOS's delay functions should best be used.
default MOD_CFG_DELAY_MATHOD_RTT if MOD_CFG_USE_OS_RTT
default MOD_CFG_DELAY_MATHOD_KLITE if MOD_CFG_USE_OS_KLITE
default MOD_CFG_DELAY_MATHOD_FREERTOS if MOD_CFG_USE_OS_FREERTOS
default MOD_CFG_DELAY_MATHOD_PERF_COUNTER
config MOD_CFG_DELAY_MATHOD_HAL
bool "ST HAL Library"
config MOD_CFG_DELAY_MATHOD_PERF_COUNTER
bool "PerfCounter Library"
config MOD_CFG_DELAY_MATHOD_RTT
bool "RT-Thread"
depends on MOD_CFG_USE_OS_RTT
config MOD_CFG_DELAY_MATHOD_KLITE
bool "KLite RTOS"
depends on MOD_CFG_USE_OS_KLITE
config MOD_CFG_DELAY_MATHOD_FREERTOS
bool "FreeRTOS"
depends on MOD_CFG_USE_OS_FREERTOS
endchoice
endmenu
# Sub-Modules
source "*/Kconfig"