bfe55750f5
GDI4: base CAN ID offset for second unit |
||
---|---|---|
.github/workflows | ||
.vscode | ||
board_id | ||
can | ||
ext | ||
mock | ||
pt2001 | ||
sent | ||
stm32-util | ||
util | ||
.gitignore | ||
.gitmodules | ||
Makefile | ||
README.md | ||
gmock-all.cpp | ||
gtest-all.cpp | ||
gtest_main.cpp | ||
rules.mk |
README.md
Modules:
util
: General purpose math functions, interpolation, array handling, etc.
Including modules in your project:
Set variable $(RUSEFI_LIB)
to the path to the folder that contains this readme.
Include the mk files of the modules that you want, then add:
$(RUSEFI_LIB_INC)
to your list of includes$(RUSEFI_LIB_CPP)
to your list of c++ input files
Currently, C++17 is required to compile these libraries.
Unit tests:
Simply run make && build/libfirmware_test
from the root directory. Just requires normal GCC or clang, on Mac/Linux/WSL/probably mingw32.