Browse Source

add user api printf

pull/3/head
Wang_Weigen 1 year ago
parent
commit
f564ef8d28
  1. 3
      Ubiquitous/XiUOS/kernel/Kconfig
  2. 1
      Ubiquitous/XiUOS/kernel/thread/init.c
  3. 2
      Ubiquitous/XiUOS/path_app.mk

3
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

1
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

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

Loading…
Cancel
Save