rusefi/firmware
GitHub set-date Action cbad752aae Update date 2023-07-05 00:35:03 +00:00
..
ChibiOS@51d27826a3 fresh 2023-06-15 17:13:27 -04:00
ChibiOS-Contrib@63b50e410c
bootloader
config Auto-generated configs and docs 2023-07-04 03:19:44 +00:00
console Auto-generated configs and docs 2023-07-03 17:41:15 +00:00
controllers Update date 2023-07-05 00:35:03 +00:00
development
docs
ext
ext_algo
hw_layer only:helping cygwin 2023-07-04 01:08:55 -04:00
init semi-secret brz/frs pedal mode 2023-06-11 20:30:44 -04:00
integration only:proteus_f7 2023-07-03 17:46:59 -04:00
libfirmware@163cee4279
pch
tunerstudio Auto-generated configs and docs 2023-07-04 03:19:44 +00:00
util sprinkle in some constexpr 2023-07-02 23:27:32 -04:00
.cproject
.gitattributes
.gitignore
.project
CHANGELOG.md java: support compilation by both 8 and 11 fix #1526 2023-07-02 21:03:24 -04:00
Doxyfile
DoxygenLayout.xml
Makefile
build-notes.txt
check.c
clean.bat
clean.sh
clean_build.bat
clean_compile_two_versions.bat
clean_compile_two_versions.sh
common.mk just empty jars 2023-06-18 00:49:20 -04:00
compile.bat
compile_and_program.bat
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 only:DFU needs sudo right? 2023-07-04 01:05:06 -04:00
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 Openblt usb on Proteus with OSC detecor (#5382) 2023-07-03 08:22:18 -04:00
gen_config.bat
gen_config.sh only:we do not have default bundle for a while now 2023-07-03 23:55:52 -04:00
gen_config_board.bat
gen_config_board.sh only:Split ConfigGenerator around trigger_defines.txt #5051 2023-06-17 22:50:55 -04:00
gen_config_common.sh only:CI to use tools from source code, also time to not have jar files in repo in the first place? 2023-06-17 16:13:02 -04:00
gen_config_default.sh only:CI to use tools from source code, also time to not have jar files in repo in the first place? 2023-06-17 15:23:49 -04:00
gen_default_everything.sh only:simplifying scripts: gen_enum_to_string.sh is invoked only by gen_live_documentation.sh 2023-07-03 23:33:30 -04:00
gen_enum_to_string.bat
gen_enum_to_string.sh only:CI to use tools from source code, also time to not have jar files in repo in the first place? 2023-06-17 17:14:11 -04:00
gen_live_documentation.bat
gen_live_documentation.sh only:simplifying scripts: gen_enum_to_string.sh is invoked only by gen_live_documentation.sh 2023-07-03 23:33:30 -04:00
gen_ptrace_enums.bat
gen_signature.sh only:CI to use tools from source code, also time to not have jar files in repo in the first place? 2023-06-17 16:13:02 -04:00
gen_trigger_images.bat
generate_docs.bat
generate_memory_usage_report.bat
generate_memory_usage_report.sh
get_performance_trace.bat
global.h only:better method name 2023-06-25 02:08:53 -04:00
kill_for_coverity.c
license.txt
main.cpp
main_hardfault.c
main_hardfault_asm.S
make4.bat
provide_gcc.sh echo 2023-06-08 17:54:09 -04:00
readme.md
reboot_dfu.sh only:DFU script to build console 2023-07-04 00:41:27 -04:00
reboot_ecu.bat
run_hw_test.bat
rusefi.cpp
rusefi.h
rusefi.mk
rusefi_pch.mk only: Cleaning-BLT into 'make clean' 2023-06-04 19:25:49 -04:00
rusefi_rules.mk
send_command.bat
setup_linux_environment.sh
svnversion.h
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.