summaryrefslogtreecommitdiff
path: root/components/libc/Kconfig
blob: 2d1e9315f19a05d0d4b34250572e280af67a61a4 (plain)
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
menu "POSIX layer and C standard library"

config RT_USING_LIBC
    bool "Enable libc APIs from toolchain"
    default y

config RT_USING_PTHREADS
    bool "Enable pthreads APIs"
    default n

if RT_USING_PTHREADS
    config PTHREAD_NUM_MAX
    int "Maximum number of pthreads"
    default 8
endif

if RT_USING_LIBC && RT_USING_DFS
    config RT_USING_POSIX
        bool "Enable POSIX layer for poll/select, stdin etc"
        select RT_USING_DFS_DEVFS
        default y

    if RT_USING_POSIX
    config RT_USING_POSIX_MMAP
        bool "Enable mmap() api"
        default n

    config RT_USING_POSIX_TERMIOS
        bool "Enable termios feature"
        default n

    config RT_USING_POSIX_AIO
        bool "Enable AIO"
        default n
    endif

    config RT_USING_MODULE
        bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
        default n
endif

if RT_USING_LIBC != y
        config RT_LIBC_USING_TIME
        bool "Enable TIME FUNCTIONS WITHOUT COMPILER'S LIBC"
        default y
endif

endmenu