import RT-Thread@9217865c without bsp, libcpu and components/net

This commit is contained in:
Zihao Yu 2023-05-20 16:23:33 +08:00
commit e2376a3709
1414 changed files with 390370 additions and 0 deletions

View file

@ -0,0 +1,3 @@
source "$RTT_DIR/examples/utest/testcases/posix/sys/mman_h/Kconfig"
source "$RTT_DIR/examples/utest/testcases/posix/sys/shm_h/Kconfig"
source "$RTT_DIR/examples/utest/testcases/posix/sys/utsname_h/Kconfig"

View file

@ -0,0 +1,31 @@
menuconfig RTT_POSIX_TESTCASE_SYS_MMAN_H
bool "<sys/mman.h>"
default n
if RTT_POSIX_TESTCASE_SYS_MMAN_H
config MMAN_H_MLOCK
bool "<sys/mman.h> -> mlock"
default n
config MMAN_H_MMAP
bool "<sys/mman.h> -> mmap"
default n
config MMAN_H_MPROTECT
bool "<sys/mman.h> -> mprotect"
default n
config MMAN_H_MSYNC
bool "<sys/mman.h> -> msync"
default n
config MMAN_H_MUNLOCK
bool "<sys/mman.h> -> munlock"
default n
config MMAN_H_MUNMAP
bool "<sys/mman.h> -> munmap"
default n
endif

View file

@ -0,0 +1,11 @@
menuconfig RTT_POSIX_TESTCASE_SYS_SHM_H
bool "<sys/shm.h>"
default n
if RTT_POSIX_TESTCASE_SYS_SELECT_H
config SELECT_H_SELECT
bool "<sys/select.h> -> select"
default n
endif

View file

@ -0,0 +1,9 @@
menuconfig RTT_POSIX_TESTCASE_SYS_SHM_H
bool "<sys/shm.h>"
default n
if RTT_POSIX_TESTCASE_SYS_SHM_H
# functions, TODO
endif

View file

@ -0,0 +1,11 @@
menuconfig RTT_POSIX_TESTCASE_SYS_SOCKET_H
bool "<sys/shm.h>"
default n
if RTT_POSIX_TESTCASE_SYS_SOCKET_H
config SOCKET_H_SELECT
bool "<sys/socket.h> -> socket, accept, listen...."
default n
endif

View file

@ -0,0 +1,23 @@
menuconfig RTT_POSIX_TESTCASE_SYS_STAT_H
bool "<sys/shm.h>"
default n
if RTT_POSIX_TESTCASE_SYS_STAT_H
config STAT_H_CHMOD
bool "<sys/stat.h> -> chmod"
default n
config STAT_H_FCHMOD
bool "<sys/stat.h> -> fchmod"
default n
config STAT_H_FSTAT
bool "<sys/stat.h> -> fstat"
default n
config STAT_H_LSTAT
bool "<sys/stat.h> -> lstat"
default n
endif

View file

@ -0,0 +1,11 @@
menuconfig RTT_POSIX_TESTCASE_SYS_STATVFS_H
bool "<sys/shm.h>"
default n
if RTT_POSIX_TESTCASE_SYS_STATVFS_H
config STATVFS_H_STATVFS
bool "<sys/statvfs.h> -> statvfs"
default n
endif

View file

@ -0,0 +1,15 @@
menuconfig RTT_POSIX_TESTCASE_SYS_UIO_H
bool "<sys/shm.h>"
default n
if RTT_POSIX_TESTCASE_SYS_UIO_H
config UIO_H_READV
bool "<sys/statvfs.h> -> readv"
default n
config UIO_H_WRITEV
bool "<sys/statvfs.h> -> writev"
default n
endif

View file

@ -0,0 +1,9 @@
menuconfig RTT_POSIX_TESTCASE_SYS_UTSNAME_H
bool "<sys/shm.h>"
default n
if RTT_POSIX_TESTCASE_SYS_UTSNAME_H
# functions, TODO
endif