Kconfig 1.3 KB
Newer Older
B
bernard 已提交
1
menu "POSIX layer and C standard library"
B
bernard 已提交
2 3

config RT_USING_LIBC
B
bernard 已提交
4 5
    bool "Enable libc APIs from toolchain"
    default y
B
bernard 已提交
6 7

config RT_USING_PTHREADS
B
bernard 已提交
8 9 10
    bool "Enable pthreads APIs"
    default n

11 12 13 14 15 16
if RT_USING_PTHREADS
    config PTHREAD_NUM_MAX
    int "Maximum number of pthreads"
    default 8
endif

B
Bernard Xiong 已提交
17
if RT_USING_LIBC && RT_USING_DFS
B
bernard 已提交
18 19
    config RT_USING_POSIX
        bool "Enable POSIX layer for poll/select, stdin etc"
B
bernard 已提交
20 21 22
        select RT_USING_DFS_DEVFS
        default y

B
bernard 已提交
23
    if RT_USING_POSIX
B
bernard 已提交
24
    config RT_USING_POSIX_MMAP
25
        bool "Enable mmap() API"
B
bernard 已提交
26 27 28
        default n

    config RT_USING_POSIX_TERMIOS
29 30 31 32 33
        bool "Enable termios APIs"
        default n

    config RT_USING_POSIX_GETLINE
        bool "Enable getline()/getdelim() APIs"
B
bernard 已提交
34
        default n
L
liang yongxiang 已提交
35

36 37 38
    config RT_USING_POSIX_AIO
        bool "Enable AIO"
        default n
B
bernard 已提交
39
    endif
40

41 42 43
endif

if RT_USING_LIBC
44 45
    config RT_USING_MODULE
        bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
46
        default n
47 48 49 50 51 52 53

    if RT_USING_MODULE
    config RT_USING_CUSTOM_DLMODULE
        bool "Enable load dynamic module by custom"
        default n
    endif

B
bernard 已提交
54
endif
B
bernard 已提交
55

56
if RT_USING_LIBC != y
57 58
        config RT_LIBC_USING_TIME
        bool "Enable TIME FUNCTIONS WITHOUT COMPILER'S LIBC"
59 60 61
        default y
endif

B
bernard 已提交
62
endmenu