Edouard Tisserant [Thu, 08 Mar 2018 15:09:22 +0100] rev 799
Update can_socket.c to Xenomai 3 API
Edouard Tisserant [Thu, 08 Mar 2018 15:03:04 +0100] rev 798
Update timers_xeno/timerscfg.h to Xenomai 3 API
Edouard Tisserant [Thu, 08 Mar 2018 14:55:01 +0100] rev 797
Update timers_xeno.c to Xenomai 3 API
bmakuc <blaz.makuc@smarteh.si> [Fri, 24 Mar 2017 10:52:38 +0100] rev 796
Send timeout is set to 10 ms. Without timeout PLC can be blocked by CAN driver: if CAN bus is not connected to controller CAN driver never returns and therfore PLC application halts. This is a temporary solution.
Edouard Tisserant [Fri, 27 Nov 2015 16:27:46 +0100] rev 795
fixed static link of can driver
Edouard Tisserant [Mon, 03 Aug 2015 18:01:58 +0200] rev 794
merged
Robert Lehmann <robert.lehmann@sitec-systems.de> [Tue, 28 Jul 2015 16:36:55 +0200] rev 793
timers_unix: Fix termination problem of WaitReceiveTaskEnd
The function pthread_kill sends the Signal thread and to the own process.
If you use this construct than the application which calls uses the
canfestival api will terminate at the call of canClose. To avoid that
use pthread_cancel instead of pthread_kill. To use the pthread_cancel call
you need to set the cancel ability in the thread function. That means
you need to call pthread_setcancelstate and pthread_setcanceltype.
For the termination of the thread at any time it is important to set the
cancel type to PTHREAD_CANCEL_ASYNCHRONOUS.
Edouard Tisserant [Fri, 19 Jun 2015 20:16:07 +0200] rev 792
some fixes
gabriele at naustech dot com [Thu, 12 Jun 2014 14:07:16 +0200] rev 791
Fix : libcanfestival_unix.a not built if examples are not compiled
Problem: when building Canfestival with unix timers 'libcanfestiva_unix.a'
is built only if you build examples too.
Test case:
$ ./configure --timers=unix --can=socket --target=unix
$ make canfestival
...
no errors but 'libcanfestival_unix.a' is not built:
$ find . -name "*.a"
./src/libcanfestival.a
Changing line 90 of 'drivers/unix/Makefile.in' to:
#driver: $(OBJS)
driver: libcanfestival_$(TARGET).a
solves the problem:
$ ./configure --timers=unix --can=socket --target=unix
$ make canfestival
...
$ find . -name "*.a"
./drivers/unix/libcanfestival_unix.a
./src/libcanfestival.a
Samuel Martin <s.martin49@gmail.com> [Sun, 08 Jun 2014 17:42:47 +0200] rev 790
Honor DESTDIR in install rules
Signed-off-by: Samuel Martin <s.martin49@gmail.com>