3 Commits
Author SHA1 Message Date
kenliandGitHub 6dd83b755e Merge 97e5e0ddc2 into 287469245c 2025-04-23 10:44:22 +02:00
Marc Kleine-Budde 97e5e0ddc2 CMakeLists: add canperformance 2025-04-23 10:38:14 +02:00
Ken Liandkenli 7673496a54 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
2023-09-20 06:54:00 +08:00
3 changed files with 2279 additions and 1 deletions
+1
View File
@@ -53,6 +53,7 @@ set(PROGRAMS_CANLIB
canbusload canbusload
candump candump
cangen cangen
canperformance
canplayer canplayer
cansend cansend
cansequence cansequence
+5 -1
View File
@@ -123,7 +123,8 @@ PROGRAMS := \
log2asc \ log2asc \
log2long \ log2long \
mcp251xfd-dump \ mcp251xfd-dump \
slcanpty slcanpty \
canperformance
ifeq ($(HAVE_FORK),1) ifeq ($(HAVE_FORK),1)
PROGRAMS += \ 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 mcp251xfd-dump: mcp251xfd/mcp251xfd-dev-coredump.o mcp251xfd/mcp251xfd-dump.o mcp251xfd/mcp251xfd-main.o mcp251xfd/mcp251xfd-regmap.o
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
canperformance: canperformance.o
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
+2273
View File
File diff suppressed because it is too large Load Diff