add nuttx for develop

This commit is contained in:
Wang_Weigen
2021-06-17 15:07:37 +08:00
6759 changed files with 1528143 additions and 182 deletions

View File

@@ -1,7 +1,7 @@
SRC_DIR := switch_api posix_support
SRC_DIR := posix_support
# # ifeq ($(CONFIG_SEPARATE_COMPILE),y)
# SRC_DIR += switch_api
# # endif
ifeq ($(CONFIG_SEPARATE_COMPILE),y)
SRC_DIR += switch_api
endif
include $(KERNEL_ROOT)/compiler.mk

View File

@@ -1,4 +0,0 @@
config POSIX_API
bool "support posix api"
default n

View File

@@ -1,21 +1,3 @@
# ifeq ($(CONFIG_POSIX_API),y)
# SRC_FILES += pthread.c
# ifeq ($(CONFIG_KERNEL_SEMAPHORE),y)
# SRC_FILES += semaphore.c
# endif
# ifeq ($(CONFIG_KERNEL_MUTEX),y)
# SRC_FILES += pthread_mutex.c
# endif
# ifeq ($(CONFIG_KERNEL_MESSAGEQUEUE),y)
# SRC_FILES += mqueue.c
# endif
# else
# SRC_FILES :=
# endif
SRC_FILES := pthread.c semaphore.c pthread_mutex.c mqueue.c