OSDN Git Service

チケット #30467 uzume_appという名称をuzume_sampleに変更したい
authorShinichiro Nakamura <shinta.main.jp@gmail.com>
Mon, 14 Jan 2013 08:56:52 +0000 (17:56 +0900)
committerShinichiro Nakamura <shinta.main.jp@gmail.com>
Mon, 14 Jan 2013 08:56:52 +0000 (17:56 +0900)
チケット #30432 にも関連するが、UZUMEフレームワークに含まれるuzume_appは
「あくまでフレームワークが提供する機能の一部を使用したサンプル」である。
外から来た開発者が「あぁ、これはサンプルなんだね」と容易にわかるように
uzume_appではなくuzume_sampleという名称に変更した。
「サンプルなんだ」と認識できれば「ここから拡張していこう」と簡単に認識さ
せる事ができる。

uzumeapp/configure-project
uzumeapp/uzume_sample.c [moved from uzumeapp/uzume_app.c with 89% similarity]
uzumeapp/uzume_sample.cfg [moved from uzumeapp/uzume_app.cfg with 71% similarity]
uzumeapp/uzume_sample.h [moved from uzumeapp/uzume_app.h with 95% similarity]

index de3461c..baa02e9 100755 (executable)
@@ -2,6 +2,6 @@ cd kernel/cfg
 make depend
 make
 cd ../..
-kernel/configure -C blackfin -S bsp_amakusa592 -A uzume_app
+kernel/configure -C blackfin -S bsp_amakusa592 -A uzume_sample
 make depend
 make clean
similarity index 89%
rename from uzumeapp/uzume_app.c
rename to uzumeapp/uzume_sample.c
index 04a8973..c9708e1 100644 (file)
@@ -1,7 +1,7 @@
 
 #include <t_services.h>
 #include "kernel_id.h"
-#include "uzume_app.h"
+#include "uzume_sample.h"
 
 #define ADCADDR 0x28
 
similarity index 71%
rename from uzumeapp/uzume_app.cfg
rename to uzumeapp/uzume_sample.cfg
index eaf8ea9..ae6e057 100644 (file)
@@ -3,13 +3,14 @@
 
 
 #define _MACRO_ONLY
-#include "uzume_app.h"
+#include "uzume_sample.h"
 
-INCLUDE("\"uzume_app.h\"");
+INCLUDE("\"uzume_sample.h\"");
 CRE_TSK(MAIN_TASK, { TA_HLNG|TA_ACT, 0, main_task, MAIN_TASK_PRIORITY,
             MAIN_TASK_STACK_SIZE, NULL });
 
 #include "kernel/systask/timer.cfg"
 #include "kernel/systask/serial.cfg"
 #include "kernel/systask/logtask.cfg"
-#include "kernel/uzume/bsp_amakusa592.cfg"
\ No newline at end of file
+#include "kernel/uzume/bsp_amakusa592.cfg"
+
similarity index 95%
rename from uzumeapp/uzume_app.h
rename to uzumeapp/uzume_sample.h
index 8b9fb1d..b26715a 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _UZUME_APP_H_
-#define _UZUME_APP_H_
+#ifndef _UZUME_SAMPLE_H_
+#define _UZUME_SAMPLE_H_
 
 #include <s_services.h>
 #include <t_services.h>