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 files
pull/594/head
Ken Li 2023-09-20 06:51:12 +08:00 committed by kenli
parent 287469245c
commit 7673496a54
2 changed files with 2278 additions and 1 deletions

View File

@ -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 $@

2273
canperformance.c 100644

File diff suppressed because it is too large Load Diff