mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-04 22:09:57 +02:00
- added error frame support in lib.c
- added sprint_* functions for CAN-frame output in lib.c / lib.h - added comments / cosmetics candump.c: - removed support for the output in ASC representation (moved to log2asc.c) - added option '-l' for logfile creation e.g. 'candump-2007-01-01_164123.log' - added funtionality to terminate candump by pressing [ENTER] (not only ^C) - added error frame support - added color support even when reading from 'any' - three different color levels (e.g. -c -c -c) - making use if lib.c cangen.c: - CAN frames generator for testing purposes (e.g. on vcanx) (nice when you're on vacancy at the baltic sea and have no real CAN source :) log2long.c: - convert compact CAN frame representation into user readable representation log2asc.c: - convert compact CAN frame logfile to ASC logfile for 3rd party CAN tools Next step: Create a tool to replay candump logfiles.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
CFLAGS = -O2 -Wall -Wno-parentheses -I../kernel/2.6/include \
|
||||
-fno-strict-aliasing
|
||||
|
||||
PROGRAMS = candump can-sniffer cansend
|
||||
PROGRAMS = candump can-sniffer cansend cangen log2long log2asc
|
||||
|
||||
all: $(PROGRAMS)
|
||||
|
||||
@@ -51,8 +51,16 @@ clean:
|
||||
rm -f $(PROGRAMS) *.o
|
||||
|
||||
distclean:
|
||||
rm -f $(PROGRAMS) *~
|
||||
rm -f $(PROGRAMS) *.o *~
|
||||
|
||||
cansend.o: lib.h
|
||||
cansend.o: lib.h
|
||||
cangen.o: lib.h
|
||||
candump.o: lib.h
|
||||
log2long.o: lib.h
|
||||
log2asc.o: lib.h
|
||||
|
||||
cansend: cansend.o lib.o
|
||||
cansend: cansend.o lib.o
|
||||
cangen: cangen.o lib.o
|
||||
candump: candump.o lib.o
|
||||
log2long: log2long.o lib.o
|
||||
log2asc: log2asc.o lib.o
|
||||
|
||||
Reference in New Issue
Block a user