mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-21 18:53:53 +08:00
* inital infrastructure for panda safety testing * add test for toyota acceleration * test for non real time torque rate limits and refactoring * add test for cruise disable * fix toyota limit down * add tests for realtime limits * test for torque measurements * fix toyota test setup * honda button logic * test for brake logic * tests for gas logic * test steer, gas and brake message contents * add test script * fix hardcoded limits
19 lines
294 B
Makefile
19 lines
294 B
Makefile
CC = clang
|
|
CCFLAGS = -O3 -fPIC -I.
|
|
|
|
.PHONY: all
|
|
all: libpandasafety.so
|
|
|
|
libpandasafety.so: test.o
|
|
$(CC) -shared -o '$@' $^ -lm
|
|
|
|
test.o: test.c
|
|
@echo "[ CC ] $@"
|
|
$(CC) $(CCFLAGS) -MMD -c -I../../board -o '$@' '$<'
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f libpandasafety.so test.o test.d
|
|
|
|
-include test.d
|