Create project for vsmile port using u'nSP IDE
diff --git a/contiki-vsmile/Makefile b/contiki-vsmile/Makefile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/contiki-vsmile/Makefile
diff --git a/contiki-vsmile/Resource.h b/contiki-vsmile/Resource.h
new file mode 100644
index 0000000..1a3ec87
--- /dev/null
+++ b/contiki-vsmile/Resource.h
@@ -0,0 +1,5 @@
+#ifndef	__RESOURCE_H__
+#define	__RESOURCE_H__
+//	write your header here
+
+#endif
diff --git a/contiki-vsmile/Resource.inc b/contiki-vsmile/Resource.inc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/contiki-vsmile/Resource.inc
diff --git a/contiki-vsmile/contiki-vsmile.env b/contiki-vsmile/contiki-vsmile.env
new file mode 100644
index 0000000..8d43e6a
--- /dev/null
+++ b/contiki-vsmile/contiki-vsmile.env
@@ -0,0 +1,10 @@
+[General]
+MODE=0
+[Watch0]
+Count=0
+[Watch1]
+Count=0
+[Watch2]
+Count=0
+[Watch3]
+Count=0
diff --git a/contiki-vsmile/contiki-vsmile.h b/contiki-vsmile/contiki-vsmile.h
new file mode 100644
index 0000000..b27f009
--- /dev/null
+++ b/contiki-vsmile/contiki-vsmile.h
@@ -0,0 +1,5 @@
+#ifndef	__CONTIKI-VSMILE_H__
+#define	__CONTIKI-VSMILE_H__
+//	write your header here
+
+#endif
diff --git a/contiki-vsmile/contiki-vsmile.opt b/contiki-vsmile/contiki-vsmile.opt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/contiki-vsmile/contiki-vsmile.opt
diff --git a/contiki-vsmile/contiki-vsmile.rc b/contiki-vsmile/contiki-vsmile.rc
new file mode 100644
index 0000000..a9b7baf
--- /dev/null
+++ b/contiki-vsmile/contiki-vsmile.rc
@@ -0,0 +1,4 @@
+# Begin Project
+# Begin SubItem "contiki-vsmile  Resources"
+# End SubItem
+# End Project
diff --git a/contiki-vsmile/contiki-vsmile.set b/contiki-vsmile/contiki-vsmile.set
new file mode 100644
index 0000000..b59b62b
--- /dev/null
+++ b/contiki-vsmile/contiki-vsmile.set
@@ -0,0 +1,68 @@
+[General]
+Version=1.0
+Config=0
+ReleaseIntermediate=.\Release
+ReleaseOutput=.\Release
+DebudIntermediate=.\Debug
+DebugOutput=.\Debug
+EnableFunctionView=0
+DownloadPrompt=0
+DiffDownload=1970040940
+CHECK_DOWNLOAD_VERIFY=0
+BodyName=SPG200CartG
+
+[SetLink]
+ExeFile=1
+Output=.\Debug\contiki-vsmile.s37
+INTVEC=1
+STARTUP=1
+ALIGNRES=0
+ALIGNNUM=0
+FillUnusedNum=0
+INITTABLE=1
+NONPAGE0=0
+EnableCheckSPIMechanism=0
+
+[LIBRARY]
+Count=1
+LIB0=CMacro1016.lib
+
+[SYMBOL]
+Count=0
+
+[Option]
+CC_LOC=$(APPDIR)\toolchain\udocc
+CC_FLAG_D=-S -gstabs -Wall 
+CC_FLAG_R=-S -O1 -Wall 
+AS_LOC=$(APPDIR)\toolchain\xasm16
+AS_FLAG_D=-t2 -d -sr
+AS_FLAG_R=-t2 -sr
+LD_LOC=$(APPDIR)\toolchain\xlink16
+LD_FLAG_D=
+LD_FLAG_R=
+DebugOpt=0
+ReleaseOpt=2
+IsGenMakefile=1
+IsGenAryfile=1
+IsGenRes=1
+IsInitGlobal=1
+IsGenList=0
+CurIsa=ISA11
+IsWall=1
+POINTER=1
+
+[AdvancedHard]
+nStackSize=10015
+
+[Beforebuild]
+Description=
+Count=0
+
+[Beforelink]
+Description=
+Count=0
+
+[Afterbuild]
+Description=
+Count=0
+
diff --git a/contiki-vsmile/contiki-vsmile.spj b/contiki-vsmile/contiki-vsmile.spj
new file mode 100644
index 0000000..af9b7e8
--- /dev/null
+++ b/contiki-vsmile/contiki-vsmile.spj
Binary files differ
diff --git a/contiki-vsmile/libgloss.c b/contiki-vsmile/libgloss.c
new file mode 100644
index 0000000..1256173
--- /dev/null
+++ b/contiki-vsmile/libgloss.c
@@ -0,0 +1,50 @@
+/* printf in "CLib" will call printf_hook.
+   _SemiPrintf makes IDE can hook "printf" action.
+   User don't want to hook "printf" when __OPTIMIZE__.
+   function prototype:
+     void printf_hook (unsigned long lptr, unsigned int size); */
+#ifndef __OPTIMIZE__
+asm (".code
+.public _SemiPrintf
+.public _printf_hook
+_printf_hook: .proc
+_SemiPrintf:
+  retf
+  .endp
+");
+#else
+asm (".code
+.public _printf_hook
+_printf_hook: .proc
+  retf
+  .endp
+");
+#endif
+
+/* Be compatible with old project, user can remove them in new project. */
+void printf_init (int x)
+{
+	return;
+}
+void printf_end (void)
+{
+	return;
+}
+
+/* printf in "CLib" will call putchar.
+   user can implement this function -- send a char to UART? */
+int putchar (int c)
+{
+	return c;
+}
+
+/* malloc in "LibMem" will call malloc_lock/malloc_unlock.
+   if user's project has multitask, they should be implemented. */
+void _malloc_lock (void)
+{
+	return;
+}
+void  _malloc_unlock (void)
+{
+	return;
+}