rusefi/firmware
GitHub gen-configs Action fa9c41c9ca Auto-generated configs and docs 2024-02-16 20:25:25 +00:00
..
ChibiOS@46c476ffeb ChibiOS: update 2024-02-12 09:49:05 -05:00
ChibiOS-Contrib@63b50e410c
bin import board-specific meta-info 2024-02-16 00:48:57 -04:00
bootloader import board-specific meta-info 2024-02-16 00:48:57 -04:00
config Auto-generated configs and docs 2024-02-16 20:25:25 +00:00
console Lua refresh rate transparency/logic etc #5939 2024-02-15 13:06:48 -05:00
controllers Auto-generated configs and docs 2024-02-16 20:25:25 +00:00
development Lua refresh rate transparency/logic etc #5939 2024-02-15 12:50:10 -05:00
docs
ext todo: proper build of build-libopenblt #5866 2024-01-05 20:23:57 -05:00
ext_algo
hw_layer replace SHORT_BOARDNAME with SHORT_BOARD_NAME 2024-02-12 20:08:57 -05:00
init only:Slip ratio using #5897 2024-02-02 09:48:51 -05:00
integration only:docs & typo 2024-02-16 15:21:33 -05:00
libfirmware@7bcee1b813 EPIC: we need to test fresh boards HW QC #5511 2024-01-06 17:24:39 -05:00
pch custom FW repos code generation process #5817 2023-12-19 16:47:58 -05:00
tunerstudio Auto-generated configs and docs 2024-02-16 20:25:25 +00:00
util front to rear axle speed slip rate gauge #5842 2023-12-31 11:34:35 -05:00
.cproject
.gitattributes
.gitignore
.project
CHANGELOG.md https://rusefi.com/forum/viewtopic.php?f=17&t=2712 fix 2024-02-14 17:17:04 -05:00
Doxyfile
DoxygenLayout.xml
Makefile Set build env variables, don't pass to Make 2024-02-15 22:55:52 -04:00
build-notes.txt
clean.bat
clean.sh
clean_build.bat
common.mk
compile.bat
compile_and_program.bat
configuration_check.cpp Checks: emit annoing pragma messages only once per build 2024-01-05 08:00:27 -05:00
cov_config.bat
cov_run.bat
coverity.yml
dump.bat
dump_release.bat
egt2can.cpp
exception.txt
flash.bat
flash_bin.bat
flash_can.sh
flash_dfu.bat
flash_dfu.sh
flash_dfu_bin.bat
flash_dfu_erase.sh
flash_dfu_openblt_only.sh
flash_erase407.bat
flash_erase407.sh
flash_erase767.bat
flash_erase_dfu.bat
flash_openocd407.bat
flash_openocd407.sh
flash_openocd767.bat
flash_openocd_h7.bat
flash_reboot_dfu.bat
flash_release.bat
flash_usb.sh
gcc_version_check.c
gen_config.bat
gen_config.sh sort out prometheus variants 2024-02-15 09:48:36 -04:00
gen_config_board.bat
gen_config_board.sh replace SHORT_BOARDNAME with SHORT_BOARD_NAME 2024-02-12 20:08:57 -05:00
gen_config_common.sh replace SHORT_BOARDNAME with SHORT_BOARD_NAME 2024-02-12 20:08:57 -05:00
gen_config_default.sh
gen_default_everything.sh
gen_enum_to_string.bat
gen_enum_to_string.sh generate java enums from can_common.h 2023-10-01 17:34:13 -04:00
gen_live_documentation.bat
gen_live_documentation.sh
gen_perf_trace_enum.sh Lua refresh rate transparency/logic etc #5939 2024-02-15 12:50:10 -05:00
gen_ptrace_enums.bat
gen_signature.sh replace SHORT_BOARDNAME with SHORT_BOARD_NAME 2024-02-12 20:08:57 -05:00
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
generate_memory_usage_report.sh
get_performance_trace.bat
global.h IAR does not exist for us 2023-08-30 22:41:47 -04:00
kill_for_coverity.c
license.txt
main.cpp
make4.bat
provide_gcc.sh
readme.md
reboot_dfu.sh
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp missing jump to openblt command 2024-01-02 21:38:13 -05:00
rusefi.h
rusefi.mk pull any variable from meta-info 2024-02-15 20:24:38 -04:00
rusefi_pch.mk
rusefi_rules.mk overloaded virtual fix #5766 2023-12-02 19:33:28 -05:00
send_command.bat
setup_linux_environment.sh only:ensure submodules get cloned 2024-01-07 16:01:09 -05:00
svnversion.h Update date 2023-09-04 21:23:19 -04:00
update_version.bat
update_version.sh

readme.md

Doxygen <<< landing page has best implementation introduction.

Q&A on source code

See also ../unit_tests

This directory contains the source code for the RusEFI firmware.

The ideal is that typical end users should be able to use pre-built firmware. They should not need to modify or even rebuild from the source code for basic use, but building from the source code provides the opportunity for optimization, supporting unexpected engine configurations, and specialized enhancements.

TL;DR

make PROJECT_BOARD=microrusefi PROJECT_CPU=ARCH_STM32F4

Environment

Rebuilding from source code requires this firmware, a modern C/C++ compiler for embedded ARM systems, and a platform that supports 'make' based builds.

See setup_linux_environment.sh

While many compilers have the potential to work, we suggest using the official ARM version of GCC available at launchpad.net.

Linux and MacOS systems should have the software development tools, primarily 'make', pre-installed or readily installed. MS-Windows requires selecting and installing a Unix-compatible system environment.

Note that the developers are volunteers, with varied motivations. These motivations often include using leading-edge language and build system concepts, requiring recent versions of tools. Should you encounter build problems, review the latest version of this document.