add user api printf

This commit is contained in:
Wang_Weigen 2021-06-17 14:47:51 +08:00
parent e603afa739
commit f564ef8d28
3 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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 #