Add canperformance.c and modify Makefile for CAN performance testing.
### What's Done 1. Added a new file named canperformance.c to the project. 2. Modified the Makefile to support the compilation of canperformance.c. ### Core Idea The addition of canperformance.c aims to meet CAN performance testing needs, compensating for cangen's deficiencies. ### Key Features - Support for standard and extended frames - Support for file sending and receiving - Real - time frame rate display - MD5 verification for CAN ID, Data, or filespull/594/head
parent
287469245c
commit
7673496a54
6
Makefile
6
Makefile
|
|
@ -123,7 +123,8 @@ PROGRAMS := \
|
|||
log2asc \
|
||||
log2long \
|
||||
mcp251xfd-dump \
|
||||
slcanpty
|
||||
slcanpty \
|
||||
canperformance
|
||||
|
||||
ifeq ($(HAVE_FORK),1)
|
||||
PROGRAMS += \
|
||||
|
|
@ -228,3 +229,6 @@ can-calc-bit-timing: calc-bit-timing/can-calc-bit-timing.o
|
|||
|
||||
mcp251xfd-dump: mcp251xfd/mcp251xfd-dev-coredump.o mcp251xfd/mcp251xfd-dump.o mcp251xfd/mcp251xfd-main.o mcp251xfd/mcp251xfd-regmap.o
|
||||
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
|
||||
|
||||
canperformance: canperformance.o
|
||||
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue