diff --git a/APP_Framework/Applications/app_test/Makefile b/APP_Framework/Applications/app_test/Makefile index 8b6ac8332..be43d9839 100644 --- a/APP_Framework/Applications/app_test/Makefile +++ b/APP_Framework/Applications/app_test/Makefile @@ -1,29 +1,37 @@ -SRC_FILES := test_shell.c - -ifeq ($(CONFIG_USER_TEST_ADC),y) - SRC_FILES += test_adc.c -endif - -ifeq ($(CONFIG_USER_TEST_DAC),y) - SRC_FILES += test_dac.c -endif - -ifeq ($(CONFIG_USER_TEST_SEMC),y) - SRC_FILES += test_extsram.c -endif - -ifeq ($(CONFIG_USER_TEST_LCD),y) - SRC_FILES += -endif - -ifeq ($(CONFIG_ADD_XIZI_FETURES),y) -include $(KERNEL_ROOT)/compiler.mk -endif - include $(KERNEL_ROOT)/.config ifeq ($(CONFIG_ADD_NUTTX_FETURES),y) include $(APPDIR)/Make.defs - CSRCS += test_extsram.c test_lcd.c + + ifeq ($(CONFIG_USER_TEST_SEMC),y) + CSRCS += test_extsram.c + endif + + ifeq ($(CONFIG_USER_TEST_LCD),y) + CSRCS += test_lcd.c + endif + include $(APPDIR)/Application.mk + endif +ifeq ($(CONFIG_ADD_XIZI_FETURES),y) + SRC_FILES := test_shell.c + + ifeq ($(CONFIG_USER_TEST_ADC),y) + SRC_FILES += test_adc.c + endif + + ifeq ($(CONFIG_USER_TEST_DAC),y) + SRC_FILES += test_dac.c + endif + + ifeq ($(CONFIG_USER_TEST_SEMC),y) + SRC_FILES += test_extsram.c + endif + + ifeq ($(CONFIG_USER_TEST_LCD),y) + SRC_FILES += + endif + + include $(KERNEL_ROOT)/compiler.mk +endif diff --git a/Ubiquitous/Nuttx_Fusion_XiUOS/aiit_board/xidatong-riscv64/configs/lcdnsh/defconfig b/Ubiquitous/Nuttx_Fusion_XiUOS/aiit_board/xidatong-riscv64/configs/lcdnsh/defconfig index a5e7abb94..588b67f60 100755 --- a/Ubiquitous/Nuttx_Fusion_XiUOS/aiit_board/xidatong-riscv64/configs/lcdnsh/defconfig +++ b/Ubiquitous/Nuttx_Fusion_XiUOS/aiit_board/xidatong-riscv64/configs/lcdnsh/defconfig @@ -63,6 +63,5 @@ CONFIG_K210_LCD=y CONFIG_K210_LCD_BACKLIGHT=y CONFIG_LCD=y CONFIG_LCD_LT768=y - CONFIG_USER_TEST=y CONFIG_USER_TEST_LCD=y