diff --git a/Ubiquitous/XiUOS/kernel/Kconfig b/Ubiquitous/XiUOS/kernel/Kconfig index eaac49cb4..48ac755e0 100644 --- a/Ubiquitous/XiUOS/kernel/Kconfig +++ b/Ubiquitous/XiUOS/kernel/Kconfig @@ -1,7 +1,4 @@ menu "Kernel feature" - config COMPILE_WITH_XIUOS - bool "select xiuos kernel" - default y menu "separate compile(choose none for compile once)" config SEPARATE_COMPILE diff --git a/Ubiquitous/XiUOS/kernel/thread/init.c b/Ubiquitous/XiUOS/kernel/thread/init.c index e8aa8e4b3..6369e3529 100644 --- a/Ubiquitous/XiUOS/kernel/thread/init.c +++ b/Ubiquitous/XiUOS/kernel/thread/init.c @@ -92,6 +92,7 @@ struct InitSequenceDesc components_init[] = #ifdef FS_CH376 { "ch376", Ch376fsInit }, #endif + { "libc_system", LibcSystemInit }, #ifdef RTC_SYNC_USING_NTP { "rtc_ntp_sync",RtcNtpSyncInit}, #endif diff --git a/Ubiquitous/XiUOS/path_app.mk b/Ubiquitous/XiUOS/path_app.mk index 39b3d4d03..482565733 100644 --- a/Ubiquitous/XiUOS/path_app.mk +++ b/Ubiquitous/XiUOS/path_app.mk @@ -5,7 +5,7 @@ APPPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/Applications/general_functions/ -I$(KERNEL_ROOT)/../../APP_Framework/lib/app_newlib/include \ -I$(KERNEL_ROOT)/../../APP_Framework/Framework/sensor # -ifeq ($(CONFIG_COMPILE_WITH_XIUOS), y) +ifeq ($(CONFIG_ADD_XIUOS_FETURES), y) APPPATHS += -I$(KERNEL_ROOT)/../../APP_Framework/Framework/transform_layer/xiuos \ -I$(KERNEL_ROOT)/../../APP_Framework/Framework/transform_layer/xiuos/user_api/switch_api \ -I$(KERNEL_ROOT)/../../APP_Framework/Framework/transform_layer/xiuos/user_api/posix_support/include #