Go to file
kifir a5a923f8b2 add missed #pragma once to header 2024-05-02 22:49:39 +03:00
.github/workflows Windows unit tests CI fix #1 2023-10-12 20:07:15 -04:00
.vscode tests 2022-07-20 15:12:39 -07:00
board_id STATIC_BOARD_ID_PROTEUS_M73 2024-05-01 23:01:51 -04:00
can AUX_DIGITAL_COUNTERS 2024-01-06 17:07:04 -05:00
ext submodule was broken 2022-07-20 15:18:50 -07:00
mock Revert "move US_TO_NT_MULTIPLIER macro definition in Makefile" 2024-05-02 22:47:14 +03:00
pt2001 explicit GDI not Restarting until we see VBatt 2023-12-12 21:12:45 -05:00
stm32-util weird magic from a while ago 2023-05-15 16:27:57 -04:00
util add missed #pragma once to header 2024-05-02 22:49:39 +03:00
.gitignore progress 2023-10-23 13:11:00 -04:00
.gitmodules tests 2022-07-20 15:12:39 -07:00
Makefile Revert "move US_TO_NT_MULTIPLIER macro definition in Makefile" 2024-05-02 22:47:14 +03:00
README.md readme 2022-07-20 15:30:53 -07:00
gmock-all.cpp spelling 2023-06-15 14:54:12 -04:00
gtest-all.cpp spelling 2023-06-15 14:54:12 -04:00
gtest_main.cpp tests 2022-07-20 15:12:39 -07:00
rules.mk reverting https://github.com/rusefi/libfirmware/pull/13 2024-01-30 10:26:55 -05:00

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.