OSDN Git Service

チケット #30491 Natural Tiny Shell (NT-Shell)の追加作業。 custom
authorShinichiro Nakamura <shinta.main.jp@gmail.com>
Sat, 12 Jan 2013 13:18:56 +0000 (22:18 +0900)
committerShinichiro Nakamura <shinta.main.jp@gmail.com>
Sat, 12 Jan 2013 13:18:56 +0000 (22:18 +0900)
BSPにBlueTankを選択した時にNT-Shellが組み込まれるようにする作業。

uzumeapp/kernel/config/blackfin/bsp_bluetank/Makefile.config
uzumeapp/kernel/uzume/bsp_bluetank.cfg

index a19459f..ce23fbf 100644 (file)
@@ -8,18 +8,19 @@
 INCLUDES := $(INCLUDES) -I$(SRCDIR)/config/$(CPU)/$(SYS) \
                        -I$(SRCDIR)/config/$(CPU)/_common_bf592 \
                        -I$(SRCDIR)/pdic/simple_sio \
-                       -I$(SRCDIR)/uzume
+                       -I$(SRCDIR)/uzume \
+                       -I$(SRCDIR)/uzume/ntshell
 COPTS := $(COPTS)
 LDFLAGS := $(LDFLAGS)
 
 #
 # カーネルに関する定義
 #
-KERNEL_DIR := $(KERNEL_DIR) :$(SRCDIR)/config/$(CPU)/$(SYS) :$(SRCDIR)/config/$(CPU)/_common_bf592 :$(SRCDIR)/pdic/simple_sio :$(SRCDIR)/uzume
+KERNEL_DIR := $(KERNEL_DIR) :$(SRCDIR)/config/$(CPU)/$(SYS) :$(SRCDIR)/config/$(CPU)/_common_bf592 :$(SRCDIR)/pdic/simple_sio :$(SRCDIR)/uzume :$(SRCDIR)/uzume/ntshell
 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS)
-KERNEL_COBJS := $(KERNEL_COBJS) chip_config.o uart.o chip_debugboot.o chip_dump.o 
+KERNEL_COBJS := $(KERNEL_COBJS) chip_config.o uart.o chip_debugboot.o chip_dump.o
 KERNEL_COBJS := $(KERNEL_COBJS) i2s_subsystem.o i2c_subsystem.o rotenc.o uzume_callback.o sgtl5000.o bsp_bluetank.o
-
+KERNEL_COBJS := $(KERNEL_COBJS) ntlibc.o ntopt.o ntshell.o ntshell_task.o text_editor.o text_history.o vtrecv.o vtsend.o xprintf.o
 
 #
 # リンカスクリプトの定義
index 0066e49..e9be80f 100644 (file)
@@ -1,6 +1,7 @@
 #include "i2c0_m.cfg"
 #include "i2s.cfg"
 #include "rotenc.cfg"
+#include "ntshell_task.cfg"
 
 INCLUDE("\"bsp_bluetank.h\"");