Canfestival library: add new package

Signed-off-by: Anton Glukhov <anton.a.glukhov@gmail.com>
This commit is contained in:
Anton Glukhov
2015-09-26 04:50:40 +03:00
parent e16d7305dd
commit ce7ae15a98
3 changed files with 112 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/drivers/timers_unix/timers_unix.c
+++ b/drivers/timers_unix/timers_unix.c
@@ -33,7 +33,7 @@
}
}
-void timer_notify(sigval_t val)
+void timer_notify(void)
{
if(gettimeofday(&last_sig,NULL)) {
perror("gettimeofday()");
@@ -0,0 +1,33 @@
--- a/examples/TestMasterMicroMod/Makefile.in
+++ b/examples/TestMasterMicroMod/Makefile.in
@@ -56,7 +56,7 @@
$(TESTMASTERMICROMOD): $(OBJS)
- $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
+ $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
TestMaster.c: TestMaster.od
--- a/examples/TestMasterSlave/Makefile.in
+++ b/examples/TestMasterSlave/Makefile.in
@@ -65,7 +65,7 @@
$(TESTMASTERSLAVE): $(OBJS)
- $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
+ $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
TestSlave.c: TestSlave.od
$(MAKE) -C ../../objdictgen gnosis
--- a/examples/CANOpenShell/Makefile.in
+++ b/examples/CANOpenShell/Makefile.in
@@ -64,7 +64,7 @@
$(MAKE) -C ../../drivers/$(TARGET) libcanfestival_$(TARGET).a
$(CANOPENSHELL): $(OBJS)
- $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
+ $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
mkdir -p Debug; cp $(CANOPENSHELL) Debug
CANOpenShellMasterOD.c: CANOpenShellMasterOD.od