complete linux interface and rename folder
authorMart Lubbers <mart@martlubbers.net>
Mon, 6 Feb 2017 16:51:28 +0000 (17:51 +0100)
committerMart Lubbers <mart@martlubbers.net>
Mon, 6 Feb 2017 16:51:28 +0000 (17:51 +0100)
20 files changed:
.gitmodules
Makefile
client/.gitignore [moved from int/.gitignore with 100% similarity]
client/ChibiOS [moved from int/ChibiOS with 100% similarity]
client/Makefile [moved from int/Makefile with 100% similarity]
client/Makefile.linux [moved from int/Makefile.linux with 100% similarity]
client/chconf.h [moved from int/chconf.h with 100% similarity]
client/halconf.h [moved from int/halconf.h with 100% similarity]
client/interface.c [moved from int/interface.c with 100% similarity]
client/interface.h [moved from int/interface.h with 100% similarity]
client/interface_linux.c [moved from int/interface_linux.c with 95% similarity]
client/interpret.c [moved from int/interpret.c with 100% similarity]
client/interpret.h [moved from int/interpret.h with 100% similarity]
client/mTaskSymbols.h [moved from int/mTaskSymbols.h with 100% similarity]
client/main.c [moved from int/main.c with 100% similarity]
client/mcuconf.h [moved from int/mcuconf.h with 100% similarity]
client/sds.c [moved from int/sds.c with 100% similarity]
client/sds.h [moved from int/sds.h with 100% similarity]
client/task.c [moved from int/task.c with 100% similarity]
client/task.h [moved from int/task.h with 100% similarity]

index b97a1d2..5195bdd 100644 (file)
@@ -2,5 +2,5 @@
        path = CleanSerial
        url = https://gitlab.science.ru.nl/mlubbers/CleanSerial
 [submodule "int/ChibiOS"]
-       path = int/ChibiOS
+       path = client/ChibiOS
        url = https://github.com/ChibiOS/ChibiOS.git
index e6f7f8d..49943f5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ CLMLIBS:=\
        -I $(CLEAN_HOME)/lib/TCPIP\
        -I ./CleanSerial
 
-BINARIES:= miTask #mTaskExamples mTaskInterpret miTask
+BINARIES:= miTask mTaskExamples mTaskInterpret
 
 all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) int/mTaskSymbols.h
 
similarity index 100%
rename from int/.gitignore
rename to client/.gitignore
similarity index 100%
rename from int/ChibiOS
rename to client/ChibiOS
similarity index 100%
rename from int/Makefile
rename to client/Makefile
similarity index 100%
rename from int/Makefile.linux
rename to client/Makefile.linux
similarity index 100%
rename from int/chconf.h
rename to client/chconf.h
similarity index 100%
rename from int/halconf.h
rename to client/halconf.h
similarity index 100%
rename from int/interface.c
rename to client/interface.c
similarity index 100%
rename from int/interface.h
rename to client/interface.h
similarity index 95%
rename from int/interface_linux.c
rename to client/interface_linux.c
index dd94993..e6e2df0 100644 (file)
@@ -96,6 +96,18 @@ void delay(long ms)
        usleep(ms*1000);
 }
 
+void led_on(uint8_t i)
+{
+       debug("led %d on\n", i);
+       (void)i;
+}
+
+void led_off(uint8_t i)
+{
+       debug("led %d off\n", i);
+       (void)i;
+}
+
 void setup(void)
 {
        int port = 8123, opti = 1;
similarity index 100%
rename from int/interpret.c
rename to client/interpret.c
similarity index 100%
rename from int/interpret.h
rename to client/interpret.h
similarity index 100%
rename from int/mTaskSymbols.h
rename to client/mTaskSymbols.h
similarity index 100%
rename from int/main.c
rename to client/main.c
similarity index 100%
rename from int/mcuconf.h
rename to client/mcuconf.h
similarity index 100%
rename from int/sds.c
rename to client/sds.c
similarity index 100%
rename from int/sds.h
rename to client/sds.h
similarity index 100%
rename from int/task.c
rename to client/task.c
similarity index 100%
rename from int/task.h
rename to client/task.h