1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- menu "POSIX layer and C standard library"
- config RT_USING_LIBC
- bool "Enable libc APIs from toolchain"
- default y
- if RT_USING_LIBC
- config RT_LIBC_USING_TIME
- default y
- config RT_LIBC_USING_FILEIO
- bool "Enable libc with file operation, eg.fopen/fwrite/fread/getchar"
- select RT_USING_POSIX
- select RT_USING_POSIX_STDIO
- default n
- config RT_USING_MODULE
- bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
- default n
- if RT_USING_MODULE
- config RT_USING_CUSTOM_DLMODULE
- bool "Enable load dynamic module by custom"
- default n
- endif
- endif
- if RT_USING_LIBC != y
- config RT_LIBC_USING_TIME
- bool "Enable time functions without compiler's libc"
- default y
- endif
- config RT_LIBC_DEFAULT_TIMEZONE
- depends on (RT_LIBC_USING_TIME || RT_USING_LIBC)
- int "Set the default time zone (UTC+)"
- range -12 12
- default 8
- config RT_USING_POSIX
- bool "Enable basic POSIX layer, open/read/write/close etc"
- select RT_USING_DFS
- default n
- if RT_USING_POSIX
- config RT_USING_POSIX_STDIO
- bool "Enable standard I/O"
- select RT_USING_DFS
- select RT_USING_DFS_DEVFS
- default n
- config RT_USING_POSIX_POLL
- bool "Enable poll()"
- select RT_USING_DFS
- default n
- config RT_USING_POSIX_SELECT
- bool "Enable select()"
- select RT_USING_DFS
- select RT_USING_POSIX_POLL
- default n
- config RT_USING_POSIX_DELAY
- bool "Enable delay functions"
- default n
- config RT_USING_POSIX_GETLINE
- bool "Enable getline()/getdelim() APIs"
- default n
- config RT_USING_POSIX_MMAP
- bool "Enable mmap() API"
- select RT_USING_DFS
- default n
- config RT_USING_POSIX_TERMIOS
- bool "Enable termios APIs"
- default n
- config RT_USING_POSIX_AIO
- bool "Enable AIO"
- default n
- endif
- 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
- endmenu
|