From: Mart Lubbers Date: Mon, 6 Feb 2017 16:51:28 +0000 (+0100) Subject: complete linux interface and rename folder X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=6c8939998c64aafb8cdfa40e52a227bf72767648;p=mTask.git complete linux interface and rename folder --- diff --git a/.gitmodules b/.gitmodules index b97a1d2..5195bdd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/Makefile b/Makefile index e6f7f8d..49943f5 100644 --- 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 diff --git a/int/.gitignore b/client/.gitignore similarity index 100% rename from int/.gitignore rename to client/.gitignore diff --git a/int/ChibiOS b/client/ChibiOS similarity index 100% rename from int/ChibiOS rename to client/ChibiOS diff --git a/int/Makefile b/client/Makefile similarity index 100% rename from int/Makefile rename to client/Makefile diff --git a/int/Makefile.linux b/client/Makefile.linux similarity index 100% rename from int/Makefile.linux rename to client/Makefile.linux diff --git a/int/chconf.h b/client/chconf.h similarity index 100% rename from int/chconf.h rename to client/chconf.h diff --git a/int/halconf.h b/client/halconf.h similarity index 100% rename from int/halconf.h rename to client/halconf.h diff --git a/int/interface.c b/client/interface.c similarity index 100% rename from int/interface.c rename to client/interface.c diff --git a/int/interface.h b/client/interface.h similarity index 100% rename from int/interface.h rename to client/interface.h diff --git a/int/interface_linux.c b/client/interface_linux.c similarity index 95% rename from int/interface_linux.c rename to client/interface_linux.c index dd94993..e6e2df0 100644 --- a/int/interface_linux.c +++ b/client/interface_linux.c @@ -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; diff --git a/int/interpret.c b/client/interpret.c similarity index 100% rename from int/interpret.c rename to client/interpret.c diff --git a/int/interpret.h b/client/interpret.h similarity index 100% rename from int/interpret.h rename to client/interpret.h diff --git a/int/mTaskSymbols.h b/client/mTaskSymbols.h similarity index 100% rename from int/mTaskSymbols.h rename to client/mTaskSymbols.h diff --git a/int/main.c b/client/main.c similarity index 100% rename from int/main.c rename to client/main.c diff --git a/int/mcuconf.h b/client/mcuconf.h similarity index 100% rename from int/mcuconf.h rename to client/mcuconf.h diff --git a/int/sds.c b/client/sds.c similarity index 100% rename from int/sds.c rename to client/sds.c diff --git a/int/sds.h b/client/sds.h similarity index 100% rename from int/sds.h rename to client/sds.h diff --git a/int/task.c b/client/task.c similarity index 100% rename from int/task.c rename to client/task.c diff --git a/int/task.h b/client/task.h similarity index 100% rename from int/task.h rename to client/task.h